Understanding "Connection between locations not found" error

I’m trying to understand why GraphHopper can’t find a connection between the two locations (48.688537, 6.163409) and (48.691697, 6.170115) in the Lorraine region of France.

This is a snippet of my code :

GraphHopper hopper = new GraphHopper().forDesktop();
GHResponse rsp = hopper.route(new GHRequest(48.688537, 6.163409, 48.691697, 6.170115));

And I get the following error :
[java.lang.RuntimeException: Connection between locations not found]

However, there is clearly a connection even on the official graphhopper maps :

I’ll be grateful for any help in understanding this.

See 0.5.0: Connection between locations not found

1 Like

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