GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
GRASS start-up screen. More...
Public Member Functions | |
def | __init__ |
def | GetRCValue |
Return GRASS variable (read from GISRC) More... | |
def | OnWizard |
Location wizard started. More... | |
def | SetDefaultRegion |
Asks to set default region. More... | |
def | ImportFile |
Tries to import file as vector or raster. More... | |
def | OnManageLoc |
Location management choice control handler. More... | |
def | RenameMapset |
Rename selected mapset. More... | |
def | RenameLocation |
Rename selected location. More... | |
def | DeleteMapset |
Delete selected mapset. More... | |
def | DeleteLocation |
def | UpdateLocations |
Update list of locations. More... | |
def | UpdateMapsets |
Update list of mapsets. More... | |
def | OnSelectLocation |
Location selected. More... | |
def | OnSelectMapset |
Mapset selected. More... | |
def | OnSetDatabase |
Database set. More... | |
def | OnBrowse |
def | OnCreateMapset |
Create new mapset. More... | |
def | CreateNewMapset |
def | OnStart |
def | SetLocation |
def | ExitSuccessfully |
def | OnExit |
def | OnHelp |
def | OnCloseWindow |
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 55 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 57 of file gis_set.py.
def gis_set.GRASSStartup.CreateNewMapset | ( | self, | |
mapset | |||
) |
Definition at line 810 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 627 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 598 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 900 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 400 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 466 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 778 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 916 of file gis_set.py.
Referenced by ghelp.AboutWindow.__init__().
def gis_set.GRASSStartup.OnCreateMapset | ( | self, | |
event | |||
) |
Create new mapset.
Definition at line 795 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 904 of file gis_set.py.
def gis_set.GRASSStartup.OnHelp | ( | self, | |
event | |||
) |
'Help' button clicked
Definition at line 909 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 504 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 718 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 760 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 770 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 834 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 408 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 561 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 519 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 449 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnWizard().
def gis_set.GRASSStartup.SetLocation | ( | self, | |
dbase, | |||
location, | |||
mapset | |||
) |
Definition at line 881 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 653 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 673 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 139 of file gis_set.py.
gis_set.GRASSStartup.bexit |
Definition at line 136 of file gis_set.py.
gis_set.GRASSStartup.bhelp |
Definition at line 138 of file gis_set.py.
gis_set.GRASSStartup.bmapset |
Definition at line 141 of file gis_set.py.
gis_set.GRASSStartup.bstart |
Definition at line 133 of file gis_set.py.
gis_set.GRASSStartup.bwizard |
Definition at line 143 of file gis_set.py.
gis_set.GRASSStartup.FormerMapsetSelection |
Definition at line 675 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectMapset().
gis_set.GRASSStartup.gisbase |
Definition at line 62 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnHelp().
gis_set.GRASSStartup.gisdbase |
Definition at line 64 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 63 of file gis_set.py.
Referenced by gis_set.GRASSStartup.GetRCValue().
gis_set.GRASSStartup.hbitmap |
Definition at line 89 of file gis_set.py.
gis_set.GRASSStartup.lblocations |
Definition at line 158 of file gis_set.py.
gis_set.GRASSStartup.lbmapsets |
Definition at line 166 of file gis_set.py.
gis_set.GRASSStartup.lcreate |
Definition at line 122 of file gis_set.py.
gis_set.GRASSStartup.ldbase |
Definition at line 114 of file gis_set.py.
gis_set.GRASSStartup.ldefine |
Definition at line 125 of file gis_set.py.
gis_set.GRASSStartup.listOfLocations |
Definition at line 69 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 70 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 71 of file gis_set.py.
Referenced by gis_set.GRASSStartup.OnSelectLocation(), and gis_set.GRASSStartup.OnSelectMapset().
gis_set.GRASSStartup.llocation |
Definition at line 116 of file gis_set.py.
gis_set.GRASSStartup.lmanageloc |
Definition at line 128 of file gis_set.py.
gis_set.GRASSStartup.lmapset |
Definition at line 119 of file gis_set.py.
gis_set.GRASSStartup.locale |
Definition at line 75 of file gis_set.py.
gis_set.GRASSStartup.ltitle |
Definition at line 110 of file gis_set.py.
gis_set.GRASSStartup.lwelcome |
Definition at line 106 of file gis_set.py.
gis_set.GRASSStartup.manage_box |
Definition at line 104 of file gis_set.py.
gis_set.GRASSStartup.manageloc |
Definition at line 148 of file gis_set.py.
gis_set.GRASSStartup.panel |
Definition at line 77 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 101 of file gis_set.py.
gis_set.GRASSStartup.tgisdbase |
Definition at line 154 of file gis_set.py.