Asked • 05/24/19

How can I find the nearest point on the coast from an ocean location?

Given some location of interest $X$ in a lake or in the ocean with known lat and lon, I'd like to find the lat and lon of the coastal location that is closest to $X$, as well as distance between the two points. Of course, once the lat and lon of the coastal point is found, it's straightforward to compute the distance. I know of [this *DistFromCoast* dataset](http://oceancolor.gsfc.nasa.gov/DOCS/DistFromCoast/) that has the distance to the nearest coastal point, but it does not provide the nearest coastal point itself. Would anyone know of datasets, software, or algorithms that may help with my task?

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.