Wiki Markup |
---|
h2. Name *sfdatasource* --- Manage Simple Features Datasource h2. Syntax {panel:|borderStyle=solid|borderWidth=1|bgColor=#ffffaa} *sfdatasource open <filename><_filename_> **\[**readonly \| readwrite\]* *sfdatasource getlayercount* *sfdatasource getlayernames* {panel} h2. Description Programmatically manage a project object of type *Simple Features Datasource.* The datasource must be the active project object, set using *project activate* or *project setpath* h2. Arguments *open* {indent} Open given file in readonly or readwrite mode. The file must be a file supported by OGR. {indent} *getlayercount* {indent} Return number of layers. {indent} {color:#333333}{*}getlayernames{*}{color} {indent}Return the layer names as a Tcl list.{indent} {color:#333333} {color} h2. See also |
Page Comparison
General
Content
Integrations