GRASS Programmer's Manual
6.4.2(2012)
|
Go to the source code of this file.
Namespaces | |
namespace | gui_modules.utils |
namespace | utils.py |
Misc utilities for wxGUI. |
Functions | |
def | gui_modules.utils.normalize_whitespace |
Remove redundant whitespace from a string. | |
def | gui_modules.utils.split |
Platform spefic shlex.split. | |
def | gui_modules.utils.GetTempfile |
Creates GRASS temporary file using defined prefix. | |
def | gui_modules.utils.GetLayerNameFromCmd |
Get map name from GRASS command. | |
def | gui_modules.utils.GetValidLayerName |
Make layer name SQL compliant, based on G_str_to_sql() | |
def | gui_modules.utils.ListOfCatsToRange |
Convert list of category number to range(s) | |
def | gui_modules.utils.ListOfMapsets |
Get list of available/accessible mapsets. | |
def | gui_modules.utils.ListSortLower |
Sort list items (not case-sensitive) | |
def | gui_modules.utils.GetVectorNumberOfLayers |
Get list of vector layers. | |
def | gui_modules.utils.Deg2DMS |
Convert deg value to dms string. | |
def | gui_modules.utils.DMS2Deg |
Convert dms value to deg. | |
def | gui_modules.utils.GetCmdString |
def | gui_modules.utils.CmdToTuple |
Convert command list to tuple for gcmd.RunCommand() | |
def | gui_modules.utils.PathJoin |
Check path created by os.path.join. | |
def | gui_modules.utils.ReadEpsgCodes |
Read EPSG code from the file. | |
def | gui_modules.utils.ReprojectCoordinates |
Reproject coordinates. | |
def | gui_modules.utils.GetListOfLocations |
Get list of GRASS locations in given dbase. | |
def | gui_modules.utils.GetListOfMapsets |
Get list of mapsets in given GRASS location. | |
def | gui_modules.utils.GetColorTables |
Get list of color tables. | |
def | gui_modules.utils.DecodeString |
Decode string using system encoding. | |
def | gui_modules.utils.EncodeString |
Return encoded string using system locales. | |
def | gui_modules.utils.UnicodeString |
Return unicode string. | |
def | gui_modules.utils.GetFormats |
Get GDAL/OGR formats. | |
def | gui_modules.utils.GetSettingsPath |
Get full path to the settings directory. |
Variables | |
gui_modules.utils.formats = None |