There is a setting for returning simplified geometry when querying for routes, however I’d like to make the simplification only on certain way types.
Example:
I want that all ways from type motorway should keep the original geometry, but residential should be simplified.
How would I achieve something like that?