AssertionError: Point marked as boundary node

Hi What should this message say? I want to find out, what's going wrong here, but how can i identify the node, which node is wrong? This is the link to the splitter tile http://files.mkgmap.org.uk/download/436/65030009.o5m Bernd Time started: Fri Aug 31 10:51:04 CEST 2018 java.lang.AssertionError: Point marked as boundary node at 2353152/162997 not on boundary of [2353152, 151552, 2375680, 165888] at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 168) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 105) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java:83) at uk.me.parabola.mkgmap.general.AreaClipper.clipLine(AreaClipper.java:46) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1179) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1165) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1137) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:805) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:241) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java: 159) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/ java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1135) at java.base/ java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 635) at java.base/java.lang.Thread.run(Thread.java:844) Exiting - if you want to carry on regardless, use the --keep-going option

Hi Maybe it it this relation? https://www.openstreetmap.org/relation/7400#map=9/50.5323/3.1554 Am Freitag, 31. August 2018, 11:01:04 CEST schrieben Sie:
Hi
What should this message say? I want to find out, what's going wrong here, but how can i identify the node, which node is wrong? This is the link to the splitter tile http://files.mkgmap.org.uk/download/436/65030009.o5m
Bernd
Time started: Fri Aug 31 10:51:04 CEST 2018 java.lang.AssertionError: Point marked as boundary node at 2353152/162997 not on boundary of [2353152, 151552, 2375680, 165888] at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 168) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 105) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java:83) at uk.me.parabola.mkgmap.general.AreaClipper.clipLine(AreaClipper.java:46) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1179) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1165) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1137) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:805) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:241) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java : 159) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/ java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1135) at java.base/ java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 635) at java.base/java.lang.Thread.run(Thread.java:844) Exiting - if you want to carry on regardless, use the --keep-going option

Hi Bernd, thanks for reporting. An AssertionError typically means something went wrong in the program logic. You cannot do much so please report to the list. I can reproduce the problem here, but I don't yet know what is wrong. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Bernd Weigelt <weigelt.bernd@web.de> Gesendet: Freitag, 31. August 2018 11:01 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] AssertionError: Point marked as boundary node Hi What should this message say? I want to find out, what's going wrong here, but how can i identify the node, which node is wrong? This is the link to the splitter tile http://files.mkgmap.org.uk/download/436/65030009.o5m Bernd Time started: Fri Aug 31 10:51:04 CEST 2018 java.lang.AssertionError: Point marked as boundary node at 2353152/162997 not on boundary of [2353152, 151552, 2375680, 165888] at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 168) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 105) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java:83) at uk.me.parabola.mkgmap.general.AreaClipper.clipLine(AreaClipper.java:46) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1179) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1165) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1137) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:805) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:241) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java: 159) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/ java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1135) at java.base/ java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 635) at java.base/java.lang.Thread.run(Thread.java:844) Exiting - if you want to carry on regardless, use the --keep-going option

Hi Bernd, okay, this was a special case introduced with r4223 [1]. The node 5609637907 is very close to the tile boundary and is also part of a way that is an admin_level=2 boundary. In this case mkgmap adds a node that is exactly on the tile boundary and later detects that this node causes a zig-zagging. The WrongAngleFixer replaces the artificial node with the original one and that causes the Assertion Error. I hope I corrected this with r4237 [2] ciao, Gerd [1] http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4223 [2] http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4237 ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Bernd Weigelt <weigelt.bernd@web.de> Gesendet: Freitag, 31. August 2018 11:01 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] AssertionError: Point marked as boundary node Hi What should this message say? I want to find out, what's going wrong here, but how can i identify the node, which node is wrong? This is the link to the splitter tile http://files.mkgmap.org.uk/download/436/65030009.o5m Bernd Time started: Fri Aug 31 10:51:04 CEST 2018 java.lang.AssertionError: Point marked as boundary node at 2353152/162997 not on boundary of [2353152, 151552, 2375680, 165888] at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 168) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java: 105) at uk.me.parabola.mkgmap.general.LineClipper.clip(LineClipper.java:83) at uk.me.parabola.mkgmap.general.AreaClipper.clipLine(AreaClipper.java:46) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1179) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1165) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addLine(StyledConverter.java: 1137) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:805) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:241) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java: 159) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/ java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1135) at java.base/ java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 635) at java.base/java.lang.Thread.run(Thread.java:844) Exiting - if you want to carry on regardless, use the --keep-going option

Hi Gerd Thank you for this fast fix, will test it when it's on the download site ;-) My build script creates a new areas.list every month to prevent to much nodes or similiar errors, a new one was created this morning. With the new file, the build process run as expected. Bernd Am Samstag, 1. September 2018, 09:05:41 CEST schrieb Gerd Petermann:
Hi Bernd,
okay, this was a special case introduced with r4223 [1]. The node 5609637907 is very close to the tile boundary and is also part of a way that is an admin_level=2 boundary. In this case mkgmap adds a node that is exactly on the tile boundary and later detects that this node causes a zig-zagging. The WrongAngleFixer replaces the artificial node with the original one and that causes the Assertion Error. I hope I corrected this with r4237 [2]
ciao, Gerd
[1] http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4223 [2] http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4237
participants (2)
-
Bernd Weigelt
-
Gerd Petermann