logo separator

[mkgmap-dev] There is not enough room in a single garmin map for all the input data

From GerdP gpetermann_muenchen at hotmail.com on Fri Dec 28 11:24:13 GMT 2012

I still get this message in mkgmap
when processing data that was created 
with splitter r275 and --precomp-sea option.

It seems that it is not sufficient to count the nodes in the precompiled 
sea data, which leads me to the assumption that this is a general problem
with polygons.
I don't know what else we could do to handle this problem :-)

I've added a few lines of code to get a stacktrace (see attached patch):

uk.me.parabola.imgfmt.app.BufferedImgFileWriter.ensureSize(BufferedImgFileWriter.java:197)
uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put(BufferedImgFileWriter.java:160)
uk.me.parabola.imgfmt.app.trergn.Polyline.write(Polyline.java:145)
uk.me.parabola.imgfmt.app.trergn.RGNFile.addMapObject(RGNFile.java:140)
uk.me.parabola.imgfmt.app.map.Map.addMapObject(Map.java:242)
uk.me.parabola.mkgmap.build.MapBuilder$ShapeAddFilter.doFilter(MapBuilder.java:1156)
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
uk.me.parabola.mkgmap.build.LayerFilterChain.addElement(LayerFilterChain.java:66)
uk.me.parabola.mkgmap.filters.PolygonSplitterFilter.doFilter(PolygonSplitterFilter.java:88)
uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57)
uk.me.parabola.mkgmap.build.LayerFilterChain.startFilter(LayerFilterChain.java:75)
uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:1027)
uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:712)
uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:646)
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:200)
uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:97)
uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
uk.me.parabola.mkgmap.main.Main$1.call(Main.java:208)
uk.me.parabola.mkgmap.main.Main$1.call(Main.java:1)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:662)


stacktrace.patch
<http://gis.19327.n5.nabble.com/file/n5741801/stacktrace.patch>  

Gerd





--
View this message in context: http://gis.19327.n5.nabble.com/There-is-not-enough-room-in-a-single-garmin-map-for-all-the-input-data-tp5741801.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list