# Does cycle routing profile take into account that 'Footpaths' are not ridable?

**URL:** <https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339>\
**Category:** openrouteservice\
**Created:** [February 10, 2020, 1:33pm UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339 "2020-02-10T13:33:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhiank](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@abhiank](https://ask.openrouteservice.org/u/abhiank)\
**Post date:** [February 10, 2020, 1:33pm UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339/1 "2020-02-10T13:33:12Z")

</div>

Hi guys,

A user from my app which uses your API asked this -

In the UK we have certain laws regarding legal access ie. we are allowed to ride a ‘Bridleway’ but we are not allowed to cycle on ‘Footpaths’, for example. Does your app incorporate the legality of trails?

I couldn’t find a way to test and ensure this so can someone please shed some light on this aspect?

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)\
**Post date:** [February 11, 2020, 2:34pm UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339/2 "2020-02-11T14:34:01Z")

</div>

Hey @abhiank, I didn’t fully look into it, but that behavior is a known limitation and smth that needs to be fixed on GHs side, see

> <https://github.com/GIScience/openrouteservice/issues/413>
>
> \#### Here's what I did
> https://maps.openrouteservice.org/directions?n1=34.06289…9&n2=77.512236&n3=13&a=34.075199,77.421534,34.067281,77.418594&b=2&c=0&g1=-1&g2=0&k1=en-US&k2=km
> 
> \---
> \#### Here's what I got
> !\[auswahl\_530\](https://user-images.githubusercontent.com/20856381/52900078-dca21580-31f1-11e9-9bde-b870277bb213.png)
> 
> 
> \---
> \#### Here's what I was expecting
> The much shorter way from A to B via this highway=bridleway 
> https://www.openstreetmap.org/way/40634938
> 
> \---
> \#### Here's what I think could be improved
> Probably there is no easy answer on this.
> 
> The bridleway is not considered because it has no foot=yes.
> 
> Problems: 
> \- There is a different situation in Germany compared to other countries regarding the use of bridleway by foot.
> \- The English Wiki page states that highway=bridleway implies foot=yes: 
> https://wiki.openstreetmap.org/wiki/Tag:highway%3Dbridleway
> while the German Wiki page doesn't mention this: 
> https://wiki.openstreetmap.org/wiki/DE:Tag:highway%3Dbridleway
> 
> BTW: 
> The \[ORS Wiki for tag-filtering\](https://github.com/GIScience/openrouteservice/wiki/Tag-Filtering#wheelchair) states
> highway=\[bridleway, cycleway\] is accepted for the wheelchair profile which is kind of strange and seems to be not true:
> https://maps.openrouteservice.org/directions?n1=34.071698&n2=77.420102&n3=17&a=34.074861,77.421491,34.067707,77.418305&b=3&c=0&h1=any&h2=31&h3=0.31&h4=-1&k1=en-US&k2=km
> 
> !\[auswahl\_532\](https://user-images.githubusercontent.com/20856381/52900220-9483f280-31f3-11e9-9be1-4ba9e1baf81a.png)

Apparently they’re sorta on it. But could take a while until an upcoming change to that is reflected in our fork of GH.

---

<div class="post-metadata">

**Author:** ![abhiank](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@abhiank](https://ask.openrouteservice.org/u/abhiank)\
**Post date:** [February 12, 2020, 6:01am UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339/3 "2020-02-12T06:01:21Z")

</div>

Hey @nils,

Thanks for the reply.

Just to reiterate, whether to consider bridleways or not needs to have a per country and per routing profile logic (Esp for foot and bike profiles) which has not yet been integrated into ORS yet right?

> Apparently they’re sorta on it. But could take a while until an upcoming change to that is reflected in our fork of GH.

Ah cool. Didn’t know you guys pulled from the GH repo. How often is that done?

---

<div class="post-metadata">

**Author:** ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)\
**Post date:** [February 12, 2020, 6:03am UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339/4 "2020-02-12T06:03:56Z")

</div>

Not sure what it needs exactly. But it’s definitely not integrated in ORS. And (if you follow the links to the GH issue(s) in the ORS issues above) apparently not even in GH.

---

<div class="post-metadata">

**Author:** ![abhiank](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@abhiank](https://ask.openrouteservice.org/u/abhiank)\
**Post date:** [February 12, 2020, 6:11am UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339/5 "2020-02-12T06:11:55Z")

</div>

> apparently not even in GH.

Yeah. Just saw that. So even GH is not using bridleway for walking and biking right now.

But coming back to my original question, atleast footpaths are not being used for biking right? How can I check that?

---

<div class="post-metadata">

**Author:** ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)\
**Post date:** [February 12, 2020, 2:48pm UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339/6 "2020-02-12T14:48:14Z")

</div>

Our wiki offers some explanation:

> **[Tag Filtering](https://github.com/GIScience/openrouteservice/wiki/Tag-Filtering)**
>
> 🌍 The open source route planner api with plenty of features. - GIScience/openrouteservice

The code is here, but can’t tell you much more about it:  
[https://github.com/GIScience/openrouteservice/blob/master/openrouteservice/src/main/java/org/heigit/ors/routing/graphhopper/extensions/flagencoders/bike/CommonBikeFlagEncoder.java](https://github.com/GIScience/openrouteservice/blob/master/openrouteservice/src/main/java/org/heigit/ors/routing/graphhopper/extensions/flagencoders/bike/CommonBikeFlagEncoder.java)

---

<div class="post-metadata">

**Author:** ![abhiank](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@abhiank](https://ask.openrouteservice.org/u/abhiank)\
**Post date:** [February 13, 2020, 5:27am UTC](https://ask.openrouteservice.org/t/does-cycle-routing-profile-take-into-account-that-footpaths-are-not-ridable/1339/7 "2020-02-13T05:27:20Z")

</div>

Oh cool. Thanks @nils, will do through the wiki and this file.
