geopython / geopython/demo.pygeoapi.io

OGC API query doesn't return all features

Open
#77 8 comments 0 reactions 2 assignees Claimed by @justb4 View on GitHub
bug
Dominant language
Shell
Stars
8
Forks
12
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.