<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>I'm sorry Gerd but you are wrong.</p>
<p>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
<span>show-porfiles=1 </span>an altitude profile is available when making a route. So please keep this option or make it default.<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Van:</b> mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens Carlos Dávila <cdavilam@orangecorreo.es><br>
<b>Verzonden:</b> donderdag 11 januari 2018 00:14:29<br>
<b>Aan:</b> mkgmap-dev@lists.mkgmap.org.uk<br>
<b>Onderwerp:</b> Re: [mkgmap-dev] option --show-profiles and DEM</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">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>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
mkgmap-dev@lists.mkgmap.org.uk<br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</span></font></div>
</body>
</html>