I tried to create paper atlas (png) containing Layer 18. After downloading images, program raised negative array size exception. I have also tried Layers 16 and 14 on same area with no problem. Smaller areas worked well.
Version: Mobile Atlas Creator (MOBAC) 1.9.10 (2079 exported)
Platform: Linux (3.11.0-18-generic) (gnome)
Distribution name: Ubuntu 13.1
Java VM: OpenJDK 64-Bit Server VM (1.7.0_51-b00)
Max heap size: 910.50 MiB
CPU cores: 8
Thread: AtlasThread 7
Error hierarchy:
NegativeArraySizeException: null
java.lang.NegativeArraySizeException
at java.awt.image.DataBufferByte.<init>(DataBufferByte.java:76)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:266)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:399)
at mobac.utilities.Utilities.safeCreateBufferedImage(Utilities.java:119)
at mobac.program.atlascreators.PaperAtlas.processPages(PaperAtlas.java:198)
at mobac.program.atlascreators.PaperAtlas.createMap(PaperAtlas.java:120)
at mobac.program.atlascreators.PaperAtlasPng.createMap(PaperAtlasPng.java:49)
at mobac.program.AtlasThread.createMap(AtlasThread.java:351)
at mobac.program.AtlasThread.createAtlas(AtlasThread.java:206)
at mobac.program.AtlasThread.run(AtlasThread.java:131)</init></init>
What is your maximum map size and the other paper atlas settings? Because it looks like you are trying to create an PNG image that is too large. Reduce the maximum map size and it will work as expected.
Or switch to an OziExplorer PNG atlas. That format is not limited regarding it's size.
Last edit: r_x 2014-04-03
My paper atlas settings:
Size:Selection
All margins:0cm
additions: all check-boxes unchecked
I'm trying to create an PNG image that is large. I switched to OziExplorer PNG atlas, and it worked prerfectly. Thanks for your help.