Possible to return partial route result

2 posts / 0 new
Last post
mat.beard
Possible to return partial route result

I'm trying to generate routes between pairs of lat/lng coordinates, but they are frequently failing to produce valid route. This is because some of the destination coordinates are 'inaccessible' as they are in the middle of a train station or on a railway line.

Is it possible to retrieve the partial route, up to the point at which it becomes 'inaccessible'. When using the 'Try It' facility on the MapQuest site, a route is displayed on the map, but the JSON returned doesn't contain a route: just a 602 error.

Any advice?


MQBrianCoakley
There is no option to
There is no option to complete a route up to some point. The directions api tries to create a route from the origin to the destination.