[Marble-devel] Review Request: Elevation Profile Plugin
Torsten Rahn
tackat at kde.org
Fri Sep 9 07:30:10 UTC 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102557/#review6349
-----------------------------------------------------------
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.
- Torsten
On Sept. 9, 2011, 12:14 a.m., Florian Eßer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102557/
> -----------------------------------------------------------
>
> (Updated Sept. 9, 2011, 12:14 a.m.)
>
>
> Review request for Marble.
>
>
> Summary
> -------
>
> 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.
>
>
> Diffs
> -----
>
> src/icons/elevationprofile.png PRE-CREATION
> src/lib/FileStoragePolicy.h aaff71a
> src/marble.qrc c92a412
> src/plugins/render/CMakeLists.txt 548b282
> src/plugins/render/elevationprofile/CMakeLists.txt PRE-CREATION
> src/plugins/render/elevationprofile/ElevationDataGenerator.h PRE-CREATION
> src/plugins/render/elevationprofile/ElevationDataGenerator.cpp PRE-CREATION
> src/plugins/render/elevationprofile/ElevationProfileConfigWidget.ui PRE-CREATION
> src/plugins/render/elevationprofile/ElevationProfileFloatItem.h PRE-CREATION
> src/plugins/render/elevationprofile/ElevationProfileFloatItem.cpp PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/102557/diff
>
>
> Testing
> -------
>
> Used it to plan a longer bicycle route.
>
> Automatic SRTM Download for other continents than "Eurasia" not yet supported, but will be soon.
>
>
> Screenshots
> -----------
>
> The plugin in action
> http://git.reviewboard.kde.org/r/102557/s/250/
>
>
> Thanks,
>
> Florian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110909/76103cb5/attachment.html>
More information about the Marble-devel
mailing list