Jan,
You could try something like
...&map.layer[plan]=data+amby/verzamelplan.tif
This seem to work.
Best Regards,
Jan Hartmann wrote:
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
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: [EMAIL PROTECTED]
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------