Routing through private ways

I’m using Graphhopper API for routing on hiking trails. I want to avoid private paths, which are tagged in OSM in one of these ways:

  • foot=private
  • access=private and foot missing

How to do it? I noticed there is a foot_access in path details, but it’s not really helpful, as it returns true even if osm tag is foot=private. And it doesn’t seem to work for the custom model.

If it’s not possible, can I retrieve somehow information from the API, that the route is private? Ideally, something like foot_access in path details, which returns OSM foot value, instead of boolean.

The relevant encoded value is foot_road_access which should return private, but it is also not exposed in our public API and so cannot be used there in a custom model (yet).

Is there any timeline for this?

No, there is no timeline.