Gerjan,<br>
<br>
&nbsp;A simple alternative to SLD would be to append the following to your map request :<br>
<br>
&nbsp; &nbsp; &amp;map_road_Roads_color=255+255+0<br>
<br>
&nbsp; where &quot;road&quot; is the LAYER NAME, &quot;Roads&quot; is the CLASS NAME, and 255+255+0 are the RGB values respectively.<br>
&nbsp; <br>
&nbsp;just for reference, the mapfile entry would look like:<br>
<br>
LAYER<br>
&nbsp; NAME road<br>
&nbsp; TYPE LINE<br>
&nbsp; STATUS OFF<br>
&nbsp; DATA road.shp<br>
&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp; NAME &quot;Roads&quot;<br>
&nbsp;&nbsp;&nbsp; SYMBOL 0<br>
&nbsp;&nbsp;&nbsp; COLOR 220 0 0<br>
&nbsp; END<br>
END # Layer<br>
<br>
&nbsp;Of course this does not have the power of SLD but it gets the job done.<br>
<br>
matt<br>
<br><div><span class="gmail_quote">On 9/15/05, <b class="gmail_sendername">Gerjan Walrecht</b> &lt;<a href="mailto:WalrechtG@vertis.nl">WalrechtG@vertis.nl</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<p><font size="2">Bart,</font>
</p>

<p><font size="2">To be honest we hadn't looked at this before, looks
useful, but at the moment we do not want to use an extra XML file only
to pass a parameter. (Where do were put the file, etc). Would you also
happen to know how to file a RFC?</font></p>

<p><font size="2">Gerjan</font>
</p>

<p><font size="2">-----Oorspronkelijk bericht-----</font>
<br><font size="2">Van: <a href="mailto:bartvde@xs4all.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bartvde@xs4all.nl</a> [<a href="mailto:bartvde@xs4all.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mailto:bartvde@xs4all.nl</a>] </font>
<br><font size="2">Verzonden: donderdag 15 september 2005 9:41</font>
<br><font size="2">Aan: Gerjan Walrecht</font>
<br><font size="2">CC: <a href="mailto:mapserver-users@lists.umn.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mapserver-users@lists.umn.edu</a></font>
<br><font size="2">Onderwerp: Re: [UMN_MAPSERVER-USERS] dynamic colors in mapfile</font>
</p><div><span class="e" id="q_10658e005da63d10_1">

<p><font size="2">Why not use the WMS SLD (Styled Layer Descriptor) interface of Mapserver</font>
<br><font size="2">for that?</font>
</p>

<p><font size="2"><a href="http://mapserver.gis.umn.edu/doc46/sld-howto.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mapserver.gis.umn.edu/doc46/sld-howto.html</a></font>
</p>

<p><font size="2">Best regards,</font>
<br><font size="2">Bart</font>
</p>

<p><font size="2">&gt; Hello List,</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt; Currently we are developing an Mapserver web application which demands</font>
<br><font size="2">&gt; that</font>
<br><font size="2">&gt; users can change the colors of the generated map (after refreshing the map</font>
<br><font size="2">&gt; of course). We therefore wanted to use variables in the mapfile:</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt; ...</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt; COLOR&nbsp; '%color1%'</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt; ...</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt; But unfortunately this is impossible, or are we overlooking something? If</font>
<br><font size="2">&gt; not, I would like to make a RFC for this, but I haven't figured out how to</font>
<br><font size="2">&gt; do this, is there a procedure/documents to make a Request for change</font>
<br><font size="2">&gt; (RFC)?</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt; Thanks in advance!</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt; Gerjan</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
<br><font size="2">&gt;</font>
</p>
<br>


</span></div></blockquote></div><br><br clear="all"><br>-- <br>Matt Perry<br><a href="mailto:perrygeo@gmail.com">perrygeo@gmail.com</a><br><a href="http://www.perrygeo.net">http://www.perrygeo.net</a>