Avoid forest paths

Hello openrouteservice team,

Is it possible to exclude forest paths when routing on foot?

Best regards.

Hi @Worker ,

this is currently not possible. For foot-* profiles you can only avoid steps, fords and ferries.
In a custom ors instance it would be relatively easy to adjust what you can avoid in the AvoidFeatureFlags, but i’m not really sure there is a tag that fits all “forest paths”, as it’s not quite obvious whether a path is in the forest or not. You could maybe use the forestry key but i’m not sure if that would work out.

Best regards

1 Like

Just in case this is an option for you @Worker , you could use the avoid_polygons parameter to exclude certain areas corresponding to the forest.