[Marble-devel] Review Request: Elevation Profile Plugin

Dennis Nienhüser earthwings at gentoo.org
Fri Sep 9 07:57:11 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102557/#review6350
-----------------------------------------------------------


Looks lovely, but indeed overlaps with some of Niko's work -- see [1]. 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

[1] http://quickgit.kde.org/?p=clones%2Fmarble%2Fnsams%2Fmarble.git&a=summary


- Dennis


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/343f5563/attachment-0001.html>


More information about the Marble-devel mailing list