[mapserver-users] Error MsDrawMap Image handling error when using PNG

Gerhard Völkl gkvoelkl at nelson-games.de
Thu Aug 12 03:15:38 PDT 2021


Hello,

when using a png image as symbol I got the error

Image handling error

When using a gif image all is fine.
But I can’t change all 1000 Images to gif.

What can I do? Whatˋs wrong?

Here an example Output:

/usr/lib/cgi-bin/mapserv QUERY_STRING="map=/data/ows/maps/test.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=725521.7,5433653.4,726708.5,5434495.5&CRS=EPSG:25832&WIDTH=1048&HEIGHT=317&LAYERS=test&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE"
libpng error: bad parameters to zlib
Content-Type: text/xml; charset=UTF-8
 
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named 'test-layer'.
</ServiceException>
</ServiceExceptionReport>
GDAL: In GDALDestroy - unloading GDAL shared library.

Thanks

Best regards Gerhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210812/988a3ae2/attachment.html>


More information about the mapserver-users mailing list