0.5.0: Connection between locations not found


I have an issue which I cannot reproduce on graphhopper.com.

I have a specific coordinate from which I am unable to get any directions from. The error is always “Connection between locations not found”. Other locations in the area is no problem.

It is specifically this location: https://www.openstreetmap.org/node/342523660#map=17/55.86225/9.84607

It tried finding the nearest node via locationindex, but t is a oneway street in the wrong direction:

But it is working on graphhopper.com/maps (using another way out)

Can anyone help me to figure out how to make Graphhopper that?

JDK 8, Graphhopper 0.5.0, Mac OS X

Understanding "Connection between locations not found" error
Connection between locations not found
Workaround bad OSM data
“Connection between locations not found”
Import OSM-file causes error: java.lang.IllegalStateException: graph is empty after in-place removal
Support for other coordinate systems?
Specifying timeout for server mode

Link to Graphhopper Maps showing the correct way out:


You can try to play with the settings “prepare.minOnewayNetworkSize=200” or decrease “prepare.minNetworkSize”, this way the router does not get stuck in an (oneway) island. See also discussion here


Awesome. I’ll try that later today.



After checking it out via street view, it turns out that the data is wrong. The road is blind, not one way. :slight_smile:

But thanks for the help. It is appreciated.


I resolved a lot of my ConnectionNotFoundException by changing that value to 200. But is there documentation on what that change does? And specifically, are there any performance issues to be concerned about?


Good question, I explained it shortly here: “Connection between locations not found”