graphhopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.

Home Page:https://www.graphhopper.com/open-source/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

8.0 Set a No-Go Zone

fkfgq2008 opened this issue · comments

Hello, when I was using version 8.0. How Do I Use an API Call to Set a No-Go Zone? How to set up a no-go zone if it is a point? If it's a region, how do I set it up? If the center of the circle is a circle, how to set it?
GHRequest req = new GHRequest(39.668969,116.068905, 39.757418,116.157294).
setProfile("car").
setAlgorithm(Parameters.Algorithms.ALT_ROUTE).
setLocale(Locale.CHINA);
req.?( No-Go Zone)
Please, thank you

For questions please use our forum: https://discuss.graphhopper.com/ (for your specific question have a look into this blog post)