[mapserver-users] libpng error: image size exceeds user limits in IHDR

Andrea Peri aperi2007 at gmail.com
Tue Oct 23 11:38:28 PDT 2012


I see your bbox has 0 on xmin.

BBOX=0.0,5009377.0857,2504688.54285,7514065.62855

Is only a wrong copy on email ?


2012/10/23 Alessandro Pasotti <apasotti at gmail.com>

>  hi All,
>
> I'm in big troubles with a wierd error in python mapscript, the log
> reports: libpng error: image size exceeds user limits in IHDR
>
> image size is 256x256... using gif instead of png shows no errors (as
> expected)... any idea?
>
> the very same piece of code run fine on my testing machine, the error
> is only on production server.
>
> Mapserver version is 6.0.3, python 2.5 and the code is basically a
> wrapper to WMS service, the error appears just after
>
> map.OWSDispatch( req )
>
> output format is set to AGGA:
>
> OUTPUTFORMAT
>         NAME 'AGGA'
>         DRIVER AGG/PNG
>         IMAGEMODE RGBA
>    END
>
> the complete call is
>
>
> ?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
>
> It seems like wrong HEIGHT and WIDTH are passed to the raster buffer,
> I've already checked that the map object has the right size after
> OWSDispatch.
>
> Thanks in advance for any help!
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121023/13d7e21a/attachment-0001.html>


More information about the mapserver-users mailing list