Access locations in maplineshape
이전 댓글 표시
Hi,
I am trying to access the locations in a maplineshape object. They are in there because I am able to plot the locations using the geoplot function. For example, if I have the following geotable:
T = readgeotable("concord_roads.shp");
geoplot(T.Shape(1))
How do I access the locations in the maplineshape object, T.Shape(1)? I don't see anything in the documentation or an obvious method associated with the object.
Thanks!
답변 (1개)
Andrew Stevens
2023년 5월 31일
댓글 수: 1
Robert Daly
2024년 8월 14일
Thanks, this was driving me nuts.
Previously I used readgeotable to read a GPX file, that let you access the Lat and Long so I was expecting something similar with a shape file (in projected coordinates), not so.
카테고리
도움말 센터 및 File Exchange에서 Create Plots on Maps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!