Select to view content in your preferred language

Finding distance between two points

3287
10
05-17-2017 10:26 PM
roshnibasu
Occasional Contributor

Hi,

I am trying to find distance between two points using the following API.

http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?token=[mytoken]&...  

I'm getting below error :

{"error":{"code":400,"message":"Unable to complete operation.","details":["The input points are not all located within a single region."]}}

Please let me know how to resolve this.

0 Kudos
10 Replies
RandyBurton
MVP Alum

There is this in the REST documentation: Distance. "It reports the 2D Euclidean or geodesic distance between the two geometries."

0 Kudos