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

4 ビュー (過去 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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by