<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=904030312-04112010>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=904030312-04112010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=904030312-04112010>I believe that INCLUDE works everywhere.&nbsp; Store 
your class on a disk as a text file and point to it with 
INCLUDE.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=904030312-04112010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=904030312-04112010>-Jukka Rahkonen-</SPAN></FONT></DIV><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV dir=ltr lang=fi class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>Lähettäjä:</B> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Sebastian E. 
  Ovide<BR><B>Lähetetty:</B> 4. marraskuuta 2010 13:56<BR><B>Vastaanottaja:</B> 
  mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> [mapserver-users] layers 
  sharing the same class ?<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>Hi All,</DIV>
  <DIV><BR></DIV>
  <DIV>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..&nbsp;</DIV>
  <DIV><BR></DIV>
  <DIV>Is there any way to define a CLASS (or a THEME ??) and just use it within 
  all the layers that share that class ?</DIV>
  <DIV><BR></DIV>
  <DIV>This is what I have:</DIV>
  <DIV><BR></DIV>
  <DIV>&nbsp;&nbsp;LAYER</DIV>
  <DIV>...</DIV>
  <DIV>...</DIV>
  <DIV>&nbsp;&nbsp; &nbsp;CLASSITEM "CLASS"</DIV>
  <DIV>&nbsp;&nbsp; &nbsp;CLASS</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp;EXPRESSION "A"</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp;COLOR "#FF0000"</DIV>
  <DIV>&nbsp;&nbsp; &nbsp;END</DIV>
  <DIV>...</DIV>
  <DIV>...</DIV>
  <DIV>...</DIV>
  <DIV>&nbsp;&nbsp; &nbsp;CLASS</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp;EXPRESSION "Z"</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp;COLOR "#000000"</DIV>
  <DIV>&nbsp;&nbsp; &nbsp;END</DIV>
  <DIV>&nbsp;&nbsp;END</DIV>
  <DIV><BR></DIV>Thanks<BR>-- <BR>Sebastian E. 
Ovide<BR><BR><BR><BR><BR></BLOCKQUOTE></BODY></HTML>