GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Layer Manager frame with notebook widget for controlling GRASS GIS. More...
Public Member Functions | |
def | __init__ |
def | IsPaneShown |
Check if pane (toolbar, ...) of given name is currently shown. More... | |
def | AddNvizTools |
Add nviz notebook page. More... | |
def | RemoveNvizTools |
Remove nviz notebook page. More... | |
def | WorkspaceChanged |
Update window title. More... | |
def | OnLocationWizard |
Launch location wizard. More... | |
def | OnSettingsChanged |
Here can be functions which have to be called after EVT_SETTINGS_CHANGED. More... | |
def | OnGCPManager |
Launch georectifier module. More... | |
def | OnGModeler |
Launch Graphical Modeler. More... | |
def | OnPsMap |
Launch Cartographic Composer. More... | |
def | OnDone |
def | OnRunModel |
Run model. More... | |
def | OnMapsets |
Launch mapset access dialog. More... | |
def | OnCBPageChanged |
Page in notebook (display) changed. More... | |
def | OnPageChanged |
Page in notebook changed. More... | |
def | OnCBPageClosed |
Page of notebook closed Also close associated map display. More... | |
def | GetLayerNotebook |
Get Layers Notebook. More... | |
def | GetLayerTree |
Get current layer tree. More... | |
def | GetMapDisplay |
Get current map display. More... | |
def | GetLogWindow |
Get widget for command output. More... | |
def | GetMenuCmd |
Get GRASS command from menu item. More... | |
def | RunMenuCmd |
Run command selected from menu. More... | |
def | OnMenuCmd |
Parse command selected from menu. More... | |
def | OnVDigit |
Start vector digitizer. More... | |
def | OnRunScript |
Run script. More... | |
def | OnChangeLocation |
def | OnCreateMapset |
Create new mapset. More... | |
def | OnChangeMapset |
def | OnNewVector |
Create new vector map layer. More... | |
def | OnSystemInfo |
Print system information. More... | |
def | OnAboutGRASS |
Display 'About GRASS' dialog. More... | |
def | OnImportMenu |
Import maps menu (import, link) More... | |
def | OnWorkspaceNew |
Create new workspace file. More... | |
def | OnWorkspaceOpen |
Open file with workspace definition. More... | |
def | LoadWorkspaceFile |
Load layer tree definition stored in GRASS Workspace XML file (gxw) More... | |
def | OnWorkspaceLoadGrcFile |
Load map layers from GRC file (Tcl/Tk GUI) into map layer tree. More... | |
def | OnWorkspaceSaveAs |
Save workspace definition to selected file. More... | |
def | OnWorkspaceSave |
Save file with workspace definition. More... | |
def | SaveToWorkspaceFile |
Save layer tree layout to workspace file. More... | |
def | OnWorkspaceClose |
Close file with workspace definition. More... | |
def | OnDisplayClose |
Close current map display window. More... | |
def | OnDisplayCloseAll |
Close all open map display windows. More... | |
def | OnRenameDisplay |
Change Map Display name. More... | |
def | OnRasterRules |
Launches dialog for raster color rules. More... | |
def | OnVectorRules |
Launches dialog for vector color rules. More... | |
def | OnXTermNoXMon |
Run commands that need xterm. More... | |
def | OnXTerm |
Run commands that need interactive xmon. More... | |
def | OnEditImageryGroups |
Show dialog for creating and editing groups. More... | |
def | OnInstallExtension |
Install extension from GRASS Addons SVN repository. More... | |
def | OnUninstallExtension |
Uninstall extension. More... | |
def | OnPreferences |
General GUI preferences/settings. More... | |
def | OnHelp |
Show help. More... | |
def | OnHistogram |
Init histogram display canvas and tools. More... | |
def | OnProfile |
Launch profile tool. More... | |
def | OnMapCalculator |
Init map calculator for interactive creation of mapcalc statements. More... | |
def | OnVectorCleaning |
Init interactive vector cleaning. More... | |
def | OnImportDxfFile |
Convert multiple DXF layers to GRASS vector map layers. More... | |
def | OnImportGdalLayers |
Convert multiple GDAL layers to GRASS raster map layers. More... | |
def | OnLinkGdalLayers |
Link multiple GDAL layers to GRASS raster map layers. More... | |
def | OnImportOgrLayers |
Convert multiple OGR layers to GRASS vector map layers. More... | |
def | OnLinkOgrLayers |
Links multiple OGR layers to GRASS vector map layers. More... | |
def | OnImportWMS |
Import data from OGC WMS server. More... | |
def | OnShowAttributeTable |
Show attribute table of the given vector map layer. More... | |
def | OnNewDisplayWMS |
Create new layer tree and map display instance. More... | |
def | OnNewDisplay |
Create new layer tree and map display instance. More... | |
def | NewDisplay |
Create new layer tree, which will create an associated map display frame. More... | |
def | OnAddMaps |
Add selected map layers into layer tree. More... | |
def | OnAddRaster |
Add raster map layer. More... | |
def | OnAddRasterMisc |
Create misc raster popup-menu. More... | |
def | OnAddVector |
Add vector map to the current layer tree. More... | |
def | OnAddVectorMisc |
Create misc vector popup-menu. More... | |
def | OnAddVectorTheme |
Add thematic vector map to the current layer tree. More... | |
def | OnAddVectorChart |
Add chart vector map to the current layer tree. More... | |
def | OnAddOverlay |
Create decoration overlay menu. More... | |
def | OnAddRaster3D |
Add 3D raster map to the current layer tree. More... | |
def | OnAddRasterRGB |
Add RGB raster map to the current layer tree. More... | |
def | OnAddRasterHIS |
Add HIS raster map to the current layer tree. More... | |
def | OnAddRasterShaded |
Add shaded relief raster map to the current layer tree. More... | |
def | OnAddRasterArrow |
Add flow arrows raster map to the current layer tree. More... | |
def | OnAddRasterNum |
Add cell number raster map to the current layer tree. More... | |
def | OnAddCommand |
Add command line map layer to the current layer tree. More... | |
def | OnAddGroup |
Add layer group. More... | |
def | OnAddGrid |
Add grid map layer to the current layer tree. More... | |
def | OnAddGeodesic |
Add geodesic line map layer to the current layer tree. More... | |
def | OnAddRhumb |
Add rhumb map layer to the current layer tree. More... | |
def | OnAddLabels |
Add vector labels map layer to the current layer tree. More... | |
def | OnDeleteLayer |
Remove selected map layer from the current layer Tree. More... | |
def | OnKeyDown |
Key pressed. More... | |
def | OnCloseWindow |
Cleanup when wxGUI is quitted. More... | |
def | MsgNoLayerSelected |
Show dialog message 'No layer selected'. More... | |
def | MsgDisplayResolution |
Returns dialog for d.rast.num, d.rast.arrow when display resolution is not constrained. More... | |
Layer Manager frame with notebook widget for controlling GRASS GIS.
Includes command console page for typing GRASS (and other) commands, tree widget page for managing map layers.
Definition at line 71 of file lmgr/frame.py.
def frame.GMFrame.__init__ | ( | self, | |
parent, | |||
id = wx.ID_ANY , |
|||
title = None , |
|||
workspace = None , |
|||
size = globalvar.GM_WINDOW_SIZE , |
|||
style = wx.DEFAULT_FRAME_STYLE , |
|||
kwargs | |||
) |
Definition at line 78 of file lmgr/frame.py.
def frame.GMFrame.AddNvizTools | ( | self | ) |
Add nviz notebook page.
Definition at line 286 of file lmgr/frame.py.
def frame.GMFrame.GetLayerNotebook | ( | self | ) |
Get Layers Notebook.
Definition at line 504 of file lmgr/frame.py.
References frame.GMFrame.notebookLayers.
def frame.GMFrame.GetLayerTree | ( | self | ) |
Get current layer tree.
Definition at line 508 of file lmgr/frame.py.
References frame.GMFrame.currentPage.
Referenced by frame.GMFrame.GetMapDisplay(), frame.GMFrame.GetMenuCmd(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGeodesic(), frame.GMFrame.OnAddGrid(), frame.GMFrame.OnAddGroup(), frame.GMFrame.OnAddLabels(), frame.GMFrame.OnAddMaps(), frame.GMFrame.OnAddRaster(), frame.GMFrame.OnAddRaster3D(), frame.GMFrame.OnAddRasterArrow(), frame.GMFrame.OnAddRasterHIS(), frame.GMFrame.OnAddRasterNum(), frame.GMFrame.OnAddRasterRGB(), frame.GMFrame.OnAddRasterShaded(), frame.GMFrame.OnAddRhumb(), frame.GMFrame.OnAddVector(), frame.GMFrame.OnAddVectorChart(), frame.GMFrame.OnAddVectorTheme(), frame.GMFrame.OnCBPageClosed(), frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnDeleteLayer(), frame.GMFrame.OnImportWMS(), frame.GMFrame.OnNewVector(), frame.GMFrame.OnRasterRules(), frame.GMFrame.OnShowAttributeTable(), frame.GMFrame.OnVDigit(), frame.GMFrame.OnVectorRules(), and frame.GMFrame.OnWorkspaceNew().
def frame.GMFrame.GetLogWindow | ( | self | ) |
Get widget for command output.
Definition at line 541 of file lmgr/frame.py.
References frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, and forms.CmdPanel.goutput.
def frame.GMFrame.GetMapDisplay | ( | self, | |
onlyCurrent = True |
|||
) |
Get current map display.
onlyCurrent | True to return only active mapdisplay False for list of all mapdisplays |
Definition at line 518 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and tools.range.
Referenced by layertree.LayerTree.ChangeLayerOpacity(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGroup(), frame.GMFrame.OnAddLabels(), frame.GMFrame.OnAddOverlay(), frame.GMFrame.OnAddRasterMisc(), frame.GMFrame.OnAddVectorMisc(), frame.GMFrame.OnCBPageChanged(), frame.GMFrame.OnDisplayClose(), and frame.GMFrame.OnRenameDisplay().
def frame.GMFrame.GetMenuCmd | ( | self, | |
event | |||
) |
Get GRASS command from menu item.
Return command as a list
Definition at line 545 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree(), menu.Menu.menucmd, and frame.GMFrame.menucmd.
Referenced by frame.GMFrame.OnMapCalculator(), frame.GMFrame.OnMenuCmd(), frame.GMFrame.OnXTerm(), and frame.GMFrame.RunMenuCmd().
def frame.GMFrame.IsPaneShown | ( | self, | |
name | |||
) |
Check if pane (toolbar, ...) of given name is currently shown.
Definition at line 240 of file lmgr/frame.py.
References preferences.PreferencesBaseDialog.notebook, dialogs.DisplayAttributesDialog.notebook, frame.ModelFrame.notebook, frame.GMFrame.notebook, manager.AttributeManager.notebook, forms.CmdPanel.notebook, and model.ModelParamDialog.notebook.
Referenced by frame.MapFrame.OnAddText(), frame.MapFrame.OnCloseWindow(), frame.MapFrame.Query(), frame.MapFrame.QueryVector(), and frame.MapFrame.SaveToFile().
def frame.GMFrame.LoadWorkspaceFile | ( | self, | |
filename | |||
) |
Load layer tree definition stored in GRASS Workspace XML file (gxw)
Definition at line 915 of file lmgr/frame.py.
References frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnWorkspaceOpen().
def frame.GMFrame.MsgDisplayResolution | ( | self, | |
limitText = None |
|||
) |
Returns dialog for d.rast.num, d.rast.arrow when display resolution is not constrained.
limitText | adds a note about cell limit |
Definition at line 1867 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAddRasterArrow(), and frame.GMFrame.OnAddRasterNum().
def frame.GMFrame.MsgNoLayerSelected | ( | self | ) |
Show dialog message 'No layer selected'.
Definition at line 1860 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnDeleteLayer(), frame.GMFrame.OnShowAttributeTable(), and frame.GMFrame.OnVDigit().
def frame.GMFrame.NewDisplay | ( | self, | |
name = None , |
|||
show = True |
|||
) |
Create new layer tree, which will create an associated map display frame.
name | name of new map display |
show | show map display window if True |
Definition at line 1474 of file lmgr/frame.py.
References workspace.ProcessWorkspaceFile.displayIndex, and frame.GMFrame.displayIndex.
Referenced by frame.GMFrame.LoadWorkspaceFile(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGroup(), frame.GMFrame.OnAddLabels(), frame.GMFrame.OnAddMaps(), frame.GMFrame.OnAddOverlay(), frame.GMFrame.OnAddRaster(), frame.GMFrame.OnAddRasterMisc(), frame.GMFrame.OnAddVector(), frame.GMFrame.OnAddVectorMisc(), frame.GMFrame.OnNewDisplay(), frame.GMFrame.OnWorkspaceLoadGrcFile(), and frame.GMFrame.OnWorkspaceNew().
def frame.GMFrame.OnAboutGRASS | ( | self, | |
event | |||
) |
Display 'About GRASS' dialog.
Definition at line 818 of file lmgr/frame.py.
References mapdisp.MapFrameBase.iconsize, and frame.GMFrame.iconsize.
def frame.GMFrame.OnAddCommand | ( | self, | |
event | |||
) |
Add command line map layer to the current layer tree.
Definition at line 1690 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), frame.GMFrame.GetMapDisplay(), and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddGeodesic | ( | self, | |
event | |||
) |
Add geodesic line map layer to the current layer tree.
Definition at line 1719 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddGrid | ( | self, | |
event | |||
) |
Add grid map layer to the current layer tree.
Definition at line 1714 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddGroup | ( | self, | |
event | |||
) |
Add layer group.
Definition at line 1702 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), frame.GMFrame.GetMapDisplay(), and frame.GMFrame.NewDisplay().
def frame.GMFrame.OnAddLabels | ( | self, | |
event | |||
) |
Add vector labels map layer to the current layer tree.
Definition at line 1729 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), frame.GMFrame.GetMapDisplay(), and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddMaps | ( | self, | |
event = None |
|||
) |
Add selected map layers into layer tree.
Definition at line 1526 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.NewDisplay().
def frame.GMFrame.OnAddOverlay | ( | self, | |
event | |||
) |
Create decoration overlay menu.
Definition at line 1623 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.currentPage, frame.GMFrame.GetMapDisplay(), frame.GMFrame.NewDisplay(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGeodesic(), frame.GMFrame.OnAddGrid(), frame.GMFrame.OnAddLabels(), and frame.GMFrame.OnAddRhumb().
def frame.GMFrame.OnAddRaster | ( | self, | |
event | |||
) |
Add raster map layer.
Definition at line 1564 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnKeyDown().
def frame.GMFrame.OnAddRaster3D | ( | self, | |
event | |||
) |
Add 3D raster map to the current layer tree.
Definition at line 1639 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterArrow | ( | self, | |
event | |||
) |
Add flow arrows raster map to the current layer tree.
Definition at line 1659 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree(), and frame.GMFrame.MsgDisplayResolution().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterHIS | ( | self, | |
event | |||
) |
Add HIS raster map to the current layer tree.
Definition at line 1649 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterMisc | ( | self, | |
event | |||
) |
Create misc raster popup-menu.
Definition at line 1573 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.currentPage, frame.GMFrame.GetMapDisplay(), frame.GMFrame.NewDisplay(), frame.GMFrame.OnAddRaster3D(), frame.GMFrame.OnAddRasterArrow(), frame.GMFrame.OnAddRasterHIS(), frame.GMFrame.OnAddRasterNum(), frame.GMFrame.OnAddRasterRGB(), and frame.GMFrame.OnAddRasterShaded().
def frame.GMFrame.OnAddRasterNum | ( | self, | |
event | |||
) |
Add cell number raster map to the current layer tree.
Definition at line 1672 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree(), and frame.GMFrame.MsgDisplayResolution().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterRGB | ( | self, | |
event | |||
) |
Add RGB raster map to the current layer tree.
Definition at line 1644 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRasterShaded | ( | self, | |
event | |||
) |
Add shaded relief raster map to the current layer tree.
Definition at line 1654 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddRasterMisc().
def frame.GMFrame.OnAddRhumb | ( | self, | |
event | |||
) |
Add rhumb map layer to the current layer tree.
Definition at line 1724 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddOverlay().
def frame.GMFrame.OnAddVector | ( | self, | |
event | |||
) |
Add vector map to the current layer tree.
Definition at line 1592 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.NewDisplay().
Referenced by frame.GMFrame.OnKeyDown().
def frame.GMFrame.OnAddVectorChart | ( | self, | |
event | |||
) |
Add chart vector map to the current layer tree.
Definition at line 1618 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddVectorMisc().
def frame.GMFrame.OnAddVectorMisc | ( | self, | |
event | |||
) |
Create misc vector popup-menu.
Definition at line 1601 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.currentPage, frame.GMFrame.GetMapDisplay(), frame.GMFrame.NewDisplay(), frame.GMFrame.OnAddVectorChart(), and frame.GMFrame.OnAddVectorTheme().
def frame.GMFrame.OnAddVectorTheme | ( | self, | |
event | |||
) |
Add thematic vector map to the current layer tree.
Definition at line 1613 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
Referenced by frame.GMFrame.OnAddVectorMisc().
def frame.GMFrame.OnCBPageChanged | ( | self, | |
event | |||
) |
Page in notebook (display) changed.
Definition at line 441 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.currentPageNum, and frame.GMFrame.GetMapDisplay().
def frame.GMFrame.OnCBPageClosed | ( | self, | |
event | |||
) |
Page of notebook closed Also close associated map display.
Definition at line 464 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.currentPageNum, frame.GMFrame.GetLayerTree(), frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.SaveToWorkspaceFile(), and frame.GMFrame.workspaceFile.
def frame.GMFrame.OnChangeLocation | ( | self, | |
event | |||
) |
Change current location
Definition at line 692 of file lmgr/frame.py.
References frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), and gcmd.RunCommand().
def frame.GMFrame.OnChangeMapset | ( | self, | |
event | |||
) |
def frame.GMFrame.OnCloseWindow | ( | self, | |
event | |||
) |
Cleanup when wxGUI is quitted.
Definition at line 1807 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), frame.GMFrame.OnDisplayCloseAll(), frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.SaveToWorkspaceFile(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnDisplayClose().
def frame.GMFrame.OnCreateMapset | ( | self, | |
event | |||
) |
def frame.GMFrame.OnDeleteLayer | ( | self, | |
event | |||
) |
Remove selected map layer from the current layer Tree.
Definition at line 1741 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.MsgNoLayerSelected().
def frame.GMFrame.OnDisplayClose | ( | self, | |
event = None |
|||
) |
Close current map display window.
Definition at line 1172 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetMapDisplay(), and frame.GMFrame.OnCloseWindow().
def frame.GMFrame.OnDisplayCloseAll | ( | self, | |
event = None |
|||
) |
Close all open map display windows.
Definition at line 1178 of file lmgr/frame.py.
References tools.range.
Referenced by frame.GMFrame.OnCloseWindow(), and frame.GMFrame.OnWorkspaceClose().
def frame.GMFrame.OnDone | ( | self, | |
cmd, | |||
returncode | |||
) |
Command execution finished
Definition at line 403 of file lmgr/frame.py.
References frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, forms.CmdPanel.goutput, frame.ModelFrame.model, frame.GMFrame.model, model.WriteModelFile.model, and model.WritePythonFile.model.
Referenced by vclean.VectorCleaningFrame.OnCleaningRun(), extensions.InstallExtensionWindow.OnInstall(), and mcalc_builder.MapCalcFrame.OnMCalcRun().
def frame.GMFrame.OnEditImageryGroups | ( | self, | |
event, | |||
cmd = None |
|||
) |
Show dialog for creating and editing groups.
Definition at line 1278 of file lmgr/frame.py.
def frame.GMFrame.OnGCPManager | ( | self, | |
event | |||
) |
Launch georectifier module.
Definition at line 383 of file lmgr/frame.py.
def frame.GMFrame.OnGModeler | ( | self, | |
event | |||
) |
Launch Graphical Modeler.
Definition at line 388 of file lmgr/frame.py.
def frame.GMFrame.OnHelp | ( | self, | |
event | |||
) |
Show help.
Definition at line 1309 of file lmgr/frame.py.
def frame.GMFrame.OnHistogram | ( | self, | |
event | |||
) |
Init histogram display canvas and tools.
Definition at line 1314 of file lmgr/frame.py.
def frame.GMFrame.OnImportDxfFile | ( | self, | |
event, | |||
cmd = None |
|||
) |
Convert multiple DXF layers to GRASS vector map layers.
Definition at line 1357 of file lmgr/frame.py.
def frame.GMFrame.OnImportGdalLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Convert multiple GDAL layers to GRASS raster map layers.
Definition at line 1363 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnImportMenu().
def frame.GMFrame.OnImportMenu | ( | self, | |
event | |||
) |
Import maps menu (import, link)
Definition at line 843 of file lmgr/frame.py.
References frame.GMFrame._popupMenu(), frame.GMFrame.OnImportGdalLayers(), and frame.GMFrame.OnImportOgrLayers().
def frame.GMFrame.OnImportOgrLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Convert multiple OGR layers to GRASS vector map layers.
Definition at line 1375 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnImportMenu().
def frame.GMFrame.OnImportWMS | ( | self, | |
event, | |||
cmd = None |
|||
) |
Import data from OGC WMS server.
Definition at line 1387 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
def frame.GMFrame.OnInstallExtension | ( | self, | |
event | |||
) |
Install extension from GRASS Addons SVN repository.
Definition at line 1285 of file lmgr/frame.py.
def frame.GMFrame.OnKeyDown | ( | self, | |
event | |||
) |
Key pressed.
Definition at line 1781 of file lmgr/frame.py.
References frame.GMFrame.OnAddRaster(), and frame.GMFrame.OnAddVector().
def frame.GMFrame.OnLinkGdalLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Link multiple GDAL layers to GRASS raster map layers.
Definition at line 1369 of file lmgr/frame.py.
def frame.GMFrame.OnLinkOgrLayers | ( | self, | |
event, | |||
cmd = None |
|||
) |
Links multiple OGR layers to GRASS vector map layers.
Definition at line 1381 of file lmgr/frame.py.
def frame.GMFrame.OnLocationWizard | ( | self, | |
event | |||
) |
def frame.GMFrame.OnMapCalculator | ( | self, | |
event, | |||
cmd = '' |
|||
) |
Init map calculator for interactive creation of mapcalc statements.
Definition at line 1335 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd().
def frame.GMFrame.OnMapsets | ( | self, | |
event | |||
) |
Launch mapset access dialog.
Definition at line 429 of file lmgr/frame.py.
References gcmd.RunCommand().
def frame.GMFrame.OnMenuCmd | ( | self, | |
event = None , |
|||
cmd = [] |
|||
) |
Parse command selected from menu.
Definition at line 588 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd().
def frame.GMFrame.OnNewDisplay | ( | self, | |
event = None |
|||
) |
Create new layer tree and map display instance.
Definition at line 1470 of file lmgr/frame.py.
References frame.GMFrame.NewDisplay().
def frame.GMFrame.OnNewDisplayWMS | ( | self, | |
event = None |
|||
) |
Create new layer tree and map display instance.
Definition at line 1466 of file lmgr/frame.py.
def frame.GMFrame.OnNewVector | ( | self, | |
event | |||
) |
Create new vector map layer.
Definition at line 757 of file lmgr/frame.py.
References dialogs.CreateNewVector(), frame.GMFrame.GetLayerTree(), frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, and forms.CmdPanel.goutput.
def frame.GMFrame.OnPageChanged | ( | self, | |
event | |||
) |
Page in notebook changed.
Definition at line 453 of file lmgr/frame.py.
def frame.GMFrame.OnPreferences | ( | self, | |
event | |||
) |
General GUI preferences/settings.
Definition at line 1297 of file lmgr/frame.py.
References frame.GMFrame.dialogs, mapdisplay.MapFrame.dialogs, and frame.GMFrame.OnSettingsChanged().
def frame.GMFrame.OnProfile | ( | self, | |
event | |||
) |
Launch profile tool.
Definition at line 1325 of file lmgr/frame.py.
def frame.GMFrame.OnPsMap | ( | self, | |
event | |||
) |
Launch Cartographic Composer.
Definition at line 395 of file lmgr/frame.py.
def frame.GMFrame.OnRasterRules | ( | self, | |
event | |||
) |
Launches dialog for raster color rules.
Definition at line 1203 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
def frame.GMFrame.OnRenameDisplay | ( | self, | |
event | |||
) |
Change Map Display name.
Definition at line 1188 of file lmgr/frame.py.
References frame.GMFrame.currentPageNum, and frame.GMFrame.GetMapDisplay().
def frame.GMFrame.OnRunModel | ( | self, | |
event | |||
) |
Run model.
Definition at line 410 of file lmgr/frame.py.
def frame.GMFrame.OnRunScript | ( | self, | |
event | |||
) |
def frame.GMFrame.OnSettingsChanged | ( | self, | |
event | |||
) |
Here can be functions which have to be called after EVT_SETTINGS_CHANGED.
Now only set copying of selected text to clipboard (in goutput).
Definition at line 376 of file lmgr/frame.py.
References frame.GMFrame._setCopyingOfSelectedText().
Referenced by frame.GMFrame.OnPreferences().
def frame.GMFrame.OnShowAttributeTable | ( | self, | |
event, | |||
selection = None |
|||
) |
Show attribute table of the given vector map layer.
Definition at line 1418 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.dialogs, mapdisplay.MapFrame.dialogs, frame.GMFrame.GetLayerTree(), frame.ModelFrame.goutput, frame.GMFrame.goutput, forms.TaskFrame.goutput, forms.CmdPanel.goutput, and frame.GMFrame.MsgNoLayerSelected().
def frame.GMFrame.OnSystemInfo | ( | self, | |
event | |||
) |
Print system information.
Definition at line 775 of file lmgr/frame.py.
References gcmd.RunCommand().
def frame.GMFrame.OnUninstallExtension | ( | self, | |
event | |||
) |
Uninstall extension.
Definition at line 1291 of file lmgr/frame.py.
def frame.GMFrame.OnVDigit | ( | self, | |
event | |||
) |
Start vector digitizer.
Definition at line 594 of file lmgr/frame.py.
References frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), and frame.GMFrame.MsgNoLayerSelected().
def frame.GMFrame.OnVectorCleaning | ( | self, | |
event, | |||
cmd = '' |
|||
) |
Init interactive vector cleaning.
Definition at line 1349 of file lmgr/frame.py.
def frame.GMFrame.OnVectorRules | ( | self, | |
event | |||
) |
Launches dialog for vector color rules.
Definition at line 1210 of file lmgr/frame.py.
References frame.GMFrame.GetLayerTree().
def frame.GMFrame.OnWorkspaceClose | ( | self, | |
event = None |
|||
) |
Close file with workspace definition.
If workspace has been modified ask user to save the changes.
Definition at line 1158 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.currentPage, workspace.ProcessWorkspaceFile.displayIndex, frame.GMFrame.displayIndex, frame.GMFrame.OnDisplayCloseAll(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnChangeLocation(), and frame.GMFrame.OnWorkspaceOpen().
def frame.GMFrame.OnWorkspaceLoadGrcFile | ( | self, | |
event | |||
) |
Load map layers from GRC file (Tcl/Tk GUI) into map layer tree.
Definition at line 1045 of file lmgr/frame.py.
References frame.GMFrame.currentPage, and frame.GMFrame.NewDisplay().
def frame.GMFrame.OnWorkspaceNew | ( | self, | |
event = None |
|||
) |
Create new workspace file.
Erase current workspace settings first
Definition at line 849 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.currentPage, frame.GMFrame.GetLayerTree(), frame.GMFrame.NewDisplay(), frame.GMFrame.OnWorkspaceSave(), frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnChangeLocation().
def frame.GMFrame.OnWorkspaceOpen | ( | self, | |
event = None |
|||
) |
Open file with workspace definition.
Definition at line 893 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.LoadWorkspaceFile(), frame.GMFrame.OnWorkspaceClose(), and frame.GMFrame.workspaceFile.
def frame.GMFrame.OnWorkspaceSave | ( | self, | |
event = None |
|||
) |
Save file with workspace definition.
Definition at line 1113 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.OnWorkspaceSaveAs(), frame.GMFrame.SaveToWorkspaceFile(), frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnWorkspaceNew().
def frame.GMFrame.OnWorkspaceSaveAs | ( | self, | |
event = None |
|||
) |
Save workspace definition to selected file.
Definition at line 1083 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.SaveToWorkspaceFile(), and frame.GMFrame.workspaceFile.
Referenced by frame.GMFrame.OnCBPageClosed(), frame.ModelFrame.OnCloseWindow(), frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnWorkspaceNew(), and frame.GMFrame.OnWorkspaceSave().
def frame.GMFrame.OnXTerm | ( | self, | |
event, | |||
need_xmon = True |
|||
) |
Run commands that need interactive xmon.
need_xmon | True to start X monitor |
Definition at line 1224 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd(), and gcmd.RunCommand().
Referenced by frame.GMFrame.OnXTermNoXMon().
def frame.GMFrame.OnXTermNoXMon | ( | self, | |
event | |||
) |
Run commands that need xterm.
Definition at line 1218 of file lmgr/frame.py.
References frame.GMFrame.OnXTerm().
def frame.GMFrame.RemoveNvizTools | ( | self | ) |
Remove nviz notebook page.
Definition at line 309 of file lmgr/frame.py.
def frame.GMFrame.RunMenuCmd | ( | self, | |
event = None , |
|||
cmd = [] |
|||
) |
Run command selected from menu.
Definition at line 582 of file lmgr/frame.py.
References frame.GMFrame.GetMenuCmd().
def frame.GMFrame.SaveToWorkspaceFile | ( | self, | |
filename | |||
) |
Save layer tree layout to workspace file.
Return True on success, False on error
Definition at line 1130 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCBPageClosed(), frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnWorkspaceSave(), and frame.GMFrame.OnWorkspaceSaveAs().
def frame.GMFrame.WorkspaceChanged | ( | self | ) |
Update window title.
Definition at line 321 of file lmgr/frame.py.
References frame.ModelFrame.baseTitle, frame.GMFrame.baseTitle, frame.GMFrame.workspaceChanged, and frame.GMFrame.workspaceFile.
frame.GMFrame.baseTitle |
Definition at line 81 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), frame.GMFrame.OnWorkspaceOpen(), frame.GMFrame.OnWorkspaceSave(), frame.GMFrame.OnWorkspaceSaveAs(), and frame.GMFrame.WorkspaceChanged().
frame.GMFrame.currentPage |
Definition at line 97 of file lmgr/frame.py.
Referenced by frame.GMFrame.GetLayerTree(), frame.GMFrame.GetMapDisplay(), frame.GMFrame.OnAddCommand(), frame.GMFrame.OnAddGroup(), frame.GMFrame.OnAddLabels(), frame.GMFrame.OnAddMaps(), frame.GMFrame.OnAddOverlay(), frame.GMFrame.OnAddRaster(), frame.GMFrame.OnAddRasterMisc(), frame.GMFrame.OnAddVector(), frame.GMFrame.OnAddVectorMisc(), frame.GMFrame.OnCBPageChanged(), frame.GMFrame.OnCBPageClosed(), frame.GMFrame.OnCloseWindow(), frame.PsMapFrame.OnCmdDone(), frame.GMFrame.OnDeleteLayer(), frame.GMFrame.OnDisplayClose(), frame.GMFrame.OnShowAttributeTable(), frame.GMFrame.OnVDigit(), frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceLoadGrcFile(), and frame.GMFrame.OnWorkspaceNew().
frame.GMFrame.currentPageNum |
Definition at line 98 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCBPageChanged(), frame.GMFrame.OnCBPageClosed(), and frame.GMFrame.OnRenameDisplay().
frame.GMFrame.dialogs |
Definition at line 105 of file lmgr/frame.py.
Referenced by frame.MapFrame.OnAddBarscale(), frame.MapFrame.OnAddLegend(), frame.MapFrame.OnAddText(), frame.GMFrame.OnPreferences(), frame.GMFrame.OnShowAttributeTable(), and frame.MapFrame.QueryVector().
frame.GMFrame.displayIndex |
Definition at line 96 of file lmgr/frame.py.
Referenced by frame.GMFrame.NewDisplay(), and frame.GMFrame.OnWorkspaceClose().
frame.GMFrame.gcpmanagement |
Definition at line 102 of file lmgr/frame.py.
frame.GMFrame.georectifying |
Definition at line 101 of file lmgr/frame.py.
frame.GMFrame.goutput |
Definition at line 261 of file lmgr/frame.py.
Referenced by frame.GMFrame.GetLogWindow(), frame.GMFrame.OnDone(), frame.GMFrame.OnNewVector(), and frame.GMFrame.OnShowAttributeTable().
frame.GMFrame.iconsize |
Definition at line 84 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnAboutGRASS().
frame.GMFrame.menubar |
Definition at line 220 of file lmgr/frame.py.
frame.GMFrame.menucmd |
Definition at line 222 of file lmgr/frame.py.
Referenced by frame.GMFrame.GetMenuCmd().
frame.GMFrame.model |
Definition at line 423 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnDone().
frame.GMFrame.notebook |
Definition at line 112 of file lmgr/frame.py.
Referenced by frame.GMFrame.IsPaneShown().
frame.GMFrame.notebookLayers |
Definition at line 252 of file lmgr/frame.py.
Referenced by frame.GMFrame.GetLayerNotebook().
frame.GMFrame.nviz |
Definition at line 302 of file lmgr/frame.py.
frame.GMFrame.parent |
Definition at line 79 of file lmgr/frame.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), frame.PsMapBufferedWindow.OnLeftUp(), wxdigit.VDigitError.ReadLine(), colorrules.VectorColorTable.UpdateColorColumn(), and wxdigit.VDigitError.WriteLine().
frame.GMFrame.pg_panel |
Definition at line 1486 of file lmgr/frame.py.
frame.GMFrame.pyshell |
Definition at line 274 of file lmgr/frame.py.
frame.GMFrame.search |
Definition at line 267 of file lmgr/frame.py.
frame.GMFrame.statusbar |
Definition at line 111 of file lmgr/frame.py.
frame.GMFrame.toolbars |
Definition at line 113 of file lmgr/frame.py.
Referenced by frame.MapFrame.AddNviz(), mapdisplay.MapFrame.AddToolbar(), frame.MapFrame.AddToolbar(), mapdisplay.MapFrame.GetMapToolbar(), frame.MapFrame.GetMapToolbar(), frame.MapFrame.GetMapWindow(), frame.MapFrame.OnCloseWindow(), frame.MapFrame.OnFlyThrough(), mapdisplay.MapFrame.OnPan(), mapdisplay.MapFrame.OnPointer(), frame.MapFrame.OnPointer(), frame.MapFrame.OnQuery(), frame.MapFrame.OnRotate(), mapdisplay.MapFrame.OnZoomIn(), mapdisplay.MapFrame.OnZoomOut(), frame.MapFrame.RemoveNviz(), and frame.MapFrame.RemoveToolbar().
frame.GMFrame.workspaceChanged |
Definition at line 100 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCloseWindow(), frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), frame.GMFrame.OnWorkspaceSave(), and frame.GMFrame.WorkspaceChanged().
frame.GMFrame.workspaceFile |
Definition at line 99 of file lmgr/frame.py.
Referenced by frame.GMFrame.OnCBPageClosed(), frame.GMFrame.OnCloseWindow(), wxgui.GMApp.OnInit(), frame.GMFrame.OnWorkspaceClose(), frame.GMFrame.OnWorkspaceNew(), frame.GMFrame.OnWorkspaceOpen(), frame.GMFrame.OnWorkspaceSave(), frame.GMFrame.OnWorkspaceSaveAs(), and frame.GMFrame.WorkspaceChanged().