The following error is repeatabe and appears always at the pont on the attached image.
Version: Mobile Atlas Creator (MOBAC) 1.9.13 (2126)
Platform: Windows XP (5.1) (windows)
Java VM: Java HotSpot(TM) Client VM (1.7.0_25-b17)
Max heap size: 989,88 MiB
CPU cores: 2
Thread: AtlasThread 1
Map
name=piemonte 15
mapSource=Custom map from 4uMaps/OSMTracker Tile Storage
zoom=15
maxTileCoordinate=4410111/3047679
minTileCoordinate=4346880/2967040
parameters=Tile size: (256/256) PNG 256 colors (8 bit))
Map type: XML
Map implementation: my-tiles-filesource.xml
Map revision: null
Error hierarchy:
MapCreationException: mobac.exceptions.MapCreationException: Error writing tile image: Error reading PNG image data
MapCreationException: Error writing tile image: Error reading PNG image data
IIOException: Error reading PNG image data
ZipException: incorrect header check
mobac.exceptions.MapCreationException: mobac.exceptions.MapCreationException: Error writing tile image: Error reading PNG image data
at mobac.program.atlascreators.AlpineQuestMap.createMap(AlpineQuestMap.java:322)
at mobac.program.AtlasThread.createMap(AtlasThread.java:355)
at mobac.program.AtlasThread.createAtlas(AtlasThread.java:202)
at mobac.program.AtlasThread.run(AtlasThread.java:120)
Caused by: mobac.exceptions.MapCreationException: Error writing tile image: Error reading PNG image data
at mobac.program.atlascreators.AlpineQuestMap.addLevelTiles(AlpineQuestMap.java:393)
at mobac.program.atlascreators.AlpineQuestMap.createMap(AlpineQuestMap.java:318)
... 3 more
Caused by: javax.imageio.IIOException: Error reading PNG image data
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at mobac.mapsources.custom.CustomLocalTileFilesMapSource.getTileImage(CustomLocalTileFilesMapSource.java:248)
at mobac.program.atlascreators.tileprovider.MapSourceProvider.getTileImage(MapSourceProvider.java:62)
at mobac.program.atlascreators.tileprovider.FilteredMapSourceProvider.getTileImage(FilteredMapSourceProvider.java:59)
at mobac.program.atlascreators.tileprovider.FilterTileProvider.getTileImage(FilterTileProvider.java:42)
at mobac.program.atlascreators.tileprovider.ConvertedRawTileProvider.getTileData(ConvertedRawTileProvider.java:44)
at mobac.program.atlascreators.AlpineQuestMap.addLevelTiles(AlpineQuestMap.java:370)
... 4 more
Caused by: java.util.zip.ZipException: incorrect header check
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source)
... 14 more
Looks like at least one PNG file downloaded from the server was defect.
I agree. If I create the atlas without PNG manipulation doesn't appears
errors. The problem is that often the map creation takes a long time in
particular using the PNG manipulation. Probably in this case for ONE tile
the map creation crashes.
Is it possible to add an option like "Ignore Tiles manipulation error"?
In the mean time I reduce tiles color depth form 24bit to 8bit using
another program.
Thanks for your reply.
Last edit: r_x 2013-07-25