Skip to content

Requesting features with BBOX returns features outside BBOX #100

@dstenger

Description

@dstenger

Describe the bug
Requesting features with a request containing a BBOX returns features which are not located inside the BBOX.

The behavior was detected with the reference implementation: http://cite.deegree.org/deegree-ogcapi-1.3/datasets/kitaeinrichtung/

To Reproduce
Steps to reproduce the behavior:

  1. Send request: http://cite.deegree.org/deegree-ogcapi-1.3/datasets/kitaeinrichtung/collections/KitaEinrichtungen/items?f=json&bbox=177.0000000,65.0000000,-177.0000000,70.0000000
  2. Compare returned features with BBOX of request:
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "id": "APP_KITAEINRICHTUNGEN_1010263",
      "geometry": {
        "type": "Point",
        "coordinates": [
          10.010474613490274,
          53.60929655136682
        ]
      },
...

Expected behavior
Only features located inside the BBOX shall be returned.

Additional context
This error was detected via the OGC CITE ETS using the code provided by this PR: opengeospatial/ets-ogcapi-features10#220

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working, a bug, an error or failure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions