Gerd Petermann <gpetermann_muenchen@hotmail.com> hat am 06.01.2022 17:54 geschrieben:
Hi all,
the problem is (again) caused by an imcomplete monster MP with natural=bay https://www.openstreetmap.org/relation/7075622and the unability of mkgmap to close the outer ring correctly so that it contains the tile.
The old code also didn't work well in this case but did not complain, it simply closed the outer straightthrough the tile boundary and also through the inner ring.
@Arndt: If I got that right you use osmconvert with a poly file to create the input for splitter. This may be the reason forthe incomplete data as you don't tell osmconvert to keep data complete. No idea how much longer it will take if youadd the corresponding parameters.
Gerd
________________________________________Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com>Gesendet: Donnerstag, 6. Januar 2022 16:24An: Development list for mkgmapBetreff: Re: [mkgmap-dev] Commit r4845: merge from faster-mp branch
Hi Arndt,
OK, I can reproduce the problem.
Gerd
________________________________________Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Arndt Röhrig <arndt@speichenkarte.de>Gesendet: Donnerstag, 6. Januar 2022 16:04An: Development list for mkgmapBetreff: Re: [mkgmap-dev] Commit r4845: merge from faster-mp branch
He Gerd,
ok, thanks for the hint. This file makes the trouble, but only with speichenstyle, default style works:
I have no idea, what line in the style is wrong.
Greetzs
Arndt
Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>> hat am 06.01.2022 15:32 geschrieben:
Hi Arndt,
first make sure that you can reproduce the problem with those tiles and your style.There is not much that can be wrong in the style, this error happens while reading the input file.
Gerd
________________________________________Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von Arndt Röhrig <arndt@speichenkarte.de<mailto:arndt@speichenkarte.de>>Gesendet: Donnerstag, 6. Januar 2022 15:26An: Development list for mkgmapBetreff: Re: [mkgmap-dev] Commit r4845: merge from faster-mp branch
Hi Gerd,
the default style works.i try to find out, what is wrong in the style.
Greetz
Arndt
Greetz
ArndtGerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>> hat am 06.01.2022 15:08 geschrieben:
Hi Arndt,
cannot yet reproduce this. Does it also happen with the default style?
Gerd
________________________________________Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>> im Auftrag von Arndt Röhrig <arndt@speichenkarte.de<mailto:arndt@speichenkarte.de><mailto:arndt@speichenkarte.de<mailto:arndt@speichenkarte.de>>>Gesendet: Donnerstag, 6. Januar 2022 14:59An: Development list for mkgmapBetreff: Re: [mkgmap-dev] Commit r4845: merge from faster-mp branch
Hi Gerd,
from Balearen orfrom the alps.
Greetz
Arndt
Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>>> hat am 06.01.2022 14:53 geschrieben:
Hi Arndt, please post a link to the problematic pbf file.
Gerd
________________________________________Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>>> im Auftrag von Arndt Röhrig <arndt@speichenkarte.de<mailto:arndt@speichenkarte.de><mailto:arndt@speichenkarte.de<mailto:arndt@speichenkarte.de>><mailto:arndt@speichenkarte.de<mailto:arndt@speichenkarte.de><mailto:arndt@speichenkarte.de<mailto:arndt@speichenkarte.de>>>>Gesendet: Donnerstag, 6. Januar 2022 14:49An: Development list for mkgmapBetreff: Re: [mkgmap-dev] Commit r4845: merge from faster-mp branch
Hi Gerd,
the balearic islands cause trouble. Maybe its a wrong split from osmconvert (eurpe->iberia->balearen), but r-4839 works weill.
13:43:23,46 - splitter Speiche_BalearenWarning: --keep-complete is only used for the first input file. Further files must use higher ids.13:44:06,30 - mkgmap .\tools\mkgmap-r4845 Speiche_BalearenException in thread "main" java.lang.AssertionError: no outer way in partitionat uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation.processPartition(MultiPolygonRelation.java:705)at uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation.processElements(MultiPolygonRelation.java:622)at uk.me.parabola.mkgmap.reader.osm.ElementSaver.addRelation(ElementSaver.java:163)at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler$BinParser.parseRelations(OsmBinHandler.java:215)at crosby.binary.BinaryParser.parse(Unknown Source)at crosby.binary.BinaryParser.handleBlock(Unknown Source)at crosby.binary.file.FileBlock.process(Unknown Source)at crosby.binary.file.BlockInputStream.process(Unknown Source)at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.parse(OsmBinHandler.java:54)at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.parse(OsmMapDataSource.java:167)at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:142)at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:165)at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:58)at uk.me.parabola.mkgmap.main.Main.lambda$processFilename$1(Main.java:291)at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)at java.base/java.lang.Thread.run(Thread.java:834)
Greetz
ArndtGerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>>>> hat am 05.01.2022 11:19 geschrieben:
Hi all,
I've finally found the courage to merge the faster-mp branch into trunk.I think the change in the default style was always meant to be done in trunk, not in that branch only.
Funny thing is that the original problematic monster MP that triggered this branch was deleted:
Those who analyse log messages from class MultiPolygonRelation may find differentresults using this new version (sometimes more, sometiles fewer).Let me know if this causes trouble.
Gerd
________________________________________Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>>>> im Auftrag von svn commit <svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk><mailto:svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk>><mailto:svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk><mailto:svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk>>><mailto:svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk><mailto:svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk>><mailto:svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk><mailto:svn@mkgmap.org.uk<mailto:svn@mkgmap.org.uk>>>>>Gesendet: Mittwoch, 5. Januar 2022 11:11An: mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk><mailto:mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk>><mailto:mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk><mailto:mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk>>><mailto:mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk><mailto:mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk>><mailto:mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk><mailto:mkgmap-svn@lists.mkgmap.org.uk<mailto:mkgmap-svn@lists.mkgmap.org.uk>>>>; mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>>>Betreff: [mkgmap-dev] Commit r4845: merge from faster-mp branch
Version mkgmap-r4845 was committed by gerd on Wed, 05 Jan 2022
merge from faster-mp branch- don't render natural=coastline in lines- implement faster (but possibly less reliable) algorithm to render complex multipolygons- don't render MP without tags (old code did that when all tags were removed because they did not appear in style rules, see field tagsIncomplete)
_______________________________________________mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>>>_______________________________________________mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>>>_______________________________________________mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>>_______________________________________________mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>_______________________________________________mkgmap-dev mailing list_______________________________________________mkgmap-dev mailing list_______________________________________________mkgmap-dev mailing list