Features - Custom Extensions
speccustomimplproposalFilter 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.
The building block is deprecated and will be removed with version 5.0. An ad-hoc query should be used instead.
Use with caution: When the query parameter intersects is enabled and the request provides a URL, the referenced content is parsed, which may introduce security issues.
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 | Deprecated (use an ad-hoc query). Enables support for the intersects query parameter on the "Features" resource | boolean | v3.1 |
This building block does not require or support any additional configuration files.
Examples
{@examples}