<div class=WordSection1><p class=MsoNormal>Hi all,</p><p class=MsoNormal>my findings are:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Including the new DEM-Features, there are two ways for basecamp to provide altitude-profile for routes:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph>A )Based on DEM-files (which is the preferred way within basecamp)</p><p class=MsoListParagraph>B) Based on contour-data, but only if (regarding mkgmap) Option Show-profile is set to 1 and A) is not avaiable </p><p class=MsoListParagraph><o:p> </o:p></p><p class=MsoNormal>BTW: I´m not sure if mkgmap is setting the wrong option in the tdb-file or  TDB-Editor shows the wrong value:</p><p class=MsoNormal>TDB-file with toggled show-profile-option in mkgmap results in toggled DEM-parameter in TDB-Editor (and/or tdb-file?)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img width=959 height=191 style='width:9.9895in;height:1.9895in' id="Grafik_x0020_3" src="cid:image003.jpg@01D38AC8.62DA6AD0"></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img width=959 height=161 style='width:9.9895in;height:1.677in' id="Grafik_x0020_5" src="cid:image005.jpg@01D38AC8.62DA6AD0"></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Another finding is, that the altitude – Profile with DEM (produced with same hgt-files) has a higher „resolution“ (as expected) and the commulated attitudes (Höhenmeter) are totally different (up to 2x, not to be expected). The smaller one is near to reality (Knowledge).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img width=888 height=321 style='width:9.25in;height:3.3437in' id="Grafik_x0020_7" src="cid:image006.jpg@01D38AC8.62DA6AD0"></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img width=959 height=343 style='width:9.9895in;height:3.5729in' id="Grafik_x0020_8" src="cid:image009.jpg@01D38AC8.62DA6AD0"></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Andreas</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Gesendet von <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> für Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Von: </b><a href="mailto:gpetermann_muenchen@hotmail.com">Gerd Petermann</a><br><b>Gesendet: </b>Donnerstag, 11. Januar 2018 09:52<br><b>An: </b><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">Development list for mkgmap</a><br><b>Betreff: </b>Re: [mkgmap-dev] option --show-profiles and DEM</p></div><p class=MsoNormal><o:p> </o:p></p></div>Hi Carlos, and Minko,<br><br>thanks for the quick feedback. Seems I've done something wrong. Maybe the calculation of the profile depends on the quality or density of the contour line data?<br>I used existing contour data for Bremen, maybe the area is too flat ?<br>I'll try again with different data.<br><br>Gerd<br><br>________________________________________<br>Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com><br>Gesendet: Donnerstag, 11. Januar 2018 09:46:09<br>An: mkgmap-dev@lists.mkgmap.org.uk<br>Betreff: Re: [mkgmap-dev] option --show-profiles and DEM<br><br>I'm sorry Gerd but you are wrong.<br><br>When I have a map merged with contours but without DEM and without show-porfiles=1 in my options args file the elevation profile is greyes out and not available. Only if I use show-porfiles=1 an altitude profile is available when making a route. So please keep this option or make it default.<br><br>________________________________<br>Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens Carlos Dávila <cdavilam@orangecorreo.es><br>Verzonden: donderdag 11 januari 2018 00:14:29<br>Aan: mkgmap-dev@lists.mkgmap.org.uk<br>Onderwerp: Re: [mkgmap-dev] option --show-profiles and DEM<br><br>If you compile a map with contour lines and show-profiles=1 MapSource<br>does calculate route profile. I've been using a command like the<br>following for a long time and it worked for me:<br>java -ea -Xmx4500M -jar mkgmap.jar --output-dir=./tmp --tdbfile --latin1<br>--code-page=1252 --description="OSM+$CURVAS-$MAPA" --country-name=$PAIS<br>--country-abbr=$ABR --family-name="OSM+$CURVAS $MAPA" --family-id=3$FID<br>--product-id=1 --product-version=$VERSION --series-name="OSM+$CURVAS<br>$MAPA" --area-name="$MAPA" --overview-mapname=$ABR-3$FID<br>--overview-mapnumber=653${FID}000 --index --road-name-config=$CONFIG<br>--show-profiles=1 tmp/551${FID}*.img curvas/602${FID}*.img<br>typ/$ABR-3${FID}.TYP<br>Where tmp/551${FID}*.img are precompiled regular map tiles and<br>curvas/602${FID}*.img are precompiled contour lines tiles. The only<br>issue is MapSource doesn't display contour lines, only height numbers.<br><br>El 11/01/18 a las 09:03, Gerd Petermann escribió:<br>> Hi all,<br>><br>> the help says<br>> --show-profiles=1<br>>        Sets a flag in tdb file which marks set mapset as having contour<br>>        lines and allows showing profile in MapSource. Default is 0<br>>        which means disabled.<br>><br>> I've tried this with MapSource. My findings:<br>> The option is not related to contour lines, those are always displayed and height is shown when you select one.<br>> I found two effects of show-profiles=1:<br>> 1) The button "Show Profile..." in the Route Properties popup is enabled even if no DEM data is available.<br>> Without DEM data this button is of no use, the displayed profile is a straight line at height 0.<br>> 2) With DEM data available Mapsource displays the height in the status line when you hover over a hill-shaded area<br>> with valid data.<br>><br>> The button "Show Profile..." in the Route Properties popup is always enabled when DEM data is available.<br>><br>> My conclusion:<br>> The option is useless without DEM data and with DEM data it should default to --show-profiles=1<br>><br>> In other words: I think the option should be removed and the flag should be set depending on the DEM data.<br>><br>> Comments?<br>> Gerd<br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>><br><br>_______________________________________________<br>mkgmap-dev mailing list<br>mkgmap-dev@lists.mkgmap.org.uk<br>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>_______________________________________________<br>mkgmap-dev mailing list<br>mkgmap-dev@lists.mkgmap.org.uk<br>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>