-
-
Notifications
You must be signed in to change notification settings - Fork 305
Description
We’re working with UK geospatial datasets stored in PostGIS using British National Grid (EPSG:27700) via pygeoapi (OGC API Features) and want to confirm best practice for CRS handling.
Our understanding is that pygeoapi does not automatically reproject PostGIS geometries, that declaring crs or storage_crs only advertises supported CRS to clients, and that CRS transformation is intentionally delegated to the backend. As a result, the recommended pattern appears to be exposing data through database views using ST_Transform(geom, 4326) and keeping the API default CRS as WGS84 for OGC compliance, allowing GIS clients to reproject back to BNG automatically.
We’d appreciate confirmation that this is the intended approach, clarification on whether storage_crs is expected to apply to SQL/PostGIS providers, and whether it would make sense to document this behaviour more explicitly, as it’s easy to assume CRS configuration alone will handle reprojection.