Skip to content

Flipped axis order from postgis feature provider using EPSG:4269 as provider-crs. #2102

@dblodgett-usgs

Description

@dblodgett-usgs

Description
We have a QA-tier server up hosting a number of large EPSG:4269 (NAD83) tables.

https://labs-beta.waterdata.usgs.gov/api/fabric/pygeoapi/

config.yml for the server is here.

https://code.usgs.gov/wma/nhgf/pygeoapi/-/blob/main/configs/pygeoapi/fabric.yml?ref_type=heads

We've observed that the layers can be accessed via bbox, but axis order is flipped -- both in the bbox url field and in the database.

Steps to Reproduce

Go to: https://labs-beta.waterdata.usgs.gov/api/fabric/pygeoapi/collections/nhdplusv2-huc08/items?bbox=42,-94,43,-93

Observe that the order of coordinates makes no sense but the server is behaving normally.

Observe that no features are returned for: https://labs-beta.waterdata.usgs.gov/api/fabric/pygeoapi/collections/nhdplusv2-huc08/items?bbox=-94,42,-93,43

Expected behavior

When a postgres table is in 4269, it can be interacted with as normal lon/lat order CRS84 geojson.

Additional context

Related to #2010 ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions