This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to tag different gates at one point?

3

Hi, sorry for my bad english.

I have at some places more than one sort of gate at one point, always at the antrance of a forest. First, there is a wooden or metal bar across the road that can be removed and lokked with a special key some days of the week. Second, a cattle grid just under the bar. And, at least, a style or better a turnstyle to let people pass through.

For the moment, I put the three in one lonely point as follows: barrier = yes barrier_1 = cattle_grid barrier_2 = turstyle

Is this correct? Should it be better to create three different points? I noticed, that for the 2nd and 3rd, there is no pulldown menu to choose the right one.

Thank you for your help

asked 11 Oct '17, 13:13

LeFagnard's gravatar image

LeFagnard
96449
accept rate: 0%

1

Thank you very much for the explanations. I will modify my entrances and create one node for each sort of barrier.

(11 Oct '17, 21:16) LeFagnard

2 Answers:

3

I would usually map these separately, although the lockable bollard and the cattle grid do co-incide, but the centre point of the the cattle grid is not where the bollard is located. An example of a gate and a stile: https://www.openstreetmap.org/#map=19/52.81546/-0.85105&layers=D

answered 11 Oct '17, 15:33

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

1

I would create three nodes very close to each other on the way.

The use of key_1, key_2 etc is deprecated or at least highly discouraged (see Proposed features/Remove suffixed name-tags from wiki), so if you wanted to have multiple barrier types on one node, you'd want to use semicolons, eg barrier=cattle_grid;turnstyle;etc

answered 11 Oct '17, 15:25

neuhausr's gravatar image

neuhausr
7.5k870121
accept rate: 21%

edited 12 Oct '17, 16:53

Tordanik's gravatar image

Tordanik
12.0k15106147

Source code available on GitHub .