logo separator

[mkgmap-dev] AssertionError: Point marked as boundary node

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Sep 1 08:05:41 BST 2018

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 at lists.mkgmap.org.uk> im Auftrag von Bernd Weigelt <weigelt.bernd at web.de>
Gesendet: Freitag, 31. August 2018 11:01
An: mkgmap-dev at 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


More information about the mkgmap-dev mailing list