GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gselect.GdalSelect Class Reference
Inheritance diagram for gselect.GdalSelect:
Collaboration diagram for gselect.GdalSelect:

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
 

Detailed Description

Definition at line 1088 of file gselect.py.

Constructor & Destructor Documentation

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.

Parameters
parentparent window
ogruse OGR selector instead of GDAL
destTrue for output (destination)
defaultdeafult type (ignored when dest == True)
excludelist of types to be excluded

Definition at line 1090 of file gselect.py.

Member Function Documentation

def gselect.GdalSelect.GetDsn (   self)
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)

Get source type.

Definition at line 1754 of file gselect.py.

References gselect.GdalSelect.dsnType.

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.OnSettingsDelete (   self,
  event 
)
def gselect.GdalSelect.OnSettingsLoad (   self,
  event 
)
def gselect.GdalSelect.OnSettingsSave (   self,
  event 
)

Field Documentation

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.dsnSizer

Definition at line 1309 of file gselect.py.

gselect.GdalSelect.dsnText

Definition at line 1262 of file gselect.py.

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.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.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().


The documentation for this class was generated from the following file: