This operation returns an estimate on the number of miles, kilometers and feet between two sets of coordinates.

 

URL Endpoints

 

GetDistance Inputs

Name Type Description
FromLatitude String The latitude for location A.
FromLongitude String The longitude for location A.
ToLatitude String The latitude for location B.
ToLongitude String The longitude for location B.
LicenseKey String Your license key to use the service.
Sign up for a free trial key at
https://www.serviceobjects.com/address-geocode/

 

GetDistance Outputs

Name Type Value Description
MilesBetween String Decimal Number An estimate on the number of miles between the two coordinate locations.
KilometersBetween String Decimal Number An estimate on the number of kilometers between the two coordinate locations.
FeetBetween String Number An estimate on the number of feet between the two coordinate locations.
Error Error Varies Error object indicating why the service could not return a result. See “Errors” below for more information.
*Miles and kilometers are rounded to the third decimal position.

 

References