# Locks, and weirs which double as footpaths get excluded from routing

**URL:** https://ask.openrouteservice.org/t/locks-and-weirs-which-double-as-footpaths-get-excluded-from-routing/3905
**Category:** Maps Website
**Created:** [May 27, 2022, 7:20am UTC](https://ask.openrouteservice.org/t/locks-and-weirs-which-double-as-footpaths-get-excluded-from-routing/3905 "2022-05-27T07:20:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dom](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/dom/32/1691_2.png) [@Dom](https://ask.openrouteservice.org/u/Dom)
#### Post date: [May 27, 2022, 7:20am UTC](https://ask.openrouteservice.org/t/locks-and-weirs-which-double-as-footpaths-get-excluded-from-routing/3905/1 "2022-05-27T07:20:46Z")

</div>

It seems some structures which double up as footpaths don’t get treated as routable, in the link below this shows a 5km route generated instead of the few metres it should be to cross the lock. Is there an option to make structures labelled as footpaths routable ?

I’ve checked the joins in OSM, and confirmed it should be routable with other tools like osmand.

Thanks,

[ORS Maps (openrouteservice.org)](https://maps.openrouteservice.org/#/directions/Saxon%20Court,Benson,England,United%20Kingdom/Saxon%20Court,Benson,England,United%20Kingdom/data/55,130,32,198,15,97,4,224,38,9,96,59,2,24,5,192,166,6,113,0,184,64,90,1,24,3,164,48,128,217,8,29,128,78,0,56,2,96,25,142,170,5,96,5,129,246,1,163,100,202,228,218,114,104,77,147,81,28,216,6,226,42,76,85,70,116,219,145,161,208,131,102,28,248,8,166,206,128,6,26,229,155,183,161,196,15,16,16,0,58,167,129,17,54,28,160,1,121,64,11,107,144,182,144,55,160,64,1,155,192,0,219,162,224,130,5,66,163,224,0,91,192,3,89,32,3,154,89,251,67,162,7,160,102,33,131,133,224,102,64,120,123,162,34,195,162,192,128,2,249,85,0)

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [May 30, 2022, 9:08am UTC](https://ask.openrouteservice.org/t/locks-and-weirs-which-double-as-footpaths-get-excluded-from-routing/3905/2 "2022-05-30T09:08:08Z")

</div>

Hey,

my best guess is that this happens because there is no `highway`-tag on this lock.  
Have a look at our [tag filtering for foot](https://koebi.github.io/openrouteservice/documentation/Tag-Filtering.html#foot) - when no `highway`-tag has been provided, locks won’t be considered for routing.

I am unsure whether also accepting `waterway=lock_gate` is the way to go. Do you have more insight into how locks and weirs are usually tagged regarding `highway` or `foot`-tags?

In any case, I will open an issue for this and report back 🙂

Best regards

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [May 30, 2022, 1:05pm UTC](https://ask.openrouteservice.org/t/locks-and-weirs-which-double-as-footpaths-get-excluded-from-routing/3905/3 "2022-05-30T13:05:43Z")

</div>

Hey,  
there is now [an issue](https://github.com/GIScience/openrouteservice/issues/1177) for this.  
Best regards
