[OSM-newbies] Bollard Barriers at T junctions
Jonathan Bennett
openstreetmap at jonno.cix.co.uk
Mon Aug 17 16:56:57 BST 2009
Dave F. wrote:
> One of the roads has bollards barriers forcing cars to turn 90 degrees
> down the other road, but still allowing cyclists/pedestrians to continue
> straight on.
>
> In the render the barrier's graphic appears directly on the T, making it
> unclear which is barricaded. If I separate that one it implies that
> there's no access at all & if It place a footway/cyclway it's too short
> to render clearly.
The answer to modelling the junction correctly is to use a turn
restriction relation, which will allow you to specify just which types
of traffic have to follow which restrictions. In your case you would
need to create a relation tagged something like the following:
type=restriction
restriction=only_left_turn
except=bicycle
With the members:
from=<road facing bollards>
via=<junction node>
to=<road you're forced to turn into>
This won't show up on the map at the moment, but don't worry about that
-- it's the fault of the renderer, which will catch up eventually.
--
Jonathan (Jonobennett)
More information about the newbies
mailing list