Hi all, I'm working on an administration tool for our Flex/PHP/Mapserver application. The goal is to render the styles and change parameters dynamically on the clien application by using a URL like this :
http://my_server/fcgi-bin/mapserv?map=my_mapfile.map&map.layer[couche_s].class[0].style[0]=ANGLE+30+COLOR+200+100+50+SYMBOL+hachure+SIZE+5&icon=couche_s,0&mode=legendicon It works for parameters like COLOR, OUTLINECOLOR, SYMBOL, WIDTH, SIZE but with parameter GAP it throws an error : loadStyle(): Unknown identifier. Parsing error near (GAP):(line 1) If the style is written in the mapfile, the legend icon renders using this URL : http://my_server/fcgi-bin/mapserv?map=my_mapfile.map&&icon=couche_s,0&mode=legendicon STYLE ANGLE 30 COLOR 200 100 50 GAP 3 SIZE 5 SYMBOL "hachure" END Where is the problem ? Thanks -- Jean Pierre MALOBERTI
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
