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

URL Endpoints

GetDistanceToWater Inputs

NameTypeDescription
LatitudeStringThe latitude of the location.
LongitudeStringThe longitude of the location.
LicenseKeyStringYour license key to use the service. Sign up for a free trial
key at
https://www.serviceobjects.com/address-geocode/

GetDistanceToWater Outputs

NameTypeValueDescription
MilesToWaterStringDecimal NumberAn estimate on the number of miles between the given location and the nearest saltwater.
LatitudeStringDecimal NumberThe latitude of the location.
LongitudeStringDecimal NumberThe longitude of the location.
ClosestWaterLatitudeStringDecimal NumberThe longitude of the closest saltwater location.
ClosestWaterLongitudeStringDecimal NumberThe longitude of the closest saltwater location.
ErrorErrorVariesError object indicating why the service could not return a result. See “Errors” below for more information.

References