OGRΒΆ

This plugin reads vector data from any of the formats supported by the OGR Simple Feature Library (which is quite a lot). Most common among these includes ESRI Shapefiles and GML.

Example usage:

<model driver="feature_geom">
    <features driver="ogr">
        <url>data/world_boundaries.shp</url>
    </features>
    ...

Properties:

url:Location from which to load feature data
connection:If the feature data is in a database, use this to specify the DB connection string instead of using the url.
geometry:Specify inline geometry in `OGC WKT format`_ instead of using url or connection.
geometry_url:Same as geometry except that the WKT string is in a file.
ogr_driver:``OGR driver``_ to use. (default = “ESRI Shapefile”)
build_spatial_index:
 Set to true to build a spatial index for the feature data, which will dramatically speed up access for larger datasets.
layer:Some datasets require an addition layer identifier for sub-datasets; Set that here (integer).

Previous topic

Feature Drivers

Next topic

TFS (Tiled Feature Service)

This Page