Hi all,

my findings are:

 

Including the new DEM-Features, there are two ways for basecamp to provide altitude-profile for routes:

 

A )Based on DEM-files (which is the preferred way within basecamp)

B) Based on contour-data, but only if (regarding mkgmap) Option Show-profile is set to 1 and A) is not avaiable

 

BTW: I´m not sure if mkgmap is setting the wrong option in the tdb-file or  TDB-Editor shows the wrong value:

TDB-file with toggled show-profile-option in mkgmap results in toggled DEM-parameter in TDB-Editor (and/or tdb-file?)

 

 

 

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).

 

 

 

 

Regards,

 

Andreas

 

Gesendet von Mail für Windows 10

 

Von: Gerd Petermann
Gesendet: Donnerstag, 11. Januar 2018 09:52
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] option --show-profiles and DEM

 

Hi Carlos, and Minko,

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?
I used existing contour data for Bremen, maybe the area is too flat ?
I'll try again with different data.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com>
Gesendet: Donnerstag, 11. Januar 2018 09:46:09
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] option --show-profiles and DEM

I'm sorry Gerd but you are wrong.

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.

________________________________
Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens Carlos Dávila <cdavilam@orangecorreo.es>
Verzonden: donderdag 11 januari 2018 00:14:29
Aan: mkgmap-dev@lists.mkgmap.org.uk
Onderwerp: Re: [mkgmap-dev] option --show-profiles and DEM

If you compile a map with contour lines and show-profiles=1 MapSource
does calculate route profile. I've been using a command like the
following for a long time and it worked for me:
java -ea -Xmx4500M -jar mkgmap.jar --output-dir=./tmp --tdbfile --latin1
--code-page=1252 --description="OSM+$CURVAS-$MAPA" --country-name=$PAIS
--country-abbr=$ABR --family-name="OSM+$CURVAS $MAPA" --family-id=3$FID
--product-id=1 --product-version=$VERSION --series-name="OSM+$CURVAS
$MAPA" --area-name="$MAPA" --overview-mapname=$ABR-3$FID
--overview-mapnumber=653${FID}000 --index --road-name-config=$CONFIG
--show-profiles=1 tmp/551${FID}*.img curvas/602${FID}*.img
typ/$ABR-3${FID}.TYP
Where tmp/551${FID}*.img are precompiled regular map tiles and
curvas/602${FID}*.img are precompiled contour lines tiles. The only
issue is MapSource doesn't display contour lines, only height numbers.

El 11/01/18 a las 09:03, Gerd Petermann escribió:
> Hi all,
>
> the help says
> --show-profiles=1
> Sets a flag in tdb file which marks set mapset as having contour
> lines and allows showing profile in MapSource. Default is 0
> which means disabled.
>
> I've tried this with MapSource. My findings:
> The option is not related to contour lines, those are always displayed and height is shown when you select one.
> I found two effects of show-profiles=1:
> 1) The button "Show Profile..." in the Route Properties popup is enabled even if no DEM data is available.
> Without DEM data this button is of no use, the displayed profile is a straight line at height 0.
> 2) With DEM data available Mapsource displays the height in the status line when you hover over a hill-shaded area
> with valid data.
>
> The button "Show Profile..." in the Route Properties popup is always enabled when DEM data is available.
>
> My conclusion:
> The option is useless without DEM data and with DEM data it should default to --show-profiles=1
>
> In other words: I think the option should be removed and the flag should be set depending on the DEM data.
>
> Comments?
> Gerd
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev