Name
sfdatasource — Manage Simple Features Datasource
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
sfdatasource open <filename> [readonly readonly | readwrite] sfdatasource getlayercount sfdatasource getlayernames |
...
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