Reading Contour Shape File from ArcGIS in MATLAB
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a contour shapefile from ArcGIS. I need to extract points along the contour lines so that I will be able to calculate slope and do other calculations using those slopes. To do that, I want to use MATLAB to read the contour shapefile. Is this possible? Can anyone with the expertise help me?
Thanks in advance.
1 个评论
Mario Malic
2020-10-31
Check here how to import the data https://www.mathworks.com/help/matlab/import_export/import-data-interactively.html
回答(1 个)
KSSV
2020-10-31
As you have a shape file....you need to read that shape file into matlab. To read shape file read about shaperead.
S = shaperead(filename) ;
Now S is a structrue with all your data information of shape file. You can do what you want with the data.
0 个评论
另请参阅
类别
Find more on Coordinate Reference Systems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!