Changing a layer's DATA via the URL in MapServer 5.0

Jan Hartmann J.L.H.Hartmann at UVA.NL
Mon Nov 19 02:26:07 PST 2007


Hi,

I'm having trouble with changing a layer's  DATA  in MapServer 5.0 via the URL. In 4.10.0 the following works:

datapattern ".*"
/cgi-bin/mapserv?map=...map&mapext=...&mapsize=...mode=map&map_layer_0_data=amby/verzamelplan.tif

In 5.0 the same call causes the following error:

getSymbol(): Symbol definition error. Parsing error near (0):(line 1)

Changing the DATA part to: map_layer[0]_data, or map.layer[plan].data, as described in the Migration Guide gives:

loadLayer(): Unknown identifier. Parsing error near (amby/verzamelplan.tif):(line 1)


Is this a bug, or am I doing something wrong?

Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071119/ce2e886f/attachment.htm>


More information about the MapServer-users mailing list