How to extract polygons coordinates from shape file?
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Reema Alhassan
am 10 Jun. 2018
Kommentiert: Reema Alhassan
am 11 Jun. 2018
hello, I have a shape file which contains 10 polygons I need to extract the coordinates for each polygon how can I do that ?
thanks,
0 Kommentare
Akzeptierte Antwort
KSSV
am 11 Jun. 2018
S = shaperead(shapefile) ; % Read shape file
N = length(S) ; % total number of polygons
% GEt coordinates of each polygon
for i = 1:N
[S(i).X ;S(i).Y] ;
end
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Elementary Polygons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!