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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to