Skip to content

Conversation

@francbartoli
Copy link
Contributor

Overview

Related Issue / discussion

Closes #2186

Additional information

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

@francbartoli francbartoli changed the title Fix error for CSV provider when the bbox parameter has 6 coordinates Fix error for CSV/GeoJSON provider when the bbox parameter has 6 coordinates Dec 16, 2025
Fix error for GeoJSON provider when the bbox parameter has 6 coordinates
@francbartoli
Copy link
Contributor Author

@tomkralidis looking at the code more deeply this exception is returned by the box method from shapely.geometry. Beyond the points already fixed that function is used only in the util.py function bbox2geojsongeometry which is being used just by the CSWFacadeProvider class. I'm going to add only a test to this additional use case which already doesn't give error.

@tomkralidis tomkralidis added OGC API - Features OGC API - Features OGC API - Records OGC API - Records labels Dec 18, 2025
@tomkralidis tomkralidis added this to the 0.23.0 milestone Dec 18, 2025
@tomkralidis tomkralidis merged commit 104807e into geopython:master Dec 18, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OGC API - Features OGC API - Features OGC API - Records OGC API - Records

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSV provider throws TypeError exception for a bbox parameter with 6 coordinates

2 participants