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

Scott public at postholer.com
Sat Dec 5 09:24:27 PST 2020


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


More information about the mapserver-users mailing list