GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Widget for selecting GDAL/OGR datasource, format. More... | |
def | OnSettingsLoad |
Load named settings. More... | |
def | OnSettingsSave |
Save settings. More... | |
def | OnSettingsDelete |
Save settings. More... | |
def | OnSetType |
Datasource type changed. More... | |
def | GetDsn |
Get datasource name. More... | |
def | OnSetDsn |
Input DXF file/OGR dsn defined, update list of layer widget. More... | |
def | OnSetExtension |
Extension changed. More... | |
def | OnSetFormat |
Format changed. More... | |
def | GetType |
Get source type. More... | |
def | GetDsnWin |
Get list of DSN windows. More... | |
def | GetFormat |
Get format as string. More... | |
def | GetFormatExt |
Get format extension. More... | |
def | GetOptions |
Get creation options. More... | |
Data Fields | |
parent | |
ogr | |
dest | |
settingsBox | |
inputBox | |
sourceMap | |
settingsFile | |
settingsChoice | |
btnSettingsSave | |
btnSettingsDel | |
source | |
format | |
extension | |
input | |
dsnType | |
dsnText | |
extensionText | |
creationOpt | |
dsnSizer | |
Definition at line 1088 of file gselect.py.
def gselect.GdalSelect.__init__ | ( | self, | |
parent, | |||
panel, | |||
ogr = False , |
|||
link = False , |
|||
dest = False , |
|||
default = 'file' , |
|||
exclude = [] , |
|||
envHandler = None |
|||
) |
Widget for selecting GDAL/OGR datasource, format.
parent | parent window |
ogr | use OGR selector instead of GDAL |
dest | True for output (destination) |
default | deafult type (ignored when dest == True) |
exclude | list of types to be excluded |
Definition at line 1090 of file gselect.py.
def gselect.GdalSelect.GetDsn | ( | self | ) |
Get datasource name.
Definition at line 1575 of file gselect.py.
References gselect.GdalSelect.dsnType, widgets.GetValue(), and gselect.GdalSelect.input.
Referenced by gselect.GdalSelect.OnSetDsn(), and gselect.GdalSelect.OnSettingsSave().
def gselect.GdalSelect.GetDsnWin | ( | self | ) |
Get list of DSN windows.
Definition at line 1758 of file gselect.py.
References gselect.GdalSelect.input.
def gselect.GdalSelect.GetFormat | ( | self | ) |
Get format as string.
Definition at line 1768 of file gselect.py.
def gselect.GdalSelect.GetFormatExt | ( | self | ) |
Get format extension.
Definition at line 1772 of file gselect.py.
Referenced by gselect.GdalSelect.OnSetFormat().
def gselect.GdalSelect.GetOptions | ( | self | ) |
Get creation options.
Definition at line 1776 of file gselect.py.
def gselect.GdalSelect.GetType | ( | self | ) |
def gselect.GdalSelect.OnSetDsn | ( | self, | |
event, | |||
path = None |
|||
) |
Input DXF file/OGR dsn defined, update list of layer widget.
Definition at line 1585 of file gselect.py.
References gselect.GdalSelect._getExtPatternGlob(), gselect.GdalSelect._reloadLayers(), gselect.GdalSelect.dest, gselect.GdalSelect.dsnType, gselect.GdalSelect.GetDsn(), utils.GetValidLayerName(), gselect.GdalSelect.input, gselect.GdalSelect.ogr, dialogs.GdalImportDialog.ogr, sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, dialogs.DisplayAttributesDialog.parent, manager.Log.parent, frame.ModelFrame.parent, goutput.CmdThread.parent, manager.VirtualAttributeList.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, forms.UpdateThread.parent, goutput.GMConsole.parent, dialogs.ModelRelationDialog.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, ghelp.HelpWindow.parent, gselect.LayerSelect.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.GroupDialog.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, goutput.GMStdout.parent, goutput.GMStderr.parent, model.ModelData.parent, gselect.GdalSelect.parent, goutput.GMStc.parent, dialogs.MapLayersDialog.parent, goutput.PyStc.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, dialogs.ImportDialog.parent, frame.PythonPanel.parent, forms.GUI.parent, dialogs.LayersList.parent, dialogs.SetOpacityDialog.parent, dialogs.ImageSizeDialog.parent, model.ModelParamDialog.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, manager.LayerBook.parent, gcmd.RunCommand(), widgets.SetValue(), and utils.split().
Referenced by gselect.GdalSelect.OnSetFormat(), gselect.GdalSelect.OnSettingsLoad(), and gselect.GdalSelect.OnSetType().
def gselect.GdalSelect.OnSetExtension | ( | self, | |
event | |||
) |
Extension changed.
Definition at line 1668 of file gselect.py.
References gselect.GdalSelect._reloadLayers(), and gselect.GdalSelect.dest.
def gselect.GdalSelect.OnSetFormat | ( | self, | |
event, | |||
format = None |
|||
) |
Format changed.
Definition at line 1674 of file gselect.py.
References gselect.GdalSelect._getExtPattern(), gselect.GdalSelect._reloadLayers(), gselect.GdalSelect.dest, gselect.GdalSelect.dsnType, gselect.GdalSelect.GetFormatExt(), gselect.GdalSelect.input, gselect.GdalSelect.OnSetDsn(), and dialogs.DxfImportDialog.OnSetDsn().
Referenced by gselect.GdalSelect.OnSettingsLoad(), and gselect.GdalSelect.OnSetType().
def gselect.GdalSelect.OnSettingsDelete | ( | self, | |
event | |||
) |
Save settings.
Definition at line 1421 of file gselect.py.
References gselect.GdalSelect._loadSettings(), gselect.GdalSelect._saveSettings(), gselect.GdalSelect._settings, gselect.GdalSelect.settingsFile, and utils.split().
def gselect.GdalSelect.OnSettingsLoad | ( | self, | |
event | |||
) |
Load named settings.
Definition at line 1368 of file gselect.py.
References gselect.GdalSelect._settings, gselect.GdalSelect.OnSetDsn(), dialogs.DxfImportDialog.OnSetDsn(), gselect.GdalSelect.OnSetFormat(), gselect.GdalSelect.OnSetType(), and gselect.GdalSelect.sourceMap.
def gselect.GdalSelect.OnSettingsSave | ( | self, | |
event | |||
) |
Save settings.
Definition at line 1381 of file gselect.py.
References gselect.GdalSelect._loadSettings(), gselect.GdalSelect._saveSettings(), gselect.GdalSelect._settings, gselect.GdalSelect.dsnType, and gselect.GdalSelect.GetDsn().
def gselect.GdalSelect.OnSetType | ( | self, | |
event, | |||
sel = None |
|||
) |
Datasource type changed.
Definition at line 1485 of file gselect.py.
References gselect.GdalSelect._getExtPattern(), gselect.GdalSelect.dest, gselect.GdalSelect.dsnType, gselect.GdalSelect.input, gselect.GdalSelect.ogr, dialogs.GdalImportDialog.ogr, gselect.GdalSelect.OnSetDsn(), dialogs.DxfImportDialog.OnSetDsn(), gselect.GdalSelect.OnSetFormat(), and gselect.GdalSelect.sourceMap.
Referenced by gselect.GdalSelect.OnSettingsLoad().
gselect.GdalSelect.btnSettingsDel |
Definition at line 1153 of file gselect.py.
gselect.GdalSelect.btnSettingsSave |
Definition at line 1150 of file gselect.py.
gselect.GdalSelect.creationOpt |
Definition at line 1269 of file gselect.py.
gselect.GdalSelect.dest |
Definition at line 1101 of file gselect.py.
Referenced by gselect.GdalSelect.OnSetDsn(), gselect.GdalSelect.OnSetExtension(), gselect.GdalSelect.OnSetFormat(), and gselect.GdalSelect.OnSetType().
gselect.GdalSelect.dsnSizer |
Definition at line 1309 of file gselect.py.
gselect.GdalSelect.dsnText |
Definition at line 1262 of file gselect.py.
gselect.GdalSelect.dsnType |
Definition at line 1254 of file gselect.py.
Referenced by gselect.GdalSelect.GetDsn(), gselect.GdalSelect.GetType(), gselect.GdalSelect.OnSetDsn(), gselect.GdalSelect.OnSetFormat(), gselect.GdalSelect.OnSettingsSave(), and gselect.GdalSelect.OnSetType().
gselect.GdalSelect.extension |
Definition at line 1222 of file gselect.py.
gselect.GdalSelect.extensionText |
Definition at line 1265 of file gselect.py.
gselect.GdalSelect.format |
Definition at line 1219 of file gselect.py.
gselect.GdalSelect.input |
Definition at line 1230 of file gselect.py.
Referenced by gselect.GdalSelect.GetDsn(), gselect.GdalSelect.GetDsnWin(), prompt.GPrompt.GetInput(), gselect.GdalSelect.OnSetDsn(), gselect.GdalSelect.OnSetFormat(), and gselect.GdalSelect.OnSetType().
gselect.GdalSelect.inputBox |
Definition at line 1107 of file gselect.py.
gselect.GdalSelect.ogr |
Definition at line 1100 of file gselect.py.
Referenced by gselect.GdalSelect.OnSetDsn(), and gselect.GdalSelect.OnSetType().
gselect.GdalSelect.parent |
Definition at line 1099 of file gselect.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(), mapwindow.GLWindow.OnLeftUp(), mapwindow.BufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnLeftUp(), toolbars.VDigitToolbar.OnSelectMap(), gselect.GdalSelect.OnSetDsn(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), mapwindow.BufferedWindow.UpdateMap(), and wxdigit.VDigitError.WriteLine().
gselect.GdalSelect.settingsBox |
Definition at line 1104 of file gselect.py.
gselect.GdalSelect.settingsChoice |
Definition at line 1147 of file gselect.py.
gselect.GdalSelect.settingsFile |
Definition at line 1143 of file gselect.py.
Referenced by gselect.GdalSelect.OnSettingsDelete().
gselect.GdalSelect.source |
Definition at line 1157 of file gselect.py.
gselect.GdalSelect.sourceMap |
Definition at line 1115 of file gselect.py.
Referenced by gselect.GdalSelect.OnSettingsLoad(), and gselect.GdalSelect.OnSetType().