itinero / routing

The routing core of itinero.
Apache License 2.0
222 stars 70 forks source link

Route Resolve Error - ArgumentOutOfRangeException #374

Open johnjore opened 4 months ago

johnjore commented 4 months ago

Occasionally this happens:

RouterPoint rp = router.Resolve(profile, new Itinero.LocalGeo.Coordinate((float)cLocation.Latitude, (float)cLocation.Longitude));

System.ArgumentOutOfRangeException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. (Parameter 'count')
at Itinero.Result`1[[Itinero.RouterPoint, Itinero, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].get_Value()

Bug in resolve?