[mapserver-users] RASTER conditionally use default palette color based on pixel value
Steve Lime
sdlime at gmail.com
Mon Dec 7 10:09:38 PST 2020
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 <public at postholer.com> wrote:
>
> For instance:
>
> ...
>
> CLASS
> NAME "useDefaultColor"
> EXPRESSION ([pixel] >= 100 && [pixel] < 200)
> STYLE
> #COLOR "#cc0000" <-- this works (uncommented of course)
> COLOR [red] [green] [blue] <-- this does not
> END
> END
> ...
>
> Thank you!
>
>
> --
> www.postholer.com
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20201207/637e1268/attachment.htm>
More information about the MapServer-users
mailing list