Retrieve items from a collection
Fetch features of the feature collection with id {collectionId}.
Every feature in a dataset belongs to a collection. A dataset may consist of multiple feature collections, each representing a group of features that share a common schema and type.
The collection id is a unique identifier for the spatial dataset and is used to reference a specific collection within the API.
This endpoint supports content negotiation, allowing clients to request the response in HTML or GeoJSON format.
Additional capabilities include:
- Filtering: Supports attribute-based filtering using CQL (Common Query Language).
- Pagination: Use limit and offset parameters to paginate results.
- Spatial Queries:
- Bounding Box (bbox): Retrieve features within a rectangular spatial extent (minX, minY, maxX, maxY).
- Spatial Filters: Support for contains, intersects, and within (OGC Filter Encoding).
Request
- Base URL: https://api.cloud.precisely.com
- URL: https://api.cloud.precisely.com/v1/ogcapi/enrich/collections/{collectionId}/items
- Auth: one of:
- HTTP bearer
- API key in header Authorization
Path parameters
Unique identifier of the collection.
Query parameters
Number of items to return (max: 10,000).
Offset for pagination.
Bounding box for spatial filtering (minX, minY, maxX, maxY).
Filter query in CQL format.
Headers
The X-Request-Id header is optional but incredibly useful for developers. It serves as a unique identifier for requests within our system. When you encounter any problems with your requests, providing us with the X-Request-Id will enable us to pinpoint the specific request in question without the need for extensive manual searching. This means faster and more efficient troubleshooting.
Example: e02f00d5-e3a9-4fd6-aen1-3e5451abee46
Response
Successful retrieval of collection items.
Changes
No recorded changes to this operation across all 1 revision of this API.