See the "URL Configuration Changes" 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 <<a href="mailto:michael_wessel@gmx.de">michael_wessel@gmx.de</a>> 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>
"Changing map file parameters via a form or a URL"<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&map_lakes_class_color=0+0+255" target="_blank">http://localhost/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/test4.map&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>
 MAP<br>
  NAME 'map'<br>
  STATUS ON<br>
  IMAGETYPE      PNG<br>
  EXTENT         -3037632.000000 -708658.398506 1846021.625000 4934649.999999<br>
  SIZE           1024 768<br>
  SHAPEPATH      "/srv/www/mapserver/"<br>
<br>
 WEB<br>
   TEMPLATE "/home/mi.wessel/test/global.html"<br>
   IMAGEPATH "/srv/www/htdocs/temp/"<br>
   IMAGEURL "../temp/"<br>
 END<br>
<br>
  LAYER<br>
    NAME         'lakes'<br>
    STATUS       DEFAULT<br>
    TYPE         POLYGON<br>
    DATA         lakes<br>
<br>
    CLASS<br>
      COLOR 100 0 0<br>
    END<br>
  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's wrong here? Adding a name to the class doesn'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>