How can I get US dry land border coordinates(Lat. and Lon)?

조회 수: 3 (최근 30일)
Behrooz Daneshian
Behrooz Daneshian 2023년 4월 20일
답변: Supraja 2023년 5월 5일
Hi all,
I aim to create contour lines outling a specific parameter on US map.Hence, I need to create mesh on the maps first. This stage can be done by meshgrid function based on the bounding box of US. However, I need to check that each node of the grid lies inside the US map so that I would not have contour lines outside the US. For this, I need to know the ploygone of the US border. Can anyone help me with this regard?
I have been stucked at this stage for more than 3 weeks!
  댓글 수: 2
Walter Roberson
Walter Roberson 2023년 4월 20일
What do you want to have happen for the places where the border is in water, such as in some of the Great Lakes or the St Laurence Seaway ?
Behrooz Daneshian
Behrooz Daneshian 2023년 4월 20일
편집: Behrooz Daneshian 2023년 4월 20일
I dont want them. Since the parameter that I aim to show with contour lines, is just for dry land.
I mean I just need a simple polygon of the US border (provided that I can access to the Lat and Lon of the points forming the polygon).

댓글을 달려면 로그인하십시오.

답변 (1개)

Supraja
Supraja 2023년 5월 5일
This function returns a logical array describing the landness of any given lat/lon arrays. Requires Matlab's Mapping Toolbox.

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by