Specific import class for handling shape file imports. More...
Inheritance diagram for ImportShape:Public Member Functions | |
| def | __init__ (self, file, filter=None, control=None, collectHdrContents=False, maxBulkPoints=1000, defaultLayout=None) |
| creates new shape import object More... | |
| def | importDBFAttributes (self, flag) |
| enable (default) or disable dbf attribute import. any subsequent importAttribute, v_setAddInfoMapping or v_setSemanticMapping call will automatic re-enable the dbf import flag More... | |
| def | setAttributeMapping (self, layout, mapping) |
| to come More... | |
Public Member Functions inherited from Import | |
| def | __init__ (self, file, format=DataFormat.auto, filter=None, control=None, collectHdrContents=False, maxBulkPoints=1000, defaultLayout=None) |
| creates new import object More... | |
| def | getControlObject (self) |
| def | getFileFormat (self) |
| def | getFilename (self) |
| def | getFilter (self) |
| def | getHeader (self) |
| def | getInvalidGeometries (self) |
| def | getPolygonMerging (self) |
| def | next (self) |
| python 2.x increment iterator support for importing file in a for loop More... | |
| def | prepareForReading (self) |
| def | read (self) |
| read an object from file More... | |
| def | readHeaderSeparately (self) |
| def | setControlObject (self, arg1) |
| def | setFilter (self, arg1) |
| def | setPolygonMerging (self, arg1) |
Static Public Member Functions | |
| def | create (file, filter=None, control=None, collectHdrContents=False, maxBulkPoints=1000, defaultLayout=None) |
| creates new shape import object More... | |
| def | getTableDefinition (file) |
| retrieve the table definition of corresponding dbf file (deprecated. use attribute information in file header instead) More... | |
| def | importAttribute (self, *args, **kwargs) |
| possible calls: More... | |
Static Public Member Functions inherited from Import | |
| def | create (file, format=DataFormat.auto, filter=None, control=None, collectHdrContents=False, maxBulkPoints=1000, defaultLayout=None) |
| creates new import object More... | |
Specific import class for handling shape file imports.
| def __init__ | ( | self, | |
| file, | |||
filter = None, |
|||
control = None, |
|||
collectHdrContents = False, |
|||
maxBulkPoints = 1000, |
|||
defaultLayout = None |
|||
| ) |
creates new shape import object
interface for importing geometry objects from a shpae file
| [in] | file | shape filename |
| [in] | filter | filter for subselecting/transforming objects during export |
| [in] | control | control object for retrieving export progress information |
| [in] | collectHdrContents | flag for explicitly collecting header information while exporting |
| [in] | maxBulkPoints | chunk size for bulk points being imported at once |
| [in] | defaultLayout | default attribute layout for objects while importing (attribute stored within the file, will be extended to this layout) |
|
static |
creates new shape import object
interface for importing geometry objects from a shpae file
| [in] | file | shape filename |
| [in] | filter | filter for subselecting/transforming objects during export |
| [in] | control | control object for retrieving export progress information |
| [in] | collectHdrContents | flag for explicitly collecting header information while exporting |
| [in] | maxBulkPoints | chunk size for bulk points being imported at once |
| [in] | defaultLayout | default attribute layout for objects while importing (attribute stored within the file, will be extended to this layout) |
|
static |
retrieve the table definition of corresponding dbf file (deprecated. use attribute information in file header instead)
|
static |
possible calls:
| self | (type: object) self pointer |
| *args | (type: list) mandatory parameter |
| **kwargs | (type: dict) mandatory parameter |
| def importDBFAttributes | ( | self, | |
| flag | |||
| ) |
enable (default) or disable dbf attribute import. any subsequent importAttribute, v_setAddInfoMapping or v_setSemanticMapping call will automatic re-enable the dbf import flag
| def setAttributeMapping | ( | self, | |
| layout, | |||
| mapping | |||
| ) |
to come
| self | (type: ImportShape) self pointer |
| layout | (type: AddInfoLayout) mandatory parameter |
| mapping | (type: dict) mandatory parameter |