logo separator

[mkgmap-dev] special cases in restriction relations, r3178 still not perfect

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Apr 11 09:59:03 BST 2014

Hi all,

I found a few more very special cases, some can be easily fixed in the code,
but one is maybe a problem in OSM:
See 
http://www.openstreetmap.org/relation/1626132

The 'to' way starts and ends at the via point. In combination with 
the tag restriction=only_straight_on it is clear what this means,
but the current implementation in mkgmap is not prepared for that.
It would probable create a different result if the points of the 'to' way 
would go clockwise and not ccw.

I think the wiki doesn't say that this is not correct, so to support this 
mkgmap has to interpret the restriction. Up to now it just checked if it
is a only_xxx or an no_xxx restriction. It is much more complex 
to interpret the angle and find out what is meant.
This seems too much work for that special case, so I prefer to print
a warning and ignore the restriction.

OK?

Gerd




 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140411/b0fa1956/attachment.html>


More information about the mkgmap-dev mailing list