Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WFS: Don't issue STARTINDEX if feature count is small
Datasources with no primary key cannot be naturally ordered by the server, and so using the STARTINDEX argument causes a 400 error with the response: > Cannot do natural order without a primary key, please add it or > specify a manual sort over existing attributes This change avoids issuing STARTINDEX if: * the feature count is known by the time the first GetFeature request is issued * the feature count is less than the page size. In other words, this change allows us to use small datasets that have no primary key, while still allowing paging in larger datasets (as long as they have a primary key)
- Loading branch information