Elevation Profile Plugin
Review Request #102557 - Created Sept. 9, 2011 and submitted
This is a plugin for displaying the elevation profile of a routing route within Marble. It is very helpful to plan hiking or cycling routes, with it is more easy to optimise the route with regard to the terrain gradient. For the task of sub-optimizing longer routes, there is also the option to "zoom to viewport", i.e. to only plot the part of the route that is currently visible on screen. If you hover the mouse over the graph, it shows the current position and elevation under the cursor. Since most routing runners in Marble (at least OpenRouteService) do not provide elevation data with their routes, it will automatically download the required SRTM3 *.hgt files from http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/ into $LocalMarbleDir/srtm/ and fetch the elevation data from them. (At the moment only for Eurasia, I still need to do the continent mapping for the rest of the world...) It is planned to support non-routing tracks (like opened *.gpx or *.kml files) too, as soon as I find the time to implement this.
Used it to plan a longer bicycle route. Automatic SRTM Download for other continents than "Eurasia" not yet supported, but will be soon.
changed Description text.
Neat. But hasn't Niko Sams worked on something like that already? Or has this been a joint effort? Would be a pity if there was parallel development going on. But great to see that we have a solution for this. If this gets into master then in the future we should find some generic way to unzip stuff. I like how it's done in this code but if we could find something that works across Marble that would be even better.
Looks lovely, but indeed overlaps with some of Niko's work -- see . Niko is currently uploading the srtm data to a KDE server such that it can be used directly by Marble. I like your float item solution that does not depend on an external lib/widget. Afaik Niko's one currently uses a KDE widget such that we can't use it in the Qt-only version (e.g. on the Nokia N900). Maybe you two can get in contact and join forces? Regards, Dennis  http://quickgit.kde.org/?p=clones%2Fmarble%2Fnsams%2Fmarble.git&a=summary
That's a pity to hear. I guess that's the problem with git clone repositories: Unlike branches they completely disappear from the radar of possible co-developers :-( Or is there a way to avoid this while still using clone repos? It would be cool if you guys could merge efforts and come up with the best of both worlds :-) I also like the Floatitem very much. Small wish: Could you fill the area below the curve with a tint of some reddish/orange/pinkish color (please use Oxygen colors for this).
Parallel development would indeed be suboptimal. Since I'm quite new to the Marble-devel list, I did not know about Nicos efforts before. I just found his thread from last september. It also looks quite good, and in particular better planned than my quick "I-need-it-now hack". I definitely like the thing about integrating smaller-tiled SRTM data into the Marble/KDE environment, which will give independency to external servers. (And I really had some headache about Nasa putting the tiles in different folders for each continent, doesn't make the automatic downloading easier...)