Hi,

I have a tif with the following attributes.


Value              Layer                      Windspeed

1             under 871mw/a                    5.6
4                 871-890                           5.7
8                 891-910                           5.8
2                 911-930                           5.9
5                 931-950                           6.0
9                 951-970                           6.1
3....etc
10
6
7
8



Unfortunately, the value column from which I want to symbolize the Raster 
doesn´t run from 1-10 in order of windspeed.  Don´t ask me why?
I want to display each "value" with a distinct color.  If I understand 
correctly, the sld for a discrete raster colormap would look this this...

<ColorMap type="intervals"> But in the documentation this is stated...

       "The values in each entry correspond to the upper bound for the color 
band such that colors are mapped to values less than the value of one  entry 
but 
greater than or equal to the next lower entry. For example, line 5 colors all 
values less than 150 to dark green (#008000) and line 6 colors all values less 
than 256 but greater than or equal to 150 to dark brown (#663333)."

Am I correct in assuming that to symboliize the value "2"...I would have to 
define it thus... 


<ColorMapEntry color="#FFFFFF" quantity="3" />

...using the value "3" instead of "2" , because according to the 
documenation..."colors are mapped to values "LESS" than the value of one  entry"

Can someone confirm my assumption?

Thanks,

Robert Buckley



------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to