Hi Ticker,

thank you!

Is that OSM way an error in the OSM data?

I don´t know what to do with the patch. I asume, that will be integrated in one of the next mkgmap-versions?

Greets

Arndt
Ticker Berkin < rwb-mkgmap@jagit.co.uk> hat am 21. Juni 2020 um 13:03 geschrieben:


Hi Arndt

An OSM Way rather than a Node tagged with highway=motorway_junction
would cause this error.

Patch attached to warn instead of crashing.

Ticker


On Sun, 2020-06-21 at 09:47 +0200, Arndt Röhrig wrote:> Hi @all,
there is a problem in sweden. mkgmap 4553 reports an error and in the
map a area is missing.
The tile is missing with my style and with the default style too.
r4507 works fine.

This area:
https://speichenkarte.de/bilder/schweden.png

This tile:
https://speichenkarte.de/bilder/88500015.osm.pbf

Greets
Arndt

java.lang.ClassCastException: class
uk.me.parabola.mkgmap.reader.osm.Way cannot be cast to class
uk.me.parabola.mkgmap.reader.osm.Node
(uk.me.parabola.mkgmap.reader.osm.Way and
uk.me.parabola.mkgmap.reader.osm.Node are in unnamed module of loader
'app')
at
uk.me.parabola.mkgmap.reader.osm.HighwayHooks.finishExits(HighwayHook
s.java:223)
at
uk.me.parabola.mkgmap.reader.osm.HighwayHooks.end(HighwayHooks.java:1
86)
at
uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingH
ooksChain.java:78)
at
uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSour
ce.java:150)
at
uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:160)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:58)
at
uk.me.parabola.mkgmap.main.Main.lambda$processFilename$44(Main.java:2
89)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo
lExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
olExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev