Re: [mapserver-users] RASTER conditionally use default palette color based on pixel value

2020-12-07 Thread Steve Lime
Seems like you'd have to draw it twice - once with the using the palette and a second time where you do whatever filtering and color re-assignment you want. On Sat, Dec 5, 2020 at 11:24 AM Scott wrote: > > For instance: > > ... > > CLASS >NAME "useDefaultColor" >EXPRESSION

[mapserver-users] RASTER conditionally use default palette color based on pixel value

2020-12-05 Thread Scott
For instance: ... CLASS NAME "useDefaultColor" EXPRESSION ([pixel] >= 100 && [pixel] < 200) STYLE #COLOR "#cc" <-- this works (uncommented of course) COLOR [red] [green] [blue] <-- this does not END END ... Thank you! --