Route GuidesRoutes City GuidesCities Map Log in

One way gate?

22 Jul 2019
by SoreTween
in forum
Find a better bike route. Try our map & route-planner »

Become a supporter

I can only route one way through this gate:

Any reason why?  There's no one way tag on it.


Tue 23 Jul 2019, 16:20

Hm. Possibly an error with handling oneway=no on the parent way. I’m away from the code at the moment but will check once I’m back. 

Wed 24 Jul 2019, 08:36

I'm interested in this as I'm trying to improve my knowledge of openstreetmap. Irrespective of what your checks show Richard, on the ground, there is a chained gate that is not meant for cyclists and a non-gated bypass that is. As far as I can tell, the Barrier=gate tag is meant for gates the cyclist has to open to achieve access. I've checked some similar features local to me that are the same in principle on the ground, and they are not mapped as gates. If I'd be better off on an OSM forum, please point me in the right direction. I've tried to find standards on mapping this type of complex entity but failed. Thanks, Graham

Fri 26 Jul 2019, 18:12

Usually in such circumstances, the trick is to draw two parallel ways. One would have a gate on it with access=private (to represent that it’s chained shut), the other no gate. The ways would connect either side of the gate. But to be honest, if you can always get round the gate then I wouldn’t worry too much about mapping it!

Sat 27 Jul 2019, 08:27

Thanks, that's logical and what I'd have expected best practice to be.

Tue 6 Aug 2019, 19:57

On the original issue: I haven’t figured this one out yet. It’s not the gate, it’s the junction of Castle Road, Heol y Fforest and the access road. For some reason it won’t route north across this junction. It might be that something’s skewy with the turn analysis; this is harder to debug than the road weighting but I’m looking into it.