8
|
1 |
# gpx_reduce_light
|
|
2 |
|
12
|
3 |
* gpx_reduce.py is a modified version of the [original gpx_reduce][1] with no dependencies.
|
11
|
4 |
|
12
|
5 |
The original depends on *scipy, lxml, numpy* and *pylab* (which are heavy requirements).
|
|
6 |
However, these dependencies can be easily removed, because the program only does basic linear
|
|
7 |
algebra.
|
11
|
8 |
This has two benefits:
|
8
|
9 |
|
11
|
10 |
1. easy installation (nothing needed apart from python)
|
12
|
11 |
2. the program is considerably faster than the original.
|
|
12 |
|
|
13 |
A stand alone windows executable (win32, 3 Mb) can be downloaded from <https://wim.vree.org/sporen/gpx.html>
|
10
|
14 |
|
12
|
15 |
Usage example (see [original][1] for a better description):
|
8
|
16 |
|
11
|
17 |
> gpx_reduce.py -d 2 -t 30 your_track.gpx
|
|
18 |
|
12
|
19 |
The disadvantage of removing all dependencies is that the plot option had to be removed.
|
11
|
20 |
I made a separate python script with one dependency for plotting tracks:
|
|
21 |
|
12
|
22 |
* gpx_plot.py, a script to plot one or more tracks with [gnuplot][3].
|
8
|
23 |
|
13
|
24 |
Gnuplot has to be installed and if the executable "gnuplot" is not in your path
|
12
|
25 |
you have to specify the path with the command line option *-g /path/to/gnuplot*
|
8
|
26 |
|
11
|
27 |
Usage example that compares a reduced track with the original:
|
10
|
28 |
|
11
|
29 |
> gpx_plot.py your_track.gpx your_track_reduced.gpx
|
12
|
30 |
|
|
31 |
and with the -g option:
|
11
|
32 |
|
12
|
33 |
> gpx_plot.py -g /path/to/gnuplot your_track.gpx your_track_reduced.gpx
|
|
34 |
|
|
35 |
A stand alone windows executable (win32, 3 Mb) can be downloaded from <https://wim.vree.org/sporen/gpx.html>
|
|
36 |
(does not include [gnuplot][3])
|
|
37 |
|
|
38 |
[1]: https://github.com/Alezy80/gpx_reduce/
|
|
39 |
[3]: https://sourceforge.net/projects/gnuplot/files/gnuplot/
|