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

9 Ansichten (letzte 30 Tage)
Vishnu Dhakad
Vishnu Dhakad am 23 Mai 2018
Kommentiert: Vishnu Dhakad am 11 Jun. 2018
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Lighting, Transparency, and Shading 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!

Translated by