[mapserver-users] layers sharing the same class ?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Nov 4 08:04:45 EDT 2010


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ä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Sebastian E. Ovide
	Lähetetty: 4. marraskuuta 2010 13:56
	Vastaanottaja: mapserver-users at lists.osgeo.org
	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
	
	
	
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101104/6c732fa2/attachment.html


More information about the mapserver-users mailing list