...
Name
sfdatasource — Manage Simple Features Datasource
Syntax
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
sfdatasource open <filename> [readonly | readwrite] sfdatasource getlayercount sfdatasource getlayernames |
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
Arguments
open
Open given file in readonly or readwrite mode. The file must be a file supported by OGR
getlayercount
Return number of layers.
getlayernames
Return the layer names as a Tcl list.
See also