Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Name

sfdatasource — Manage Simple Features Datasource

Syntax

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

 

  • No labels