logo separator

[mkgmap-dev] Turn restriction angle checks

From Marko Mäkelä marko.makela at iki.fi on Sun Mar 30 12:57:36 BST 2014

On Sun, Mar 30, 2014 at 04:45:35AM -0700, GerdP wrote:
>Hi Marko,
>Marko Mäkelä wrote
>> I think that the new code is generating noise for a U-shaped oneway
>> "handles" on major twoway roads (a parking lane for making a break, only
>> accessible from one direction of travelling). Here is an example:
>when the message contains the word check it is for me.
>It means that I plan to verify that mkgmap does the right thing.
>I'll remove them later.

OK. But, like I said, a warning for this would be nice. The only_* looks 
better in JOSM and I suppose is easier to understand too, than the no_*.

Here is one more strange message (no_u_turn with a via way). I see 
nothing wrong with the way:

2014/03/29 19:56:21 WARNING (RestrictionRelation): 63240005.osm.pbf: 
can't add restriction relation 532033 type no_u_turn

Maybe the two oneway lanes of the road were merged to other ways, so 
that in the mkgmap routing graph, the two oneways and the via way form a 
loop of three ways?  But still, the no_u_turn should make sense.

Relations with access tags can sometimes be hard to understand, such as 
relation 2996233, which is type=no_u_turn, motor_vehicle=destination.

I think that it would be better to avoid turn restrictions and tag the 
ways instead. That could be done in this case too. I will ask the 
mapper, because the role=to way looks like a stub.


More information about the mkgmap-dev mailing list