Features - Custom Extensionsspeccustomimplproposal
Filter by geometry intersection.
Scope
The building block adds support for the following query parameter:
intersects
: if the parameter is specified, the features are
additionally selected by the geometry specified as value and only features whose primary
geometry intersects with the specified geometry are returned. The geometry can be either a
WKT geometry or a URL for a GeoJSON object with a geometry. In case of a FeatureCollection
the first geometry is used.
Path Parameters
Name | Resources | Description |
---|---|---|
collectionId | Features, Feature | The identifier of the feature collection. |
Query Parameters
Name | Resources | Description |
---|---|---|
intersects | Features | A Well Known Text representation of a geometry as defined in Simple Feature Access - Part 1: Common Architecture or a URI that returns a GeoJSON feature with a geometry. Only features are returned that intersect the geometry. |
Configuration
Options
Name | Default | Description | Type | Since |
---|---|---|---|---|
buildingBlock | Always FEATURES_EXTENSIONS . | string | v2.0 | |
enabled | false | Enable the building block? | boolean | v2.0 |
intersectsParameter | false | Enables support for the intersects query parameter on the "Features" resource | boolean | v3.1 |
Examples
{@examples}