Hi,
I want to know which should be the best procedure to avoid some types of roads or some types of obstacle presence in the path.
I start to use the openrouteservice-py to create routing and considering as example that I don’t want to use streets that are tagged as primary (highway=primary) in OpenStreetMap. I was thinking to use the option avoid_polygons and download the data from OSM, should be this the best way or there are others more efficient?
Thanks