Commit r3809: overlay major roundabout ways (0x0c) with 0x10801..0x10804

Version mkgmap-r3809 was committed by gerd on Thu, 16 Feb 2017 overlay major roundabout ways (0x0c) with 0x10801..0x10804 This improves rendering on the PC and some devices http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3809

With this latest version of mkgmap i get the following error: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at uk.me.parabola.mkgmap.filters.ShapeMergeFilter.merge(ShapeMergeFilter.java:77) at uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:1121) at uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:793) at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:703) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:234) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:265) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:261) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Exiting - if you want to carry on regardless, use the --keep-going option Number of ExitExceptions: 1 Version 3806 works ok... -- View this message in context: http://gis.19327.n8.nabble.com/Commit-r3809-overlay-major-roundabout-ways-0x... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Version 3808 also fails with the exact same error. -- View this message in context: http://gis.19327.n8.nabble.com/Commit-r3809-overlay-major-roundabout-ways-0x... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Uli, please try again with r3810. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von UliBaer <ulibaer@gmail.com> Gesendet: Donnerstag, 16. Februar 2017 15:46:28 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Commit r3809: overlay major roundabout ways (0x0c) with 0x10801..0x10804 Version 3808 also fails with the exact same error. -- View this message in context: http://gis.19327.n8.nabble.com/Commit-r3809-overlay-major-roundabout-ways-0x... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Just wanted to post a patch with: ... if (usableShapes.size() > 1) { ...(calculate)... } return mergedShapes; Then i saw your post with a similar patch. Confirmed, is running now! -- View this message in context: http://gis.19327.n8.nabble.com/Commit-r3809-overlay-major-roundabout-ways-0x... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Uli, Your solution with checking size > 1 is clearer, used it in r3811. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von UliBaer <ulibaer@gmail.com> Gesendet: Donnerstag, 16. Februar 2017 16:21:18 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Commit r3809: overlay major roundabout ways (0x0c) with 0x10801..0x10804 Just wanted to post a patch with: ... if (usableShapes.size() > 1) { ...(calculate)... } return mergedShapes; Then i saw your post with a similar patch. Confirmed, is running now! -- View this message in context: http://gis.19327.n8.nabble.com/Commit-r3809-overlay-major-roundabout-ways-0x... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Gerd Petermann
-
svn commit
-
UliBaer