[mapserver-users] runtime substitution - class name

Fawcett, David (MPCA) david.fawcett at state.mn.us
Tue Aug 16 13:04:51 PDT 2011


Is it still possible to runtime-sub a class name in 6.0.1?

I used to do it like this in 4.x:
http://myserver/cgi-bin/mapserv?mode=legend&map=mymap.map&map_basemap_class_0_name=fitger

I am trying to do it like this in 6.0.1:
http://myserver/cgi-bin/mapserv?mode=map&map=/web/mymap.map&map.layer[0].class[1]=NAME+%27fitger%27

I get this error message:

loadClass(): Unknown identifier. Parsing error near (NAME):(line 1)

I have attempted to use a validation block also, but can't find an example of what key name to use for map objects (e.g. class name)



Thanks, 

David.






More information about the MapServer-users mailing list