Skip to content

OGC API query doesn't return all features #77

@claudiubsc

Description

@claudiubsc

Description
While using this dataset: https://demo.pygeoapi.io/master/collections/dutch_castles, OGC API query doesn't return all features. The query:
https://demo.pygeoapi.io/master/collections/dutch_castles/items?f=json&offset=90&limit=100&bbox=-179.9999999,-86.0,179.9999999,86.0 returns the "next" page but
https://demo.pygeoapi.io/master/collections/dutch_castles/items?f=json&offset=100&limit=100&bbox=-179.9999999,-86.0,179.9999999,86.0 returns 0 features.

If we tweak the bbox a little bit, like:
https://demo.pygeoapi.io/master/collections/dutch_castles/items?f=json&offset=100&limit=100&bbox=-173.9999999,-86.0,179.9999999,86.0 , then the features are returned.

Steps to Reproduce
Steps to reproduce the behavior:
Run query in browser:
query that works: https://demo.pygeoapi.io/master/collections/dutch_castles/items?f=json&offset=90&limit=100&bbox=-179.9999999,-86.0,179.9999999,86.0
query that should work but returns 0 features: https://demo.pygeoapi.io/master/collections/dutch_castles/items?f=json&offset=100&limit=100&bbox=-179.9999999,-86.0,179.9999999,86.0

Expected behavior
A clear and concise description of what you expected to happen.
This query should return features: https://demo.pygeoapi.io/master/collections/dutch_castles/items?f=json&offset=100&limit=100&bbox=-179.9999999,-86.0,179.9999999,86.0

Screenshots/Tracebacks
If applicable, add screenshots to help explain your problem.

Environment

  • OS:
  • Python version:
  • pygeoapi version: 0.24.dev0

Additional context
Add any other context about the problem here.

Metadata

Metadata

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