Hello,
this is my first posting outside the german forum.
I need a little help with the routing in my lines-file (style).
This is the situation: Permalink
The tunnel on the primary-highway B7 has a restriction for all motorcycles from north to south (backward), in case of a railway-line along the lane.
The other direction from south to north (forward) is free for motorcycles. I’ve no interest for other vehicles, only for motorcycles and mopeds.
It’s tagged this: motorcycle:backward=no
How do i have to decode this in my style that routing works correct way?
highway=* & motorcycle:backward=no {add oneway=yes}
or
highway=* & motorcycle:backward=no {set motorcycle=no; set moped=no; }
This works, but in both directions. And this is not what i want!
highway=* & motorcycle=no {set motorcycle=no; set motorcar=no; set moped=no; }
motorcycle=no {delete motorcycle; set motorcycle:backward=no; set motorcycle:forward=no; }
motorcycle:backward=no & motorcycle:forward=no {set motorcycle=no; set motorcar=no; set moped=no; }
Hi
As I understood, your Code is only for both Directions = no.
But i need a Code which works oneway backward, forward and both.
And my Code works! Maybe it’s going better. But now i don’t needed better Code yet.
Nice Weekend. Regards. Scotti