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

Result Set consistency during paging #192

Closed
aquaglia opened this issue Apr 4, 2019 · 2 comments · Fixed by #195
Closed

Result Set consistency during paging #192

aquaglia opened this issue Apr 4, 2019 · 2 comments · Fixed by #195
Labels
OGC API: Features Issue related to feature resources (see #190) Part 1: Core Issue related to Part 1 - Core progress: pull request available

Comments

@aquaglia
Copy link

aquaglia commented Apr 4, 2019

I do not see any mention of result set consistency during paging.
If a query returns many objects, how can I be sure that none is modified during the time I paginate through the results?

Is this something that falls under this disclaimer ("transactions")?
Additional capabilities such as support for transactions, complex data structures, rich queries,
other coordinate reference systems, subscription/notification, returning aggregated results, etc.,
may be specified in future parts of WFS or as vendor-specific extensions.

@cportele cportele added Part 1: Core Issue related to Part 1 - Core OGC API: Features Issue related to feature resources (see #190) labels Apr 5, 2019
@pvretano
Copy link
Contributor

pvretano commented Apr 8, 2019

08-APR-2019: Teleconference note. We will add a sentence to the core indicating that, like WFS 2.X, paging is not safe. In WFS 2.X there was a mechanism for a server to declare that paging was safe but we don't think that is necessary in the Core.

@rcoup
Copy link

rcoup commented Apr 8, 2019

@aquaglia as discussed in #23, the normal way is for the server to maintain search/query/cursor/db state and pass next-page links with URLs encoding that state. This is obviously all very backend-dependent.

Simplistic ?offset=30&count=10 paging approaches won't be consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OGC API: Features Issue related to feature resources (see #190) Part 1: Core Issue related to Part 1 - Core progress: pull request available
Projects
Development

Successfully merging a pull request may close this issue.

4 participants