- OGC API for Features version 1.0
- OGC API - Features - Part 3: Filtering and the Common Query Language (CQL)
- OpenAPI Specifcation version 3.0.2
- The request response format can be indicated by suffixing URLs with
.json
or.html
- Paths are given relative to service root path
Landing page for the service.
Path: /
or index
A JSON document some basic service information and links to more detailed resources.
- self -
/index.json
- This document as JSON - alternate -
/index.html
- This document as HTML - conformance
- data -
/collections
- collections - functions -
/functions
- functions
List collections provided by the service.
Path: /collections
JSON document listing service collections.
- self -
/collections.json
- This document as JSON - alternate -
/collections.html
- This document as HTML
Provides metadata about a feature collection.
Path: /collections/{cid}
JSON document containing feature collection metadata.
- self -
/collections/{cid}.json
- This document as JSON - alternate -
/collections/{cid}.html
- This document as HTML - items -
/collections/{cid}/items.json
- Features as GeoJSON - items -
/collections/{cid}/items.html
- Features as HTML
Produces a dataset of items from the collection (as GeoJSON)
Path: /collections/{cid}/items
bbox=minx,miny,maxx,maxy
- filter features in response to ones intersecting a bounding box (in lon/lat or specified CRS).bbox-crs=SRID
- specify CRS for thebbox
coordinates<propname>=val
- filter features for a property having a value. Multiple property filters are ANDed together.filter=cql-expr
- filters features via a CQL expressionfilter-crs=SRID
- specifies the CRS for geometry values in the CQL filtertransform=fun1[,args][|fun2,args...]
- transform the feature geometry by a geometry function pipeline.groupby=PROP-NAME
- group results on a property. Usually used with an aggregatetransform
function.properties=PROP-LIST
- return only specific properties (comma-separated). If PROP-LIST is empty, no properties are returned. If not present, all properties are returned.crs=SRID
- specifies the CRS for the output feature geometryprecision=N
- set precision of GeoJSON ordinates to use N decimal placessortby=[+|-]PROP
- sort the response items by a property (ascending (default) or descending).limit=N
- limits the number of features in the response.offset=N
- starts the response at an offset.
GeoJSON document containing the features resulting from the request query.
- self -
/collections/{cid}/items.json
- This document as JSON - alternate -
/collections/{cid}/items.html
- This document as HTML - collection -
/collections/{cid}
- The collection document - next - TBD
- prev - TBD
Path: /collections/{cid}/items/{fid}
properties=PROP-LIST
- return only the given properties (comma-separated)transform
- transform the feature geometry by the given geometry function pipeline
- self -
/collections/{cid}/items/{fid}.json
- This document as JSON - alternate -
/collections/{cid}/items/{fid}.html
- This document as HTML - collection -
/collections/{cid}
- The collection document
Lists the functions provided by the service.
Path: /functions
JSON document listing available functions.
- self -
/functions.json
- This document as JSON - alternate -
/functions.html
- This document as HTML
Provides metadata about a function
Path: /functions/{fnid}
- self -
/functions/{fnid}.json
- This document as JSON - alternate -
/functions/{fnid}.html
- This document as HTML - items -
/functions/{fnid}/items.json
- Features as GeoJSON | JSON - items -
/functions/{fnid}/items.html
- Features as HTML
Calls a function and produces a result dataset of items (either GeoJSON or JSON).
Path: /functions/{fid}/items
name=value
- Supplies a value for the named function parameterlimit=N
- limits the number of features in the responseoffset=N
- starts the response at the given offsetsortby=[+|-]PROP
- sort the response items by a property (ascending (default) or descending).bbox=minx,miny,maxx,maxy
- filter features in response to ones intersecting given bounding box (in lon/lat, for now)properties=PROP-LIST
- return only the given properties (comma-separated)precision=N
- set precision of GeoJSON ordinates to use N decimal placestransform
- transform the feature geometry by the given geometry function pipeline
A GeoJSON or JSON dataset containing function call results
- self -
/functions/{fid}/items.json
- This document as JSON - alternate -
/functions/{fid}/items.html
- This document as HTML - function -
/functions/{fid}
- The function document - next - TBD
- prev - TBD