<div dir="ltr">Not really. I expect this to be a kind of test request, but I'm not sure. At least with qgis this looks to depend on client settings, too.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/10 thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Martin,</div><div>do you know why these clients are sending 1px getmap requests ?</div><div><br></div>
<div>--</div><div>thomas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On 10 April 2013 20:40, Martin Kofahl <span dir="ltr"><<a href="mailto:martin.kofahl@gmail.com" target="_blank">martin.kofahl@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr">Hello,<div>currently, I see wms clients (qgis, arcgis 10) doing getmap requests with height=1. MapServer (6.2) throws an exception: </div><div><br></div><div>msDrawMap(): Image handling error. Unable to initialize image.</div>
<div>msCalculateScale(): General error message. Invalid image extent, minx=nan, miny=nan, maxx=nan, maxy=nan.</div><div><br></div><div>The reason is in msAdjustExtent(), where the cell size is calculated using MS_CELLSIZE(miny,maxy,height), defined as ((max - min)/(d-1)). Formally, I don't see any reasons against 1 pixel requests. What are the reasons for "d-1"?</div>
<span><font color="#888888">
<div><br></div><div>Martin</div></font></span></div>
<br></div></div>_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>