logo separator

[mkgmap-dev] Access class specific turn restrictions

From Marko Mäkelä marko.makela at iki.fi on Fri Mar 15 14:02:02 GMT 2013

Hi,

today I got this warning:

2013/03/15 13:13:11 WARNING (RestrictionRelation): 63240002.osm.pbf: 
Turn restriction http://www.openstreetmap.org/browse/relation/2818347 
(at http://www.openstreetmap.org/?mlat=60.17315&mlon=24.92289&zoom=17) 
lacks 'restriction' tag (e.g. no_left_turn)

The wiki http://wiki.openstreetmap.org/wiki/Relation:restriction says that

restriction:bus=no_right_turn

is valid markup. It also lists things like restriction:motorcar and 
restriction:bicycle.

Currently, mkgmap only supports the 'except' tag for restrictions. So, I 
guess that the above might be written as

restriction=no_right_turn
except=motorcar;bicycle

I think that it is cleaner to use restriction:* for explicitly defining 
the restricted vehicle classes, unless it is restricted for all.

(Sometimes buses can go straight while others must turn, on a lane that 
is primarily reserved for public transport. This one is a sharp turn to 
a narrow road, probably too sharp for wider vehicles. Or they want to 
restrict tourist bus traffic in the area.)

Best regards,

	Marko


More information about the mkgmap-dev mailing list