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

bbox does not work correctly #1665

Closed ksonda closed 1 month ago

ksonda commented 1 month ago

Description The bbox filter appears to intersect the provided bbox with the bboxes of features in the queries collection, rather than the actual geometries of the feature collection

Steps to Reproduce Steps to reproduce the behavior:

  1. Create a bbox a,b,c,d that is within the bbox of a test feature, but does not actually intersect the feature
  2. Query the collection/{collectionId}/items?bbox=a,b,c,d

Expected behavior The test feature should not be returned

Screenshots/Tracebacks https://geoapi.geoplatform.gov/collections/62e48e3e_c8e9_4d48_990b_44dbb8265dd0/items?bbox=-111.020099,44.956318,-110.953495,44.971865

from this bbox

image

webb-ben commented 1 month ago

Same as https://github.com/geopython/pygeoapi/issues/1666