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 个)

KSSV
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.

Community Treasure Hunt

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

Start Hunting!

Translated by