Returns an estimated distance from a given latitude and longitude to the nearest saltwater.

 

URL Endpoints

GetDistanceToWater Inputs

Name Type Description
Latitude String The latitude of the location.
Longitude String The longitude of the location.
LicenseKey String Your license key to use the service. Sign up for a free trial key at
https://www.serviceobjects.com/address-geocode/

 

GetDistanceToWater Outputs

Name Type Value Description
MilesToWater String Decimal Number An estimate on the number of miles between the given location and the nearest saltwater.
Latitude String Decimal Number The latitude of the location.
Longitude String Decimal Number The longitude of the location.
ClosestWaterLatitude String Decimal Number The longitude of the closest saltwater location.
ClosestWaterLongitude String Decimal Number The longitude of the closest saltwater location.
Error Error Varies Error object indicating why the service could not return a result. See “Errors” below for more information.

 

References