Could not find routable point within x meters

I’m using the australia-latest file from geofabrik. I’ve also rebuilt the graph to make sure it is used. Other points in Australia do work, but I can’t get this one, and some others as well, to route properly. Here is my code:

coords = ((144.8847, -20.8419), (144.8847, -20.8419))
resp = client.directions(coords, profile="driving-car")

This is the error:
openrouteservice.exceptions.ApiError: 404 ({'error': {'code': 2010, 'message': 'Could not find routable point within a radius of 9000000.0 meters of specified coordinate 0: 144.8847000 -20.8419000.; Could not find routable point within a radius of 9000000.0 meters of specified coordinate 1: 144.8847000 -20.8419000.'}, 'info': {'engine': {'build_date': '2024-03-21T13:55:54Z', 'version': '8.0.0'}, 'timestamp': 1731071106775}})

As you can see, I’ve increased the maximum radius significantly, still the same error.

What am I doing wrong?

Best,
Gabriele

Hey,

IIRC there is a builtin limit to how high the radius can go that is apparently not reflected correctly in the error message :frowning:
I think it is somewhere between 2000 and 3500 meters (at least those are the two numbers that come to mind).

I would guess that this is the issue here.
Also, you are using the same point as start and end point?

Best regards

HI!

Thanks for letting me know.

Yes, I am using the same point as start and end. But that does not make a difference, still the same error if I use different ones.

So, I assume there is no way to prevent this built-in limitation?

Best,
Gabriele

Hey,

not that I know of - or at least no method other than moving your input point.

Best regards