[mapserver-users] layers sharing the same class ?

Sebastian E. Ovide sebastian.ovide at gmail.com
Thu Nov 4 04:55:38 PDT 2010


Hi All,

I have a lot of layers that are displayed using the same colors. If I need
to change a color for, I have to go trough all the layers, one by one, and
change all the colors..

Is there any way to define a CLASS (or a THEME ??) and just use it within
all the layers that share that class ?

This is what I have:

  LAYER
...
...
    CLASSITEM "CLASS"
    CLASS
      EXPRESSION "A"
      COLOR "#FF0000"
    END
...
...
...
    CLASS
      EXPRESSION "Z"
      COLOR "#000000"
    END
  END

Thanks
-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101104/ea6825f1/attachment.htm>


More information about the MapServer-users mailing list