GRASS Programmer's Manual
6.4.4(2014)-r
|
GRASS start-up screen. More...
Public Member Functions | |
def | __init__ |
def | GetRCValue (self, value) |
Return GRASS variable (read from GISRC) More... | |
def | OnWizard (self, event) |
Location wizard started. More... | |
def | SetDefaultRegion (self, location) |
Asks to set default region. More... | |
def | ImportFile (self, filePath) |
Tries to import file as vector or raster. More... | |
def | OnManageLoc (self, event) |
Location management choice control handler. More... | |
def | RenameMapset (self) |
Rename selected mapset. More... | |
def | RenameLocation (self) |
Rename selected location. More... | |
def | DeleteMapset (self) |
Delete selected mapset. More... | |
def | DeleteLocation (self) |
def | UpdateLocations (self, dbase) |
Update list of locations. More... | |
def | UpdateMapsets (self, location) |
Update list of mapsets. More... | |
def | OnSelectLocation (self, event) |
Location selected. More... | |
def | OnSelectMapset (self, event) |
Mapset selected. More... | |
def | OnSetDatabase (self, event) |
Database set. More... | |
def | OnBrowse (self, event) |
def | OnCreateMapset (self, event) |
Create new mapset. More... | |
def | CreateNewMapset (self, mapset) |
def | OnStart (self, event) |
def | SetLocation (self, dbase, location, mapset) |
def | ExitSuccessfully (self) |
def | OnExit (self, event) |
def | OnHelp (self, event) |
def | OnCloseWindow (self, event) |
Close window event. More... | |
Data Fields | |
gisbase | |
grassrc | |
gisdbase | |
listOfLocations | |
listOfMapsets | |
listOfMapsetsSelectable | |
locale | |
panel | |
hbitmap | |
select_box | |
crashes when LOCATION doesn't exist More... | |
manage_box | |
lwelcome | |
ltitle | |
ldbase | |
llocation | |
lmapset | |
lcreate | |
ldefine | |
lmanageloc | |
bstart | |
bexit | |
bhelp | |
bbrowse | |
bmapset | |
bwizard | |
manageloc | |
tgisdbase | |
lblocations | |
lbmapsets | |
FormerMapsetSelection | |
GRASS start-up screen.
Definition at line 53 of file gis_set.py.
def gis_set.GRASSStartup.__init__ | ( | self, | |
parent = None , |
|||
id = wx.ID_ANY , |
|||
style = wx.DEFAULT_FRAME_STYLE |
|||
) |
Definition at line 55 of file gis_set.py.
def gis_set.GRASSStartup.CreateNewMapset | ( | self, | |
mapset | |||
) |
Definition at line 806 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gis_set.GRASSStartup.OnSelectLocation().
Referenced by gis_set.GRASSStartup.OnCreateMapset(), and gis_set.GRASSStartup.OnWizard().
def gis_set.GRASSStartup.DeleteLocation | ( | self | ) |
Delete selected location
Definition at line 623 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.OnSelectLocation(), and gis_set.GRASSStartup.UpdateLocations().
Referenced by gis_set.GRASSStartup.OnManageLoc().
def gis_set.GRASSStartup.DeleteMapset | ( | self | ) |
Delete selected mapset.
Definition at line 594 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gis_set.GRASSStartup.OnSelectLocation().
Referenced by gis_set.GRASSStartup.OnManageLoc().
def gis_set.GRASSStartup.ExitSuccessfully | ( | self | ) |
Definition at line 896 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnStart().
def gis_set.GRASSStartup.GetRCValue | ( | self, | |
value | |||
) |
Return GRASS variable (read from GISRC)
Definition at line 391 of file gis_set.py.
References gis_set.GRASSStartup.grassrc.
def gis_set.GRASSStartup.ImportFile | ( | self, | |
filePath | |||
) |
Tries to import file as vector or raster.
If successfull sets default region from imported map.
Definition at line 456 of file gis_set.py.
References gcmd.RunCommand().
Referenced by gis_set.GRASSStartup.OnWizard().
def gis_set.GRASSStartup.OnBrowse | ( | self, | |
event | |||
) |
'Browse' button clicked
Definition at line 774 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, and gis_set.GRASSStartup.OnSetDatabase().
def gis_set.GRASSStartup.OnCloseWindow | ( | self, | |
event | |||
) |
Close window event.
Definition at line 912 of file gis_set.py.
Referenced by ghelp.AboutWindow.__init__().
def gis_set.GRASSStartup.OnCreateMapset | ( | self, | |
event | |||
) |
Create new mapset.
Definition at line 791 of file gis_set.py.
References gis_set.GRASSStartup._getDefaultMapsetName(), gis_set.GRASSStartup._nameValidationFailed(), and gis_set.GRASSStartup.CreateNewMapset().
def gis_set.GRASSStartup.OnExit | ( | self, | |
event | |||
) |
'Exit' button clicked
Definition at line 900 of file gis_set.py.
def gis_set.GRASSStartup.OnHelp | ( | self, | |
event | |||
) |
'Help' button clicked
Definition at line 905 of file gis_set.py.
References gis_set.GRASSStartup.gisbase.
Referenced by forms.TaskFrame.OnKeyUp(), and gis_set.GRASSStartup.OnWizard().
def gis_set.GRASSStartup.OnManageLoc | ( | self, | |
event | |||
) |
Location management choice control handler.
Definition at line 500 of file gis_set.py.
References gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.RenameLocation(), and gis_set.GRASSStartup.RenameMapset().
def gis_set.GRASSStartup.OnSelectLocation | ( | self, | |
event | |||
) |
Location selected.
Definition at line 714 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, gis_set.GRASSStartup.listOfMapsetsSelectable, and gis_set.GRASSStartup.UpdateMapsets().
Referenced by gis_set.GRASSStartup.CreateNewMapset(), gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnSetDatabase(), and gis_set.GRASSStartup.RenameMapset().
def gis_set.GRASSStartup.OnSelectMapset | ( | self, | |
event | |||
) |
Mapset selected.
Definition at line 756 of file gis_set.py.
References gis_set.GRASSStartup.FormerMapsetSelection, and gis_set.GRASSStartup.listOfMapsetsSelectable.
def gis_set.GRASSStartup.OnSetDatabase | ( | self, | |
event | |||
) |
Database set.
Definition at line 766 of file gis_set.py.
References gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.OnSelectLocation(), and gis_set.GRASSStartup.UpdateLocations().
Referenced by gis_set.GRASSStartup.OnBrowse(), and gis_set.GRASSStartup.OnWizard().
def gis_set.GRASSStartup.OnStart | ( | self, | |
event | |||
) |
'Start GRASS' button clicked
Definition at line 830 of file gis_set.py.
References gis_set.GRASSStartup.ExitSuccessfully(), gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gis_set.GRASSStartup.SetLocation().
def gis_set.GRASSStartup.OnWizard | ( | self, | |
event | |||
) |
Location wizard started.
Definition at line 399 of file gis_set.py.
References gis_set.GRASSStartup._getDefaultMapsetName(), gis_set.GRASSStartup._nameValidationFailed(), gis_set.GRASSStartup.CreateNewMapset(), gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.ImportFile(), gis_set.GRASSStartup.OnHelp(), manager.GCP.OnHelp(), gis_set.GRASSStartup.OnSetDatabase(), gis_set.GRASSStartup.SetDefaultRegion(), gis_set.GRASSStartup.SetLocation(), and gis_set.GRASSStartup.UpdateMapsets().
def gis_set.GRASSStartup.RenameLocation | ( | self | ) |
Rename selected location.
Definition at line 557 of file gis_set.py.
References gis_set.GRASSStartup._nameValidationFailed(), gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.UpdateLocations(), and gis_set.GRASSStartup.UpdateMapsets().
Referenced by gis_set.GRASSStartup.OnManageLoc().
def gis_set.GRASSStartup.RenameMapset | ( | self | ) |
Rename selected mapset.
Definition at line 515 of file gis_set.py.
References gis_set.GRASSStartup._nameValidationFailed(), gis_set.GRASSStartup.gisdbase, gis_set.GRASSStartup.listOfLocations, gis_set.GRASSStartup.listOfMapsets, and gis_set.GRASSStartup.OnSelectLocation().
Referenced by gis_set.GRASSStartup.OnManageLoc().
def gis_set.GRASSStartup.SetDefaultRegion | ( | self, | |
location | |||
) |
Asks to set default region.
Definition at line 439 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnWizard().
def gis_set.GRASSStartup.SetLocation | ( | self, | |
dbase, | |||
location, | |||
mapset | |||
) |
Definition at line 877 of file gis_set.py.
References gcmd.RunCommand().
Referenced by gis_set.GRASSStartup.OnStart(), and gis_set.GRASSStartup.OnWizard().
def gis_set.GRASSStartup.UpdateLocations | ( | self, | |
dbase | |||
) |
Update list of locations.
Definition at line 649 of file gis_set.py.
References utils.GetListOfLocations(), and gis_set.GRASSStartup.listOfLocations.
Referenced by gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.OnSetDatabase(), and gis_set.GRASSStartup.RenameLocation().
def gis_set.GRASSStartup.UpdateMapsets | ( | self, | |
location | |||
) |
Update list of mapsets.
Definition at line 669 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnWizard(), and gis_set.GRASSStartup.RenameLocation().
gis_set.GRASSStartup.bbrowse |
Definition at line 137 of file gis_set.py.
gis_set.GRASSStartup.bexit |
Definition at line 134 of file gis_set.py.
gis_set.GRASSStartup.bhelp |
Definition at line 136 of file gis_set.py.
gis_set.GRASSStartup.bmapset |
Definition at line 139 of file gis_set.py.
gis_set.GRASSStartup.bstart |
Definition at line 131 of file gis_set.py.
gis_set.GRASSStartup.bwizard |
Definition at line 141 of file gis_set.py.
gis_set.GRASSStartup.FormerMapsetSelection |
Definition at line 671 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectMapset().
gis_set.GRASSStartup.gisbase |
Definition at line 60 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnHelp().
gis_set.GRASSStartup.gisdbase |
Definition at line 62 of file gis_set.py.
Referenced by gis_set.GRASSStartup.CreateNewMapset(), gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnBrowse(), gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnSetDatabase(), gis_set.GRASSStartup.OnWizard(), gis_set.GRASSStartup.RenameLocation(), gis_set.GRASSStartup.RenameMapset(), gselect.LocationSelect.UpdateItems(), and gselect.MapsetSelect.UpdateItems().
gis_set.GRASSStartup.grassrc |
Definition at line 61 of file gis_set.py.
Referenced by gis_set.GRASSStartup.GetRCValue().
gis_set.GRASSStartup.hbitmap |
Definition at line 87 of file gis_set.py.
gis_set.GRASSStartup.lblocations |
Definition at line 156 of file gis_set.py.
gis_set.GRASSStartup.lbmapsets |
Definition at line 164 of file gis_set.py.
gis_set.GRASSStartup.lcreate |
Definition at line 120 of file gis_set.py.
gis_set.GRASSStartup.ldbase |
Definition at line 112 of file gis_set.py.
gis_set.GRASSStartup.ldefine |
Definition at line 123 of file gis_set.py.
gis_set.GRASSStartup.listOfLocations |
Definition at line 67 of file gis_set.py.
Referenced by gis_set.GRASSStartup.CreateNewMapset(), gis_set.GRASSStartup.DeleteLocation(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnStart(), gis_set.GRASSStartup.RenameLocation(), gis_set.GRASSStartup.RenameMapset(), and gis_set.GRASSStartup.UpdateLocations().
gis_set.GRASSStartup.listOfMapsets |
Definition at line 68 of file gis_set.py.
Referenced by gis_set.GRASSStartup.CreateNewMapset(), gis_set.GRASSStartup.DeleteMapset(), gis_set.GRASSStartup.OnSelectLocation(), gis_set.GRASSStartup.OnStart(), and gis_set.GRASSStartup.RenameMapset().
gis_set.GRASSStartup.listOfMapsetsSelectable |
Definition at line 69 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectLocation(), and gis_set.GRASSStartup.OnSelectMapset().
gis_set.GRASSStartup.llocation |
Definition at line 114 of file gis_set.py.
gis_set.GRASSStartup.lmanageloc |
Definition at line 126 of file gis_set.py.
gis_set.GRASSStartup.lmapset |
Definition at line 117 of file gis_set.py.
gis_set.GRASSStartup.locale |
Definition at line 73 of file gis_set.py.
gis_set.GRASSStartup.ltitle |
Definition at line 108 of file gis_set.py.
gis_set.GRASSStartup.lwelcome |
Definition at line 104 of file gis_set.py.
gis_set.GRASSStartup.manage_box |
Definition at line 102 of file gis_set.py.
gis_set.GRASSStartup.manageloc |
Definition at line 146 of file gis_set.py.
gis_set.GRASSStartup.panel |
Definition at line 75 of file gis_set.py.
Referenced by prompt.GPromptPopUp.__init__(), prompt.GPromptSTC.__init__(), dialogs.ImportDialog.doLayout(), dialogs.ModelSearchDialog.GetPanel(), prompt.GPrompt.GetPanel(), and dialogs.NewVectorDialog.OnTable().
gis_set.GRASSStartup.select_box |
crashes when LOCATION doesn't exist
Definition at line 99 of file gis_set.py.
gis_set.GRASSStartup.tgisdbase |
Definition at line 152 of file gis_set.py.