How to tag a restriction preventing the obstruction of a gate?

There’s a sign stating that one cannot physically obstruct this gate (eg parking/stopping in front of it, or the service road giving access to it (the highlighted blue area)). How would I map that? I think the right tag is restriction=no_stopping, but I’m not exactly sure where to put it. Would I create an area and put the restriction on that? would I put a parking restriction on the adjacent road? Something else?

It’s for this gate.

The service road—both ahead of and past the gate—is already tagged motor_vehicle=no, meaning no motor vehicles ought to be routed on it to begin with. In my opinion that ought to suffice: you can’t park a car in front of the gate because no cars have legal access to that stub of road in front of the gate anyway.

That tag is inaccurate. Motor vehicles are allowed — they simply require authorized access. This is a separate issue of obstruction of access.

Seems to me that the segment of the driveway between the gate and the main road would have the restriction=no_stopping tag. If I’m not mistaken, this is analogous to the “do not block driveway” restrictions that are sometimes posted in urban areas. If the sign literally says that, you might add something like restriction:reason=clearway (which seems to be common in some English-speaking countries).

This is what I was thinking too, but the wiki seemed to state that the restriction tag only applies to areas and relations and not ways, so I wasn’t sure if it would be “incorrect” to apply it to the driveway in this way.

As far as I am aware, the tag for encoding stopping restrictions on ways is parking:both:restriction=no_stopping per Street parking - OpenStreetMap Wiki

It’s a bit strange to tag “no stopping” on a parking tag, but it’s probably the most logical thing feasible given all the other data on use of roadspace in parking tags.

BTW is the restriction really no stopping, or perhaps no_parking? If the goal is to allow passage through the gate, presumably a vehicle stopped there would be instructed to move while the gate is being opened? But this is a minor detail since basically no one’s gonna be parking on a road with motor_vehicle=private

1 Like

I read it as technically no stopping as one can’t block access. This would also imply no parking as parking requires one to stop.

1 Like

But if you take that literally, it means you can’t stop there to (legally) open the gate & drive through it!

Technically it specifies that vehicles must not block access, so, presumably, one would park down the road such that access is not blocked, then walk up to the gate to open it, then return to the vehicle to drive through.