logo separator

[mkgmap-dev] Missing area in sweden

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Sun Jun 21 12:03:10 BST 2020

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 at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: juncArea.patch
Type: text/x-patch
Size: 838 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200621/8e7666b6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: juncArea.patch
Type: text/x-patch
Size: 916 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200621/8e7666b6/attachment-0001.bin>


More information about the mkgmap-dev mailing list