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

PRISM RSContext Layers #563

Open
jtgilbert opened this issue Apr 13, 2023 · 2 comments
Open

PRISM RSContext Layers #563

jtgilbert opened this issue Apr 13, 2023 · 2 comments
Labels
pkg:RS_Context symbology Use for new symbology work

Comments

@jtgilbert
Copy link
Contributor

Currently we have fixed min and max values for displaying the rasters that reflect the dataset for the whole country. As a result any HUC10, or even HUC8 encompasses only a small fraction of these values, so the color is the same for the whole raster when displayed. We should adjust symbology to change the min and max vals dynamically (like I believe we do with DEMs), so that you can see the range of values within the rasters.

@jtgilbert jtgilbert added symbology Use for new symbology work pkg:RS_Context labels Apr 13, 2023
@joewheaton
Copy link
Contributor

I noticed this and hated it...

@MattReimer
Copy link
Member

here's the docs on raster color ramps
https://github.com/Riverscapes/RiverscapesXML/blob/master/docs/Symbology/webRAVERasters.md

the color ramp file is designed to be used by gdaldem
https://gdal.org/programs/gdaldem.html

Note: the syntax of the color configuration file is derived from the one supported by GRASS r.colors utility. ESRI HDR color table files (.clr) also match that syntax. The alpha component and the support of tab and comma as separators are GDAL specific extensions.

You can use percentage values so that's how you do dynamic ramps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:RS_Context symbology Use for new symbology work
Projects
None yet
Development

No branches or pull requests

3 participants