mapcache icon indicating copy to clipboard operation
mapcache copied to clipboard

libpng / IDAT CRC error when seeding tiles (CAIRO/PNG Driver)

Open tbonfort opened this issue 14 years ago • 0 comments

Reporter: theram Date: 2012/02/16 - 22:43 While using mapcache_seed to seed tiles from Mapserver, using CAIRO/PNG driver, mapcache_seed fails due to possible corrupt image returned from Mapserver.

Error:

libpng warning: Ignoring bad adaptive filter type libpng warning: Extra compressed data. libpng warning: Extra compression data. libpng error: IDAT: CRC error failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile failed to setjmp(png_jmpbuf(png_ptr)) seeding tile 50 30 7

Switching Mapserver OUTPUTFORMAT to use AGG/PNG driver does not encounter the error.

Mapfile & mapcache.xml file attached.

mapcache_seed params that reproduces the error:

mapcache_seed -c /tmp/tb/png_error_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 6,7

(reproducable at these zoom levels, error occurs at same tile each time: seeding tile 50 30 7)

Fonts & data sent to Thomas directly

tbonfort avatar Mar 29 '12 14:03 tbonfort