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

Tweak WMS query parameters and timeouts #312

Conversation

ricardogsilva
Copy link

@ricardogsilva ricardogsilva commented Nov 29, 2024

This PR slightly tweaks the WMS query parameters added by the backend to normal GetMap requests in order to ensure they always produce a palette with 250 colors and that also extends the min,max colors to the actual min,max values of the dataset even if they fall outside of the declared min,max range used to build the legend.

Additionally, this PR enlarges the timeout used by the http client to 30 seconds.


@ricardogsilva ricardogsilva force-pushed the 311-inconsistent-wms-palette-application-in-map-and-legend branch from 45dc5f7 to 2a11d2a Compare December 2, 2024 13:11
We now have the dynamic legend endpoint, which should be used instead
This is not needed, as the underlying THREDDS WMS server does not perform dynamic contrast enhancement
@ricardogsilva ricardogsilva force-pushed the 311-inconsistent-wms-palette-application-in-map-and-legend branch from 47cf390 to 6f59570 Compare December 5, 2024 13:00
@ricardogsilva ricardogsilva changed the title Generate WMS legend values dynamically and expose API path for it Tweak WMS query parameters and timeouts Dec 5, 2024
@ricardogsilva ricardogsilva marked this pull request as ready for review December 5, 2024 13:06
@francbartoli francbartoli merged commit 4f3a5a2 into geobeyond:main Dec 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants