Exclude surface unpaved #7052
Replies: 4 comments
-
The reason for that is that excludables apply to certain types of road (i.e. values of the OSM Do you want to be able to switch unpaved roads on and off on a query basis? Asking because if you want to simply remove them for good it would be simpler to filter them out in the profile. |
Beta Was this translation helpful? Give feedback.
-
Hi @jcoupey, thanks for your answer. Yes, I need to be able switch unpaved roads on and off on a query basis. I cant use unclassified, because the roads have classification, such as residential, or tertiary, but they are unpaved. So, is there no way to do this filter for unpaved roads, using any parameter request, like exclude=unpaved? |
Beta Was this translation helpful? Give feedback.
-
Yes, that was my point: the current excludables logic does not apply in the case of an additional tag. I don't think you can do that without changing the code logic for excludables, at least in the lua profile. I have no idea how complex the adjustments would be... |
Beta Was this translation helpful? Give feedback.
-
Ok @jcoupey ! |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
Is it possible to exclude surface unpaved when I call endpoint OSRM with exclude=unpaved?
I already try adding unpaved on excludable, but doesn't work.
I think I need a way to get this url parameter to filter unpaved surfaces on process_way function, but I dont know how to do this.
Can anyone help me ?
Beta Was this translation helpful? Give feedback.
All reactions