Reading Contour Shape File from ArcGIS in MATLAB

6 views (last 30 days)
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.

Answers (1)

KSSV
KSSV on 31 Oct 2020
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.

Categories

Find more on Contour Plots 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!