Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h2. Name

*sfdatasource* --- Manage Simple Features Datasource

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#ffffaa}
*sfdatasource open <filename>&nbsp;**\[**readonly \|&nbsp;readwrite\]*

*sfdatasource getlayercount*

{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

*sfdatasource open* _filename_ \[*readonly* \| &nbsp;*readwrite*\]

{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}


\\



h2. See also