geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
459 stars 250 forks source link

Wrong extent/bbox axis-ordering for some collections in Docker pygeoapi config #1702

Open justb4 opened 3 days ago

justb4 commented 3 days ago

Description Three collections (all Dutch data) have reversed axis ordering in spatial extent config.

Steps to Reproduce Steps to reproduce the behavior:

Expected behavior Expected extents within The Netherlands.

Screenshots/Tracebacks image

Environment

Additional context The Docker Image contains: https://github.com/geopython/pygeoapi/blob/master/docker/default.config.yml Here, at three location we need to change/reverse the spatial extent defs, for example:

        extents:
            spatial:
                bbox: [50.7539, 7.21097, 53.4658, 3.37087]
                crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84

must become

        extents:
            spatial:
                bbox: [7.21097, 50.7539, 3.37087, 53.4658]
                crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84

as CRS http://www.opengis.net/def/crs/OGC/1.3/CRS84 prescribes lon/lat ordering.