Riverscapes / RiverscapesXML

Serving location for Riverscapes XSD validation schemas
http://xml.riverscapes.xyz
4 stars 1 forks source link

PRISM RSContext Layers #563

Open jtgilbert opened 1 year ago

jtgilbert commented 1 year ago

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.

joewheaton commented 1 year ago

I noticed this and hated it...

MattReimer commented 1 year ago

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