
Hi Marko, I was able to reproduce your results. You don't use parameter --x-no-mergeroads in your script as I recommended. The merge algo doesn't look at the tag mkgmap:dead-end-check, so it may merge a way with that tag into a way without it. I did not change that in RoadMerger because we want to replace the old code. I think it looks good, I just have to add code for the p-shaped oneways. By the way: Why do you use --overlap=10000 for splitter? Is the keep-complete option not working for you? Gerd
Date: Sat, 4 Jan 2014 13:05:17 +0200 From: marko.makela@iki.fi To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Diagnostic warnings for dead-end oneway highway=service
Hi Gerd,
With the newer patch and the data from last night, the new check did not report any issues that were missed by the old check. The new check failed to report these ways that were flagged by the old check in trunk: 200035193,220389737,25455464,42191422,53197410,131648853,50118184
Strange, after sorting I don't see a single difference for finland.
I am using manually assigned tiles. My scripts are at http://www.polkupyoraily.net/osm/ with the most important ones being http://www.polkupyoraily.net/osm/files/areas.list http://www.polkupyoraily.net/osm/files/osm2img.sh
Please post one of your tiles (the input file) with a difference.
There are two tiles with one message (nowhere near the tile borders):
63240004: 2822016,956256 to 2916352,1172416 # : 60.553894,20.519027 to 62.578125,25.157318
2014/01/03 23:34:09 WARNING (RouteNode): 63240004.osm.pbf: Oneway road (http://www.openstreetmap.org/browse/way/131648853) goes nowhere at http://www.openstreetmap.org/?mlat=61.498772&mlon=23.777456&zoom=17
63240010: 3014656,1111040 to 3067072,1409024 # : 64.687500,23.840332 to 65.812225,30.234375
2014/01/03 23:35:00 WARNING (RouteNode): 63240010.osm.pbf: Oneway road (http://www.openstreetmap.org/browse/way/50118184) goes nowhere at http://www.openstreetmap.org/?mlat=65.011645&mlon=25.467852&zoom=17
Most messages are for this tile:
63240002: 2784459,1093376 to 2822016,1195648 # : 59.748008,23.461304 to 60.553894,25.655823
2014/01/03 23:34:24 WARNING (RouteNode): 63240002.osm.pbf: Oneway road (http://www.openstreetmap.org/browse/way/25455464) goes nowhere at http://www.openstreetmap.org/?mlat=60.172919&mlon=24.947340&zoom=17 2014/01/03 23:34:25 WARNING (RouteNode): 63240002.osm.pbf: Oneway road (http://www.openstreetmap.org/browse/way/42191422) goes nowhere at http://www.openstreetmap.org/?mlat=60.212344&mlon=25.084937&zoom=17 2014/01/03 23:34:25 WARNING (RouteNode): 63240002.osm.pbf: Oneway road (http://www.openstreetmap.org/browse/way/53197410) goes nowhere at http://www.openstreetmap.org/?mlat=60.212325&mlon=25.084907&zoom=17 2014/01/03 23:34:25 WARNING (RouteNode): 63240002.osm.pbf: Oneway road (http://www.openstreetmap.org/browse/way/200035193) goes nowhere at http://www.openstreetmap.org/?mlat=60.203610&mlon=24.659707&zoom=17 2014/01/03 23:34:25 WARNING (RouteNode): 63240002.osm.pbf: Oneway road (http://www.openstreetmap.org/browse/way/220389737) goes nowhere at http://www.openstreetmap.org/?mlat=60.176588&mlon=24.807431&zoom=17
AFAICT, none of these are near the tile boundaries. The min/max lat is between 60.17 and 60.22 (well within 59.748..60.553) and the min/max lon is between 24.65 and 25.085 (inside 23.46..25.65).
Attached is also the style that I use to test the dead-end-check.
I am using the default style. That could explain the difference, because the default style is omitting some tunnels from the map.
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev