Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Name

sfdatasource — Manage Simple Features Datasource

...

Panel
bgColor#ffffaa
borderWidth1
borderStylesolid

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