GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.dbm_base.VectorDBInfo Class Reference

Class providing information about attribute tables linked to the vector map. More...

Inheritance diagram for gui_modules.dbm_base.VectorDBInfo:
Collaboration diagram for gui_modules.dbm_base.VectorDBInfo:

Public Member Functions

def __init__
def GetColumns
 Return list of columns names (based on their index)
def SelectByPoint
 Get attributes by coordinates (all available layers)
def SelectFromTable
 Select records from the table.
- Public Member Functions inherited from gui_modules.gselect.VectorDBInfo
def Reset
 Reset.
def GetName
 Get vector name.
def GetKeyColumn
 Get key column of given layer.
def GetTable
 Get table name of given layer.
def GetDbSettings
 Get database settins.
def GetTableDesc
 Get table columns.

Additional Inherited Members

- Data Fields inherited from gui_modules.gselect.VectorDBInfo
 map
 layers
 tables

Detailed Description

Class providing information about attribute tables linked to the vector map.

Definition at line 71 of file dbm_base.py.

Constructor & Destructor Documentation

def gui_modules.dbm_base.VectorDBInfo.__init__ (   self,
  map 
)

Reimplemented from gui_modules.gselect.VectorDBInfo.

Definition at line 74 of file dbm_base.py.

Member Function Documentation

def gui_modules.dbm_base.VectorDBInfo.GetColumns (   self,
  table 
)

Return list of columns names (based on their index)

Definition at line 77 of file dbm_base.py.

References gui_modules.gselect.VectorDBInfo.tables.

def gui_modules.dbm_base.VectorDBInfo.SelectByPoint (   self,
  queryCoords,
  qdist 
)

Get attributes by coordinates (all available layers)

Return line id or None if no line is found

Definition at line 89 of file dbm_base.py.

References gui_modules.dbm_dialogs.DisplayAttributesDialog.map, gui_modules.gselect.VectorDBInfo.map, gui_modules.dbm.AttributeManager.map, gui_modules.gselect.VectorDBInfo.tables, and gui_modules.dbm_base.unicodeValue().

def gui_modules.dbm_base.VectorDBInfo.SelectFromTable (   self,
  layer,
  cols = '*',
  where = None 
)

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