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

Should a service road intersect a gate (line) on a gate point?

1

There are two forms of gate

  • line
  • point

Both of these are supported in the iD editor. Should a service road intersect a gate marked up as a line, at a gate point?

asked 11 Oct '22, 14:28

Evan%20Carroll's gravatar image

Evan Carroll
43141517
accept rate: 0%


One Answer:

3

I believe it should, assuming the service road passes through the gate (not just near it). The advice on the wiki seems sensible: "Add a node on the intersection between any footways and the gate, also tagged with barrier=gate, much like how crossings are mapped. (This helps routers as many will just ignore the gate if there is no node)". https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate

Note that only about 1% of "barrier=gate" are mapped as ways, so it's relatively uncommon.

answered 11 Oct '22, 15:08

alan_gr's gravatar image

alan_gr
2.6k12245
accept rate: 15%

Source code available on GitHub .