Hi David,<br><br>the GET calls works if I remove the parameter, so the MAP file works fine.<br><br>If I change 25 in 50, I see 50 in Mapserver's error message, so I am 99,9% sure it is causing this error.<br><br>Resolution is a double, in my OGC map files I always use
90.71.<br><br>Even in a normal mode=map, Mapserver complains about the parameter.<br><br>Best regards,<br>Bart<br><br><div class="gmail_quote">On Jan 18, 2008 4:02 PM, Fawcett, David <<a href="mailto:David.Fawcett@state.mn.us">
David.Fawcett@state.mn.us</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div>
<div><span><font color="#0000ff" face="Arial" size="2">Bart,
</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">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!</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">A
couple of thoughts: </font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Does
the GET call work if you just remove '<font color="#000000" face="Times New Roman" size="3">map_resolution=25' from your URL? </font></font></span></div>
<div><span></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">The
error references a 'symbol definition error' near line 25, are you sure that
there isn't a syntax error in the map file? </font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">the
get_double() error sounds funny because the resolution value is supposed to be
an int.</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><span><font color="#0000ff" face="Arial" size="2">Is this just a problem with the WMS request, can
you get this resolution substitution call to work as a mode=map
request?</font></span></span></div><font color="#888888">
<div><span><span><font color="#0000ff" face="Arial" size="2"></font></span></span> </div>
<div><span><span><font color="#0000ff" face="Arial" size="2">David.</font></span></span></div></font></div><div><div></div><div class="Wj3C7c">
<blockquote style="margin-right: 0px;">
<div></div>
<div dir="ltr" align="left" lang="en-us"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> Bart van den
Eijnden [mailto:<a href="mailto:bartvde@gmail.com" target="_blank">bartvde@gmail.com</a>] <br><b>Sent:</b> Friday, January 18, 2008
8:44 AM<br><b>To:</b> Fawcett, David<br><b>Cc:</b>
<a href="mailto:MAPSERVER-USERS@lists.umn.edu" target="_blank">MAPSERVER-USERS@lists.umn.edu</a><br><b>Subject:</b> Re: [UMN_MAPSERVER-USERS]
map_resolution in 5.0 does not work<br><br></font></div>Hi David,<br><br>I did
read it, but could not really find a clue in it for my problem.<br><br>Are the
. not typos? There are also _ examples still in there.<br><br>Anyways, I tried
map.resolution=25 to no avail.<br><br>Best regards, <br>Bart<br><br>
<div class="gmail_quote">On Jan 18, 2008 2:59 PM, Fawcett, David <<a href="mailto:David.Fawcett@state.mn.us" target="_blank">David.Fawcett@state.mn.us</a>>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font color="#0000ff" face="Arial" size="2">Have you looked at the 5.0
migration guide? <a href="http://trac.osgeo.org/mapserver/browser/tags/rel-5-0-0/mapserver/MIGRATION_GUIDE.TXT" target="_blank">http://trac.osgeo.org/mapserver/browser/tags/rel-5-0-0/mapserver/MIGRATION_GUIDE.TXT
</a></font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">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</font></span></div><font color="#888888">
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">David.</font></span></div></font>
<div>
<div></div>
<div>
<blockquote style="margin-right: 0px;">
<div></div>
<div dir="ltr" align="left" lang="en-us"><font face="Tahoma" size="2">-----Original
Message-----<br><b>From:</b> UMN MapServer Users List [mailto:<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">MAPSERVER-USERS@LISTS.UMN.EDU</a>] <b>On Behalf Of </b>Bart
van den Eijnden<br><b>Sent:</b> Friday, January 18, 2008 6:03
AM<br><b>To:</b> <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">MAPSERVER-USERS@LISTS.UMN.EDU</a><br><b>Subject:</b>
[UMN_MAPSERVER-USERS] map_resolution in 5.0 does not
work<br><br></font></div>Hi list,<br><br>why does the following fail
against Mapserver 5.0, it used to work in previous
version:<br><br>map_resolution=25, for instance:<br><br><a href="http://test.intranet.rijkswaterstaat.nl/services/geoservices/basispakket/dtb?map_resolution=25&LAYERS=AAA161&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fpng&STYLES=default&HEIGHT=1260&VERSION=1.1.1&SRS=EPSG:28992&WIDTH=1530&BBOX=%2D64210%2E0044897549%2C273591%2E761008437%2C364210%2E004489755%2C626408%2E238991563&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage" target="_blank">
http://test.intranet.rijkswaterstaat.nl/services/geoservices/basispakket/dtb?map_resolution=25&LAYERS=AAA161&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fpng&STYLES=default&HEIGHT=1260&VERSION=1.1.1&SRS=EPSG:28992&WIDTH=1530&BBOX=%2D64210%2E0044897549%2C273591%2E761008437%2C364210%2E004489755%2C626408%2E238991563&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage
</a><br><br>Mapserver 5.0 returns:<br><br>getDouble(): Symbol definition
error. Parsing error near (25):(line 1)<br><br>TIA.<br><br>Best
regards,<br>Bart<br><br><br><br><br></blockquote></div></div></div></blockquote></div><br></blockquote></div></div></div>
</blockquote></div><br>