I see your bbox has 0 on xmin.<br><br><div id=":vl">BBOX=0.0,5009377.0857,2504688.54285,7514065.62855<br></div><br>Is only a wrong copy on email ?<br><br><br><div class="gmail_quote">2012/10/23 Alessandro Pasotti <span dir="ltr"><<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> hi All,<br>
<br>
I'm in big troubles with a wierd error in python mapscript, the log<br>
reports: libpng error: image size exceeds user limits in IHDR<br>
<br>
image size is 256x256... using gif instead of png shows no errors (as<br>
expected)... any idea?<br>
<br>
the very same piece of code run fine on my testing machine, the error<br>
is only on production server.<br>
<br>
Mapserver version is 6.0.3, python 2.5 and the code is basically a<br>
wrapper to WMS service, the error appears just after<br>
<br>
map.OWSDispatch( req )<br>
<br>
output format is set to AGGA:<br>
<br>
OUTPUTFORMAT<br>
        NAME 'AGGA'<br>
        DRIVER AGG/PNG<br>
        IMAGEMODE RGBA<br>
   END<br>
<br>
the complete call is<br>
<br>
?LAYERS=track_1&TRANSPARENT=TRUE&FORMAT=image%2Fpng%3B%20mode%3D24bit&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=0.0,5009377.0857,2504688.54285,7514065.62855&WIDTH=256&HEIGHT=256<br>

<br>
It seems like wrong HEIGHT and WIDTH are passed to the raster buffer,<br>
I've already checked that the map object has the right size after<br>
OWSDispatch.<br>
<br>
Thanks in advance for any help!<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alessandro Pasotti<br>
w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>