1 GPX_GUI
This graphic user interface displays tracks on different maps and manipulates the track size
and the elevation. It is not intended to replace GPX editors.
1.1 Features
• Display a track on different maps
• Display a track on a metric scale
• Reduce number of track points while the shape of the track is retained
• Remove obsolete points that are beyond GPS precision or duplicates.
• Smooth the track
• Measure distance between two track points
• Alter elevation by max. gradient
• Smooth elevation
Doing one or a combination of the above processes will alter the GPX file only at the
corresponding items. I.e. the other data like waypoints or other data that were inside the
original GPX file will be retained.
1.2 Restrictions
With older Matlab versions (<R2018b) only the metric scale is available.
1.3 Remarks
When removing track points, the creation of the GPX file my take with huge original GPX files
a very long time. E.g. to remove 300
000 track points will take on my PC about one hour,
since the XML process is very slow.
Also reading of very large GPX file (>100
000 track points) may take minutes.
1.4 GPX examples
Enclosed to the submission are some GPX files to demonstrate the projections on a plane and also to
do some tests.
File
Properties and purpose
AppalachianTrailAll.gpx
Huge track with 312767 points. Takes 2 minutes to load.
Saving of filtered and drastically reduced track takes 1 to
2 hours.
CapitalsOfEurope.gpx
GPX file with only waypoints.
CircleLargest.gpx
Largest circle that fits on earth if the circle center is on the
equator. All track points have the same geodesic distance
from the center.
Flåmsbana_MyrdalFlåm.gpx
Train track with elevation taken from DEM data. In the
folder ‘LinData’ is a corresponding file for linearizing the
elevation by table.
geoLatLonConstantH100kmV10km.gpx
Track with lines of 100 km
length in
east
-
west direction
and 10 km in north-south direction. The projection
distortion is still acceptable.
geoLatLonConstantH1000kmV100km.gpx
Track with lines of 1000 km length in east
-
west direction
and 100 km in north-south direction. The projection
distortion towards the North Pole is very large.
HelloMW.gpx
Just for fun.
Square1000kmAt70deg.gpx
The 4 corner have a geodesic distance of 1000 km from
each other. They are connected by geodesics.