-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Implemented response paging for WFS 2.0.0 #619
Conversation
… responsePaging-246
…ng from constructor.
… responsePaging-246
… responsePaging-246
…ntegrated check of configuration in GmlGetFeatureHandler.
… and did some refactorings.
There is a lot of stuff in this PR that is not directly related to response paging. Could you explain why all these things are needed to implement paging? |
Can you please explain how the change handles the offset and pageing in more detail please ? |
The next and previous URLs base on GetFeature request which can currently already be handled by deegree. The response paging mechanism uses the incoming URL and just adds/ manipulates the startIndex and count parameters. In addition, the mechanism determines if there is a next or previous URL and just adds the next/previous attribute to the response if there is a corresponding URL. |
The Filter200XMLEncoder is required to process a incoming GetFeature request using paging functionality. |
Fixing #648 would make this functionality scale a lot better |
Implemented response paging for WFS 2.0.0
This pull requests adds the response paging functionality to WFS 2.0.0. If a GetFeature request is sent (with a count value), the response contains @next and @previous attributes which contain URIs to the next or previous features (number = count value). By using that URIs, the user can page forward and backwards through the features. In the capabilities the constraint "ImplementsResultPaging" states that the response paging functionality is enabled. Currently, the implementation is not transaction safe. This is stated by the constraint "PagingIsTransactionSafe" which is always set to false.
Currently @next and @previous URLs bases on the original GetFeature request in KVP encoding.
Response Paging works only when streaming is disabled.
By default, WFS 2.0.0 does not support response paging and it can be enabled by configuration.