Allow gate barrier for CarFlagEncoder

Hello,

I have removed the gate barrier from the CarFlagEncoder’s ‘possible barriers’ array but cannot get it to route through a road with a gate in it. (https://www.openstreetmap.org/node/1916969343#map=19/52.92847/-1.49743)

Please note that the router works fine on the private access road right after the gate (we have configured it this way).

You can see on our server how this routes: http://178.62.82.96:8989/?point=52.92848%2C-1.498395&point=52.928635%2C-1.497778&locale=en-US&vehicle=car&weighting=fastest&elevation=false&layer=OpenStreetMap

Are further modifications required to achieve this?

Many thanks,

Joel

I resolved this by removing all types of gate including ‘lifting_gate’ etc, not just ‘gate’.

Thanks,

Joel

1 Like