
With the most recent mkgmap trunk (r3111) I am getting bogus warnings like these: 2014/03/14 22:07:19 WARNING (RouteNode): 63240008.osm.pbf: Roundabout (http://www.openstreetmap.org/browse/way/32502891) forks at http://www.openstreetmap.org/?mlat=63.830711&mlon=23.120524&zoom=17 2014/03/14 22:07:19 WARNING (RouteNode): 63240008.osm.pbf: Outgoing roundabout flare road (http://www.openstreetmap.org/browse/way/27506601) does not finish at flare? http://www.openstreetmap.org/?mlat=63.905483&mlon=24.516046&zoom=17 2014/03/14 22:07:19 WARNING (RouteNode): 63240008.osm.pbf: Roundabout (http://www.openstreetmap.org/browse/way/27506649) forks at http://www.openstreetmap.org/?mlat=63.905981&mlon=24.514913&zoom=17 I suspect that these are being triggered when there are nodes very close to each other, and they are being merged. I do not remember seeing these warnings yesterday, with r3110. Marko

Hi Marko, thanks for reporting. The tests did no longer work as they did not ignore the additional arcs to major roads. Please check if the result of r3114 is okay again. I see only one warning for an older download of finland. Gerd
Date: Fri, 14 Mar 2014 22:28:26 +0200 From: marko.makela@iki.fi To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] Bogus roundabout warnings
With the most recent mkgmap trunk (r3111) I am getting bogus warnings like these:
2014/03/14 22:07:19 WARNING (RouteNode): 63240008.osm.pbf: Roundabout (http://www.openstreetmap.org/browse/way/32502891) forks at http://www.openstreetmap.org/?mlat=63.830711&mlon=23.120524&zoom=17 2014/03/14 22:07:19 WARNING (RouteNode): 63240008.osm.pbf: Outgoing roundabout flare road (http://www.openstreetmap.org/browse/way/27506601) does not finish at flare? http://www.openstreetmap.org/?mlat=63.905483&mlon=24.516046&zoom=17 2014/03/14 22:07:19 WARNING (RouteNode): 63240008.osm.pbf: Roundabout (http://www.openstreetmap.org/browse/way/27506649) forks at http://www.openstreetmap.org/?mlat=63.905981&mlon=24.514913&zoom=17
I suspect that these are being triggered when there are nodes very close to each other, and they are being merged. I do not remember seeing these warnings yesterday, with r3110.
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd,
Please check if the result of r3114 is okay again. I see only one warning for an older download of finland.
Thanks, it is OK. No warnings for Finland with the extract from today. There are plenty of warnings for polygons, but that is a different story, and I will not complain about them until I have fixed most of the data. (I suspect that having a natural=wood,wood=mixed island inside natural=wood,wood=coniferous could trigger a bogus warning.) Marko

Hi Marko, good :-) if you are talking about the messages from ShapeMergeFilter: A possible reason is a self intersecting polygon. The filter assumes that shapes are not self intersecting, but it doesn't test this yet. I'll have a look at them tomorrow. Gerd
Date: Mon, 17 Mar 2014 16:49:02 +0200 From: marko.makela@iki.fi To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Bogus roundabout warnings
Hi Gerd,
Please check if the result of r3114 is okay again. I see only one warning for an older download of finland.
Thanks, it is OK. No warnings for Finland with the extract from today.
There are plenty of warnings for polygons, but that is a different story, and I will not complain about them until I have fixed most of the data. (I suspect that having a natural=wood,wood=mixed island inside natural=wood,wood=coniferous could trigger a bogus warning.)
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd,
if you are talking about the messages from ShapeMergeFilter: A possible reason is a self intersecting polygon. The filter assumes that shapes are not self intersecting, but it doesn't test this yet.
About a week ago, I got a message that I thought was about merging adjacent (non-overlapping) shapes that carry identical tags. I cannot find such a message now. Here would be two examples of this: http://www.openstreetmap.org/browse/relation/1225936 http://www.openstreetmap.org/browse/relation/1232121 These are hyper-precise multipolygons with two circles. Both the outer ring (actually, the relation) and the inner ring carry the same tag landuse=grass. Only the value of the golf=* attribute differs, but this does not matter to the default style. There used to be two polygons for the inner circle: the role=inner polygon with no tags, and a duplicate polygon with the tags landuse=grass,golf=green. I deleted the duplicate polygon and moved the tags to the role=inner polygon. Tomorrow or the day after, I should see if the mkgmap message is changing. There still are a few hyper-precisely mapped multipolygons, for which mkgmap is emitting messages. It is no problem for me to keep these relations in my ignore list. I usually monitor the output with "grep -vf logging.ignore mkgmap.log.0". Many relations that were on my ignore list are no longer generating errors. Either the data has been changed, or the higher precision is helping, or both. Marko

Hi Marko, I've checked a few cases. The typical reason for a message like this: very small shape near http://www.openstreetmap.org/?mlat=60.261495&mlon=24.689112&zoom=17 signed area in high prec map units: 2816 is a shape close to a tile boundary or a shape that is produced by the mp-relation routines. In the latter case, the routines cut a shape into pieces to remove holes. Sometimes this produces micro-areas when the cutting line cuts the polygon into multiple pieces. Nothing is wrong with the OSM data, and the ShapeMergeFilter is able to merge these micro shapes again. I plan to rewrite that part of the code, but it will require a bit more work, so maybe this has to wait for the next autumn. For now, I've just lowered the severity to debug level. Gerd
Date: Mon, 17 Mar 2014 22:45:54 +0200 From: marko.makela@iki.fi To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] Warnings about hyper-precise multipolygons
Hi Gerd,
if you are talking about the messages from ShapeMergeFilter: A possible reason is a self intersecting polygon. The filter assumes that shapes are not self intersecting, but it doesn't test this yet.
About a week ago, I got a message that I thought was about merging adjacent (non-overlapping) shapes that carry identical tags. I cannot find such a message now. Here would be two examples of this:
http://www.openstreetmap.org/browse/relation/1225936 http://www.openstreetmap.org/browse/relation/1232121
These are hyper-precise multipolygons with two circles. Both the outer ring (actually, the relation) and the inner ring carry the same tag landuse=grass. Only the value of the golf=* attribute differs, but this does not matter to the default style.
There used to be two polygons for the inner circle: the role=inner polygon with no tags, and a duplicate polygon with the tags landuse=grass,golf=green. I deleted the duplicate polygon and moved the tags to the role=inner polygon. Tomorrow or the day after, I should see if the mkgmap message is changing.
There still are a few hyper-precisely mapped multipolygons, for which mkgmap is emitting messages. It is no problem for me to keep these relations in my ignore list. I usually monitor the output with "grep -vf logging.ignore mkgmap.log.0". Many relations that were on my ignore list are no longer generating errors. Either the data has been changed, or the higher precision is helping, or both.
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
Marko Mäkelä