[mapserver-dev] Clarification on RFC 44 changes

Jeff McKenna jmckenna at gatewaygeomatics.com
Sat Apr 4 09:22:56 EDT 2009


I'm trying to understand the changes implemented in RFC#44 ("Restore URL 
modification of mapfiles to pre-5.0 levels").

With MapServer 5.2.2 the following works:

   mapserv?map_web=imagepath+/ms4w/tmp/ms_tmp+imageurl+/ms_tmp/

But with the MapServer 5.4.0 betas the following do not work:

   1) post 5.0-way:

   mapserv?map_web=imagepath+/ms4w/tmp/ms_tmp+imageurl+/ms_tmp/

      Error: "getString(): Symbol definition error. Parsing error near 
(ms_tmp):(line 1)"

   2) pre 5.0-way:

   mapserv?map_web_imagepath=/ms4w/tmp/ms_tmp&map_web_imageurl=/ms_tmp/

      Error: "loadWeb()Unknown identifier.  Parsing error near 
(/ms4w/tmp/ms_tmp/):(line 1)

What is the correct way for 5.4.0 ???


Other notes:
- I have verified that the mapfile is valid in 5.4.0 with shp2img

thanks.

-jeff




-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/






More information about the mapserver-dev mailing list