mapbox-gl-directions icon indicating copy to clipboard operation
mapbox-gl-directions copied to clipboard

Existing route not found

Open cglacet opened this issue 3 years ago • 1 comments

A colleague of mine found a route destination that seems to fail on mapbox (but not on OSM).

Here are the test coordinates you can use: 135.74777571420464,35.01420094203681;135.7554090854838,35.01742191794678.

And here is a similar route on OSM.

It only seems to happen on foot (both driving and cycling profiles allow to find a route for these coordinates), we also tried to change the "radiuses" but this happens even with unlimited radiuses. Any idea what is going on?

cglacet avatar Feb 15 '21 14:02 cglacet

We found another strange routing problem with the two following coordinates and the driving profile:

  • A = -0.595,44.85;-0.5698513984680176,44.8427402304437
  • B = -0.595,44.85

If you ask for A -> B or B ->A it works just fine, but if you ask for A -> B -> A you'll get a NoRoute error.

The roundtrip also work with any other profile (including the traffic one).

cglacet avatar Feb 15 '21 14:02 cglacet