how to get latitude, longitude and elevation from pgx file?

조회 수: 24 (최근 30일)
Vishnu Dhakad
Vishnu Dhakad 2018년 5월 23일
댓글: Vishnu Dhakad 2018년 6월 11일
I read the gpx file P = gpxread('Track_2018-05-16 181018.gpx')
P =
1058×1 geopoint vector with properties:
Collection properties:
Geometry: 'point'
Metadata: [1×1 struct]
Feature properties:
Latitude: [1×1058 double]
Longitude: [1×1058 double]
Elevation: [1×1058 double]
Time: {1×1058 cell}
Now how to get latitude, longitude, and elevation in the different array?

채택된 답변

KSSV
KSSV 2018년 5월 23일
P = gpxread('Track_2018-05-16 181018.gpx') ;
lon = p.Longitude ;
lat = p.Latitude ;
ele = p.Elevation ;
time = p.Time ;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by