How can I get US dry land border coordinates(Lat. and Lon)?
6 次查看(过去 30 天)
显示 更早的评论
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
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 ?
回答(1 个)
Supraja
2023-5-5
You can use this function to create your plot:https://www.mathworks.com/matlabcentral/fileexchange/48661-landmask?s_tid=srchtitle_landmask%2520_1
This function returns a logical array describing the landness of any given lat/lon arrays. Requires Matlab's Mapping Toolbox.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Map Display 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!