Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The OGR spatial engine provides support for additional formats not directly supported by Weave based on the OGR GDAL library. A list of the available formats is available here. Note, that link provides a list of the latest supported formats which may include newer ones than those supported by Weave or newer parameters than are supported by Weave.

Note

The OGR driver requires the installation of the Microsoft Visual C++ 2013 Redistributable libraries.

They can be downloaded from Microsoft from here.

Different OGR drivers require different parameters, documented at the link above, but each spatial engine should have dbtype set to "ogr", and a driverName corresponding to the OGR driver, or the dbtype set to the factory name of the driver. A list of the available OGR driver names is output to the weave.log file when Weave starts (at log level INFO), e.g.

...

Tags

spatialengine

Properties

Name

Type

Required

Description

id

string

yes

Unique identifier for the spatial engine

dbtype

string

yes

If set to “ogr” then driverName will specify the OGR driver to use (from the list of available OGR drivers).
Otherwise should be one of the OGR driver factories (from the list of OGR data store factories).

driverName

string

yes - if dbtype is “ogr”
no - if dbtype is not “ogr”

The name of the OGR driver to use if dbtype is “ogr”, otherwise it is not used

datasourceName

string

yes - if dbtype is “ogr”
no - if dbtype is not “ogr”

Points to the source of the data, will depend upon which OGR driver is used

datasource

string

no - if dbtype is “ogr”
yes - if dbtype is not “ogr”

Points to the source of the data, will depend upon which OGR driver is used

Sub-tags

None

Content

None

Notes

...