Router.Resolve always returns null
Opened this issue · 2 comments
Deleted user commented
I'm trying to find the nearest routing point to a location for pedestrian navigation and the result of Router.Resolve is always null, regardless of the delta I pass in.
Here is my code:
var start = router.Resolve (Vehicle.Pedestrian, 0.5f, new OsmSharp.Math.Geo.GeoCoordinate(43.085144, -77.67244));
I'm using OsmSharp 4.3.0.1002-beta right now.
xivk commented
Are you sure you have routing data for the coordinate you are requesting?
Deleted user commented
For one of the points, yes. For the other, it's almost guaranteed to be no since it's the user's current location.