map_resolution in 5.0 does not work
Fawcett, David
David.Fawcett at STATE.MN.US
Fri Jan 18 07:02:16 PST 2008
Bart,
Apologies. I didn't notice that it was you who had posted the question.
Usually, if I see that you have pointed out an issue, I assume that it
is a real bug right away!
A couple of thoughts:
Does the GET call work if you just remove 'map_resolution=25' from your
URL?
The error references a 'symbol definition error' near line 25, are you
sure that there isn't a syntax error in the map file?
the get_double() error sounds funny because the resolution value is
supposed to be an int.
Is this just a problem with the WMS request, can you get this resolution
substitution call to work as a mode=map request?
David.
-----Original Message-----
From: Bart van den Eijnden [mailto:bartvde at gmail.com]
Sent: Friday, January 18, 2008 8:44 AM
To: Fawcett, David
Cc: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] map_resolution in 5.0 does
not work
Hi David,
I did read it, but could not really find a clue in it for my
problem.
Are the . not typos? There are also _ examples still in there.
Anyways, I tried map.resolution=25 to no avail.
Best regards,
Bart
On Jan 18, 2008 2:59 PM, Fawcett, David
<David.Fawcett at state.mn.us> wrote:
Have you looked at the 5.0 migration guide?
http://trac.osgeo.org/mapserver/browser/tags/rel-5-0-0/mapserver/MIGRATI
ON_GUIDE.TXT
If not, take a look at the section titled, 'URL
configuration changes'. I don't know for sure, but you might want to
try something like map.resolution=25
David.
-----Original Message-----
From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Bart van den Eijnden
Sent: Friday, January 18, 2008 6:03 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] map_resolution in
5.0 does not work
Hi list,
why does the following fail against Mapserver
5.0, it used to work in previous version:
map_resolution=25, for instance:
http://test.intranet.rijkswaterstaat.nl/services/geoservices/basispakket
/dtb?map_resolution=25&LAYERS=AAA161&REQUEST=GetMap&SERVICE=WMS&FORMAT=i
mage%2Fpng&STYLES=default&HEIGHT=1260&VERSION=1.1.1&SRS=EPSG:28992&WIDTH
=1530&BBOX=%2D64210%2E0044897549%2C273591%2E761008437%2C364210%2E0044897
55%2C626408%2E238991563&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.
se_inimage
Mapserver 5.0 returns:
getDouble(): Symbol definition error. Parsing
error near (25):(line 1)
TIA.
Best regards,
Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080118/c3f88b2e/attachment.htm>
More information about the MapServer-users
mailing list