MATLAB Answers

Distance to nearest land from GPS coordinates

10 ビュー (過去 30 日間)
ET
ET 2020 年 10 月 23 日
コメント済み: ET 2020 年 11 月 4 日
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?

回答 (1 件)

Rhea Chandy
Rhea Chandy 2020 年 11 月 3 日
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 件のコメント
ET
ET 2020 年 11 月 4 日
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.

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by