See the &quot;URL Configuration Changes&quot; section of: <a href="http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT">http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT</a><br>
<br><br>-jeff<br><br><br><br><br><br><div class="gmail_quote">On Sun, Mar 2, 2008 at 9:12 AM, Michael Wessel &lt;<a href="mailto:michael_wessel@gmx.de">michael_wessel@gmx.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear MapServer list,<br>
<br>
according to<br>
<br>
<a href="http://mapserver.gis.umn.edu/docs/reference/cgi/controls" target="_blank">http://mapserver.gis.umn.edu/docs/reference/cgi/controls</a><br>
&quot;Changing map file parameters via a form or a URL&quot;<br>
<br>
it should be possible to change the fill color<br>
of my map polygons to blue via the GET parameter<br>
<br>
map_lakes_class_color=0+0+255, e.g. in<br>
<br>
<a href="http://localhost/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/test4.map&amp;map_lakes_class_color=0+0+255" target="_blank">http://localhost/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/test4.map&amp;map_lakes_class_color=0+0+255</a><br>

<br>
However, there is no change; the polygons stay red,<br>
as defined in the reference map file:<br>
<br>
&nbsp;MAP<br>
 &nbsp;NAME &#39;map&#39;<br>
 &nbsp;STATUS ON<br>
 &nbsp;IMAGETYPE &nbsp; &nbsp; &nbsp;PNG<br>
 &nbsp;EXTENT &nbsp; &nbsp; &nbsp; &nbsp; -3037632.000000 -708658.398506 1846021.625000 4934649.999999<br>
 &nbsp;SIZE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1024 768<br>
 &nbsp;SHAPEPATH &nbsp; &nbsp; &nbsp;&quot;/srv/www/mapserver/&quot;<br>
<br>
&nbsp;WEB<br>
 &nbsp; TEMPLATE &quot;/home/mi.wessel/test/global.html&quot;<br>
 &nbsp; IMAGEPATH &quot;/srv/www/htdocs/temp/&quot;<br>
 &nbsp; IMAGEURL &quot;../temp/&quot;<br>
&nbsp;END<br>
<br>
 &nbsp;LAYER<br>
 &nbsp; &nbsp;NAME &nbsp; &nbsp; &nbsp; &nbsp; &#39;lakes&#39;<br>
 &nbsp; &nbsp;STATUS &nbsp; &nbsp; &nbsp; DEFAULT<br>
 &nbsp; &nbsp;TYPE &nbsp; &nbsp; &nbsp; &nbsp; POLYGON<br>
 &nbsp; &nbsp;DATA &nbsp; &nbsp; &nbsp; &nbsp; lakes<br>
<br>
 &nbsp; &nbsp;CLASS<br>
 &nbsp; &nbsp; &nbsp;COLOR 100 0 0<br>
 &nbsp; &nbsp;END<br>
 &nbsp;END<br>
<br>
END<br>
<br>
I have also tried<br>
<br>
map_layer_0_class_color=200+0+0<br>
<br>
but then I get<br>
<br>
getSymbol(): Symbol definition error. Parsing error near (0):(line 1)he error<br>
<br>
What&#39;s wrong here? Adding a name to the class doesn&#39;t work either.<br>
<br>
I am using MapServer 5.0.2 (2008-01-28) on SuSE Linux 10.2.<br>
<br>
Best regards and thanks in advance,<br>
<br>
Michael<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>