Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paging does not give "next" page up to 100000 features? #8

Open
wokseb opened this issue May 31, 2023 · 0 comments
Open

Paging does not give "next" page up to 100000 features? #8

wokseb opened this issue May 31, 2023 · 0 comments

Comments

@wokseb
Copy link

wokseb commented May 31, 2023

I would assume this request for example would be entitled with a link to both a previous and a next page. However, only the previous is supplied.

https://sosgeo.artdata.slu.se/geoserver/wfs?REQUEST=GetFeature&OUTPUTFORMAT=application%2Fjson&VERSION=2.0.0&TYPENAMES=SOS:SpeciesObservations&COUNT=5000&SERVICE=wfs&CQL_FILTER=isRedlisted='TRUE'&STARTINDEX=9950

I seams lite there is also a limit of 10000 and not 100000? Nevertheless the request below still works, but is not as failsafe to manually increment the startindex.

https://sosgeo.artdata.slu.se/geoserver/wfs?REQUEST=GetFeature&OUTPUTFORMAT=application%2Fjson&VERSION=2.0.0&TYPENAMES=SOS:SpeciesObservations&COUNT=5000&SERVICE=wfs&CQL_FILTER=isRedlisted='TRUE'&STARTINDEX=14500

Clarification: StartIndex 5000 gives a next-link in the response while StartIndex 5001 doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant