Distance to nearest land from GPS coordinates

9 views (last 30 days)
ET
ET on 23 Oct 2020
Commented: ET on 4 Nov 2020
I have the GPS (lat/lon) coordinates of a ship track. For each point on the track I'd like to find the distance to nearest land. I have access to the mapping toolbox.
Any ideas?

Answers (1)

Rhea Chandy
Rhea Chandy on 3 Nov 2020
This previously answered question can give you some guidance on finding the distance between points using GPS coordinates.
This Summary and Guide to Projections can help you choose the right projection for your land map.
  1 Comment
ET
ET on 4 Nov 2020
My question was more than just plotting or finding the distance between two points. For example, just given a single latitude\longitude position in the ocean somewhere, is there a function which can tell me what the nearest point on land is? The function would have to know the edges of the land masses and then search them to find the point on those edges that is closest to the given position.

Sign in to comment.

Categories

Find more on Automotive in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!