Avoid surface(s)?

Hi,
I use ORS to generate bike routes (road, mountain bike and electric).

I noticed that for road bikes, the API returns routes with surfaces not suitable for this sport. Is it possible to avoid this? Because quality of the route depends on it.

Just like for the MTB, is it possible to avoid too steep parts but only on the climbs?

Regards

Hey,

no, it is currently not possible to avoid roads based on surface.
It is also not possible to avoid certain levels of steepness.

Unfortunately, “correct” bike routing is a very hard and deeply personal problem.
Where some say “I would never ride this on my bike”, others go “this is so fun”.

If you feel like routing is making a definite mistake, feel free to post a concrete example - in the best case with the request and links to the OSM roads used with the “wrong” surface.

Best regards