[mkgmap-dev] shape merger in high-prec-coord branch
From GerdP gpetermann_muenchen at hotmail.com on Tue Jan 14 21:29:34 GMT 2014
Hi Minko, I think this can happen when two overlapping shapes are merged. In this case the result can be an empty list of points. I'll add a check for this tomorrow. Gerd ligfietser wrote > Hi Gerd, > I tested mkgmap-high-prec-coord-r2966 on a few tiles but 3 tiles from 5 > were not processed. This is the errorlog: > > > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.rangeCheck(Unknown Source) > at java.util.ArrayList.get(Unknown Source) > at > uk.me.parabola.mkgmap.osmstyle.WrongAngleFixer.fixAnglesInShape(WrongAngleFixer.java:1260) > at > uk.me.parabola.mkgmap.filters.ShapeMergeFilter.merge(ShapeMergeFilter.java:117) > at > uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:1077) > at > uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:742) > at > uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:676) > at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:218) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:120) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:82) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > SEVERE (MapBuilder): splitter\10010044.o5m: Non-routable way with routable > type 0x08 starting at > http://www.openstreetmap.org/?mlat=51.801064&mlon=4.786823&zoom=17 is used > for a routable map. This leads to routing errors. Try --check-styles to > check the style. > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.rangeCheck(Unknown Source) > at java.util.ArrayList.get(Unknown Source) > at > uk.me.parabola.mkgmap.osmstyle.WrongAngleFixer.fixAnglesInShape(WrongAngleFixer.java:1260) > at > uk.me.parabola.mkgmap.filters.ShapeMergeFilter.merge(ShapeMergeFilter.java:117) > at > uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:1077) > at > uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:742) > at > uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:676) > at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:218) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:120) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:82) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > SEVERE (MapBuilder): splitter\10010045.o5m: Non-routable way with routable > type 0x08 starting at > http://www.openstreetmap.org/?mlat=51.966065&mlon=4.925107&zoom=17 is used > for a routable map. This leads to routing errors. Try --check-styles to > check the style. > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at .org > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- View this message in context: http://gis.19327.n5.nabble.com/shape-merger-in-high-prec-coord-branch-tp5793093p5793106.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] shape merger in high-prec-coord branch
- Next message: [mkgmap-dev] shape merger in high-prec-coord branch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list