logo separator

[mkgmap-dev] Turn restriction warnings too verbose and terse at the same time

From Mark Burton markb at ordern.com on Tue Oct 20 21:00:28 BST 2009

Hi Marko,

> In the warning output of finland.osm, I see 219 warnings about
> turn restriction relations.  Apparently, there not that many errors
> in the map data, because I see duplicates, like this:
> 
> 2009/10/20 15:39:32 WARNING (RestrictionRelation): Turn restriction 167929 has multiple 'to' members - first 'to' member is 18628061
> 2009/10/20 15:39:32 WARNING (RestrictionRelation): Turn restriction 167929 has multiple 'to' members - first 'to' member is 18628061
> ...
> 2009/10/20 15:39:32 WARNING (RestrictionRelation): Turn restriction 167929 'to' way (18628061) doesn't start or end at 'via' node (62,59660/23,66127)
> ...
> 2009/10/20 15:40:11 WARNING (RestrictionRelation): Turn restriction 167929 has multiple 'to' members - first 'to' member is 18628061
> 2009/10/20 15:40:11 WARNING (RestrictionRelation): Turn restriction 167929 has multiple 'to' members - first 'to' member is 18628061
> ...
> 2009/10/20 15:40:11 WARNING (RestrictionRelation): Turn restriction 167929 'to' way (18628061) doesn't start or end at 'via' node (62,59660/23,66127)
> 
> Could I get the two sets of warnings because I am running with --max-jobs=2?
> Would it be possible to suppress the duplicate warnings, or at least
> display a download URL for each violation, e.g., for the 'via' node?

Yes, those warnings are not ideal - I will take a look and see if I can
remove the dups. Also, I nearly added the download URL the other day
but I was too lazy, I'll do it now!

> All in all, there do not seem to be too many errors in roundabouts and
> turn restrictions in Finland.  I should be able to fix them myself,
> eventually.
> 
> I did not enable the checks on flare roads yet.  In many roundabouts,
> the flare roads are bidirectional "radial spokes" instead of triangle-shaped
> oneway streets.  Are these converted by mkgmap automatically?  If not,
> could they be?

The thing about automatically converting stuff is that you have to be
100% sure that it's wrong otherwise you just make the problem worse.

I guess the triangle shaped flares could be fixed automatically but
when I go and edit the OSM data where the flare road errors are, I am
finding all sorts of bad stuff and fixing that as well so it has a
double benefit. 

Cheers,

Mark




More information about the mkgmap-dev mailing list