[mapserver-users] Re: ‘mode=map’ with WMC of dynamic <Layer> failing with getString() error

myOpenLayersUName joanne.mcgraw at SYMPATICO.CA
Mon Dec 13 08:05:56 PST 2010


"That error usually occurs when there is a problem with the syntax of your
CGI query string."

That is consistent with the post I found at:
http://osgeo-org.1803224.n2.nabble.com/Clarification-on-RFC-44-changes-td2585073.html
which suggests that there may be a problem with the syntax of
“map.layer[line]=DATA ‘id3/vector’ END” in my URL but I don’t know what an
alternative correct way to send this information would be that would work
for both the WMS GetMap requests and the “mode=map” method. I haven’t been
able to get either the WMS GetMap request or the “mode=map” request to work
trying to guess. 

Is there anyone out there who can provide any help with this? I have
reviewed the URL Jeff provided and tried using an underscore rather than the
dot notation but continue to receive the getString() error. Is there some
alternative syntax to try for specifying the DATA parameter that would work
for both a getMap request and using “mode=map”? I don't see anything else in
my URL that could be wrong...but maybe I've been looking at it too long.



Also, to respond to Ophidian, I have tried inserting %20 and '+' in the
blanks and tried replacing the single quotes as shown below. All to no
effect. Thanks for the suggestion though.

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/testing/dynamic.map&map.layer[line]=DATA%20%91id3/vector%92%20END&layers=line&mode=map

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/mode-map-with-WMC-of-dynamic-Layer-failing-with-getString-error-tp5824774p5831237.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list