I am working on logistic software that includes building routes by points given. So I've got my local OSRM server and it's working fine.
But now I faced the problem of dividing vehicles into cars and trucks. Some areas are conditionally closed for the truck passage, so I need the truck route to be built bypassing that areas. So I'm wondering how do I get this?
I must admit I'm new to OSRM and OSM data, so I'm thinking about following steps:
- If forbidden area is not in OSM data, should I add it to my own data (like in this question)?
- If an area exists or I've added it, can I set up OSRM profile to consider the area as "inaccessible for the trucks"? Should I re-extract map data after that?
- Can I pass the param "has acess to forbidden areas" when quering for a route?
Am I on the right way and is my goal reachable?