Skip to content

lib: Add new SRTM_percent color table (backport of #4608) #6020

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

Merged

Conversation

echoix
Copy link
Member

@echoix echoix commented Jul 2, 2025

Backport of #4608.
Closes #5758

Please double-check if it is desirable.

This color table uses the color ramp from the srtm_plus color table for terrain to create colors for relative elevation (spread over the range of elevations in a raster map) rather than absolute elevation in meters. This applies srtm colors in a way similar to the way the elevation color table applies them. This color table is especially useful in creating nice looking elevation maps and shading relief maps.
@petrasovaa petrasovaa merged commit 4cac152 into OSGeo:releasebranch_8_4 Jul 3, 2025
25 checks passed
@echoix echoix added this to the 8.4.2 milestone Jul 3, 2025
@echoix echoix deleted the backport-srtm_percent-4608 branch July 3, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants