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

OAPIF: Increase the default page size #8522

Closed
jratike80 opened this issue Oct 6, 2023 · 1 comment · Fixed by #8566
Closed

OAPIF: Increase the default page size #8522

jratike80 opened this issue Oct 6, 2023 · 1 comment · Fixed by #8566
Assignees

Comments

@jratike80
Copy link
Collaborator

The current default page size in the OGC API Features driver is 10. While this default value is also defined in the OGC API Features standard, for practical use it is all too small. See discussion in the mailing list thread https://lists.osgeo.org/pipermail/gdal-dev/2023-October/057758.html

I think that the larger the page size, and so the less requests needed for reading the data, the better. For that reason the page size could be the maximum limit that is defined in the API of the service. It is of course possible that a service provider has not considered what is a reasonable max limit but just blindly used the value 10000 as it appears in the standard https://docs.ogc.org/is/17-069r4/17-069r4.html#_parameter_limit. For my mind GDAL could still trust on the information that the /api endpoint of the service delivers.

@rouault
Copy link
Member

rouault commented Oct 9, 2023

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

Successfully merging a pull request may close this issue.

3 participants