List Features
const url = 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/features/?limit=10&offset=0&include_geometry=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/features/?limit=10&offset=0&include_geometry=true' \ --header 'Authorization: Bearer <token>'Get paginated GeoJSON features for a dataset.
Offset pagination can skip or duplicate rows during concurrent writes,
though feature ids remain stable because rows are ordered by the primary
key. Clients that need stable
cursoring should use the OGC API Features endpoint, which supports keyset
pagination via after_gid.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Query Parameters
Section titled “ Query Parameters ”Legacy offset-based pagination. The companion limit is capped at 200 per page, and a high offset is costly to serve.
Legacy offset-based pagination. The companion limit is capped at 200 per page, and a high offset is costly to serve.
Include geometry in response
Include geometry in response
Responses
Section titled “ Responses ”Successful Response
A GeoJSON FeatureCollection with OGC API Features pagination fields.
object
A single GeoJSON Feature.
object
A GeoJSON GeometryCollection (RFC 7946 §3.1.8).
Geometry collections carry geometries instead of coordinates.
Only generic-geometry datasets accept them on write.
Nested collections are rejected because PostGIS cannot round-trip them through the GeoJSON boundary.
object
A GeoJSON geometry object (RFC 7946).
object
A GeoJSON geometry object (RFC 7946).
object
object
object
Example
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "GeometryCollection", "geometries": [ { "type": "Point" } ] } } ]}Example generated
exampleBad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “ Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request