| 1 |
Fix Elevation pytrainer extension |
| 2 |
=============================== |
| 3 |
This extension allows you to correct elevations within gpx data. |
| 4 |
Code is based on Wojciech Lichota's gpxtools |
| 5 |
http://lichota.pl/blog/topics/gpxtools |
| 6 |
Elevations are corrected using SRTM data, therefore on first usage the necessary |
| 7 |
SRTM tile will be downloaded (large!). Tiles will be cached. |
| 8 |
|
| 9 |
Extension requires 'GDAL python bindings'. Install e.g. |
| 10 |
apt-get install python-gdal |
| 11 |
or |
| 12 |
yum install gdal-python |
| 13 |
|
| 14 |
|
| 15 |
CONFIG OPTIONS |
| 16 |
============== |
| 17 |
n.n. |
| 18 |
|
| 19 |
USAGE |
| 20 |
===== |
| 21 |
Simply submit the fixelevation extension preferences form and then go |
| 22 |
to the record tab and press "Fix Elevation". |
| 23 |
|
| 24 |
--------------------------- |
| 25 |
|
| 26 |
IMPORTANT |
| 27 |
========= |
| 28 |
|
| 29 |
- On first use, the extension will download a geo_tif File (about 79mb) for your region, there is no warning dialog or similiar. |
| 30 |
- Original gpx data (in '.pytrainer/gpx/') will be overwritten. |
| 31 |
- The main record isn't forced to be reloaded at the moment, so restart pytrainer to study the manipulated heights. |
| 32 |
|
| 33 |
TODO |
| 34 |
==== |
| 35 |
(?) Interface to specify source of SRTM data (at the moment hardcoded CGIAR mirror) |
| 36 |
(?) Interface to specify where to store SRTM data (at the moment .pytrainer/SRTM_data) |
| 37 |
(?) Store original gpx elevation data (gpx extension or whole backup file?); offer revert possibility |
| 38 |
(?) Improve Wojciech's border trick. |
| 39 |
(?) Offer alternative SRTM/DEM Sources eg http://www.viewfinderpanoramas.org/dem3.html |
| 40 |
(?) Offer batch mode to fix bundle of tracks |
| 41 |
(?) Higher order of interpolation (ie bicubic) |