Access class specific turn restrictions

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

Marko Mäkelä wrote
Currently, mkgmap only supports the 'except' tag for restrictions.
I'm using mkgmap version 2540 and turn-restrictions are applied in general if --ignore-turn-restrictions is not used. So far, so good. But does mkgmap really support the except tag? For me, the example of a turn-restriction is working as expected for motorcar routing. But using bicycle routing, the restriction is applied the same way. So, regardless of the except tag, routing follows always the turn-restriction. Routing with the bicycle straight across the crossing is only possible if --ignore-turn-restrictions is applied. In addition, is it possible to 'manipulate' the tags of a turn-restriction before mkgmap is processing them? I tried - just for fun - the following in the style's 'relations' file, but without success / any noticable change. Thank you. -- View this message in context: http://gis.19327.n5.nabble.com/Access-class-specific-turn-restrictions-tp575... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi, mkgmap evaluates e.g. except=bicycle or except=psv, but not (yet) a comma separated list of the value. If I got this right, the tags are evaluated before the style is applied. Gerd littlehelper wrote
Marko Mäkelä wrote
Currently, mkgmap only supports the 'except' tag for restrictions. I'm using mkgmap version 2540 and turn-restrictions are applied in general if --ignore-turn-restrictions is not used. So far, so good. But does mkgmap really support the except tag?
For me, the example of a turn-restriction
is working as expected for motorcar routing. But using bicycle routing, the restriction is applied the same way. So, regardless of the except tag, routing follows always the turn-restriction. Routing with the bicycle straight across the crossing is only possible if --ignore-turn-restrictions is applied.
In addition, is it possible to 'manipulate' the tags of a turn-restriction before mkgmap is processing them? I tried - just for fun - the following in the style's 'relations' file, but without success / any noticable change.
Thank you.
-- View this message in context: http://gis.19327.n5.nabble.com/Access-class-specific-turn-restrictions-tp575... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (3)
-
GerdP
-
littlehelper
-
Marko Mäkelä