Avoiding certain countries or certain nodes passed by API for routing

I am running my own instance. I want to be able to pass lat/lon and/or country names through API, and then routing would not return routes that go through that lat/lon or country. What is the best approach here? What classes do I need to modify? Thanks a lot.

Sorry for the bump. Anyone has any ideas? Thank you.

You should be able to do this without changing any code at all. Just take a look into custom models and the section about areas and the country encoded value specifically.

1 Like

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