Hi,
 
I believe that INCLUDE works everywhere.  Store your class on a disk as a text 
file and point to it with INCLUDE.
 
-Jukka Rahkonen-


________________________________

        Lähettäjä: [email protected] 
[mailto:[email protected]] Puolesta Sebastian E. Ovide
        Lähetetty: 4. marraskuuta 2010 13:56
        Vastaanottaja: [email protected]
        Aihe: [mapserver-users] layers sharing the same class ?
        
        
        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
        
        
        
        
        

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to