<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/102637/">http://git.reviewboard.kde.org/r/102637/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On September 27th, 2011, 7:58 a.m., <b>Bernhard Beschow</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
<thead>
<tr>
<th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
<a href="http://git.reviewboard.kde.org/r/102637/diff/2/?file=36659#file36659line41" style="color: black; font-weight: bold; text-decoration: underline;">src/plugins/render/CMakeLists.txt</a>
<span style="font-weight: normal;">
(Diff revision 2)
</span>
</th>
</tr>
</thead>
<tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
<tr>
<td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">41</font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">add_subdirectory( elevationprofile )</pre></td>
</tr>
</tbody>
</table>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">looks like this should be changed to altitude-profile</pre>
</blockquote>
<p>On September 29th, 2011, 8:29 a.m., <b>Torsten Rahn</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I got the feel that the word "elevation" is preferably used whenever in German we are using "Höhen..." (like the technical "Digitales Höhenmodell" which is "Digital Elevation Model (DEM)" as a technical term, or "Höhenprofil" = "Elevationprofile", etc.)
I think that "altitude" is preferred whenever it's just "Höhe" in German.
But that's just my gut feeling.</pre>
</blockquote>
</blockquote>
<pre style="margin-left: 1em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I think the reason for the comment above was just a technical one: In the initial version of this review request, there was only the code for Niko's altitude-profile plugin, but the CMakeLists tried to include the (non-existing) subdirectory elevationprofile.
But however, to continue the discussion: :-)
Here's another nice drawing showing the difference between elevation and altitude: http://en.wikipedia.org/wiki/File:Vertical_distances.svg
So basically, the term "elevation" seems to be bound to the earth's surface, while "altitude" is not.
KML uses altitude, because it can describe coordinates that are not bound to the earth's surface, for example the GPS track of a flying plane.
So taking this concept into consideration, the ElevationProfile plugin would strictly speaking be an AltitudeProfile instead (once it gains the ability to work for gpx/kml track data) and the AltitudeModel would be an ElevationModel, since it only describes the surface of the earth...</pre>
<br />
<p>- Florian</p>
<br />
<p>On September 29th, 2011, 4:30 a.m., Niko Sams wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for Marble.</div>
<div>By Niko Sams.</div>
<p style="color: grey;"><i>Updated Sept. 29, 2011, 4:30 a.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This patch adds an AltidudeModel that can be used to get the altitude/elevation of a coordinate. The altitude-profile plugin uses that to generate a profile for a route and calculate some statistics.
The altitude-profile will be replaced/merged with elevationprofile plugin that was developed in parallel.
The other important part are the tiles. I used the existing TileCreator, refactored it to be more flexible and made a binary that creates the needed png tiles from the nasa srtm files. This takes a loong time, just as the upload to files.kde.org that is still running.
Please review my changes especially also those to TileCreator.
To review this you can also use the altitude branch in the marble repository; that contains full history (which might be useful)
In the attached screenshot you can see the altitude-profile float widget (red line) and the elevationprofile float widget (black line) - not included in this request.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>data/CMakeLists.txt <span style="color: grey">(6f16a74)</span></li>
<li>data/maps/earth/srtm2/0/000000/000000_000000.png <span style="color: grey">(PRE-CREATION)</span></li>
<li>data/maps/earth/srtm2/0/000000/000000_000001.png <span style="color: grey">(PRE-CREATION)</span></li>
<li>data/maps/earth/srtm2/srtm2.dgml <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/icons/elevationprofile.png <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/lib/AltitudeModel.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/lib/AltitudeModel.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/lib/CMakeLists.txt <span style="color: grey">(328db8f)</span></li>
<li>src/lib/MarbleModel.h <span style="color: grey">(0e4f2c8)</span></li>
<li>src/lib/MarbleModel.cpp <span style="color: grey">(c1588f8)</span></li>
<li>src/lib/TileCreator.h <span style="color: grey">(5b58158)</span></li>
<li>src/lib/TileCreator.cpp <span style="color: grey">(0ffa155)</span></li>
<li>src/lib/routing/AlternativeRoutesModel.h <span style="color: grey">(945a745)</span></li>
<li>src/marble.qrc <span style="color: grey">(c92a412)</span></li>
<li>src/plugins/render/CMakeLists.txt <span style="color: grey">(37075b3)</span></li>
<li>src/plugins/render/elevationprofile/CMakeLists.txt <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/plugins/render/elevationprofile/ElevationProfileConfigWidget.ui <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/plugins/render/elevationprofile/ElevationProfileFloatItem.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/plugins/render/elevationprofile/ElevationProfileFloatItem.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/plugins/render/elevationprofile/elevationprofile.qrc <span style="color: grey">(PRE-CREATION)</span></li>
<li>src/plugins/render/elevationprofile/flag-red-mirrored.png <span style="color: grey">(PRE-CREATION)</span></li>
<li>tools/tilecreator-srtm2/CMakeLists.txt <span style="color: grey">(PRE-CREATION)</span></li>
<li>tools/tilecreator-srtm2/main.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>tools/tilecreator-srtm2/tccore.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>tools/tilecreator-srtm2/tccore.cpp <span style="color: grey">(PRE-CREATION)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/102637/diff/" style="margin-left: 3em;">View Diff</a></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Screenshots </h1>
<div>
<a href="http://git.reviewboard.kde.org/r/102637/s/263/"><img src="http://git.reviewboard.kde.org/media/uploaded/images/2011/09/16/marble-altitude-profile_400x100.png" style="border: 1px black solid;" alt="altitude profile in action" /></a>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>