Edge filtering issue

I need to create a route for vehicle with dangerous goods. Which means that some of the roads are unsuitable for such vehicles to pass (near schools, hospitals, etc) (I have db with such areas)
I’m searching for the way to solve this problem with graphhopper routing engine dynamically.
What is the best way of doing this?
I have such ideas as:

  • use custom weighting, which checks edges and gave them infinite weight in case it’s not suitable
  • use some filter instead of default filter

Thanks for the help!

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.