logo separator

[mkgmap-dev] option --show-profiles and DEM

From Peter Danninger peter at danninger.eu on Fri Jan 12 13:59:58 GMT 2018

Hi,

Test of "my" .hgt files completed, right now.

Background:
----------------------------------------------
  - I'm not involved in your project,
    but I appreciate it very much !!!
  - I don't speak Java, but a bit JavaScript
  - I wanted to enrich my .gpx files out from
    Basecamp with height-data.
  - Project: WWW-Solution, NAS on my desk.
             http://tinyurl.com/yact8gm6
  - 1. Try: Google Elevation service:
            Forget it in the mountains :-(
  - 2. Try: Use .hgt files, started with 3sec
            files from Viewfinderpanorama,
            not satisfactoring :-(
  - 3. Try: Use 1sec files from USGS
            http://dwtkns.com/srtm30m/
            Hey, did work fine, but no files
            for the North available.
  - 4. Try: For the North, add files
            from Viewfinderpanorama

Questions:
----------------------------------------------
Do I need all this if you add height-data
to the OSM-maps ???
Will the results be comparable with using
the original 1sec .hgt data ???
Dit you really find better height-data from
Copernicus, will the .hgt-files be available ???

Results of my void-Test:
----------------------------------------------
look Attachment !!!

  - 3 sec files fro Viewfinder-Panoramas
    have a lot of void's
  - In the 1sec files from USGS I didn't
    find any void

lg Peter

Am 11.01.2018 um 15:29 schrieb Gerd Petermann:
> Hi Nick,
> 
> you need the program DemDisplay from the display tool, source is here:
> https://svn.mkgmap.org.uk/svn/display/trunk
> Binary is here:
> http://files.mkgmap.org.uk/download/386/display.jar
> 
> Usage on a windows machine :
>   java -cp d:\display\dist\display.jar;d:\mkgmap\dist\mkgmap.jar test.display.DemDisplay [--verbose] input-file > dem.txt
> (adapt the paths, I think on linux you need : instead of ; as a separator)
> input-file can be *.DEM or *.IMG containing a dem file.
> 
> The values are displayed in the "DEM sector header" as "map units between points (latitude):"  and "map units between points (longitude)"
> 
> Gerd
> 
> 
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von osm at pinns <osm at pinns.co.uk>
> Gesendet: Donnerstag, 11. Januar 2018 15:16:18
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: Re: [mkgmap-dev] option --show-profiles and DEM
> 
> Hi Gerd,
> 
> Interesting ; some time ago , you mentioned that you were able to
> extract these values from the dem file structure.
> 
> Are they set in the headers? If so where so I can check some of the TOPO's
> 
> I'm having a problem with my gps64 , not the oregons, where I find its
> better to opt for a higher starting distance , ie 6628 for 1''
> 
> Nick
> 
> 
> 
> On 11/01/2018 14:10, Gerd Petermann wrote:
>> Hi Nick,
>>
>> I also wondered why Garmin prefers 3312 while 3314 looks the exacter value.
>> Found no explanation so far.
>>
>> Gerd
>>
>> ________________________________________
>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von osm at pinns <osm at pinns.co.uk>
>> Gesendet: Donnerstag, 11. Januar 2018 15:04:32
>> An: mkgmap-dev at lists.mkgmap.org.uk
>> Betreff: Re: [mkgmap-dev] option --show-profiles and DEM
>>
>> Hi Gerd
>>
>> should 3312 logically  be 3314 (2^32/(360*3600))  ?
>>
>> Not that it matters much.
>>
>> r
>>
>> Nick
>>
>>
>> On 11/01/2018 13:48, Gerd Petermann wrote:
>>> Hi Andreas,
>>>
>>> you are right, thanks for the hint. I took those from the transalpin demo map, but the last two levels are empty.
>>> So, r4045 now says
>>>            Example which should work with levels="0:24, 1:22, 2:20, 3:18":
>>>            --dem-dists=3312,13248,26512,53024
>>>
>>> Gerd
>>>
>>> ________________________________________
>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von andreas.schmidt.hetschbach at t-online.de <andreas.schmidt.hetschbach at t-online.de>
>>> Gesendet: Donnerstag, 11. Januar 2018 14:38:24
>>> An: Development list for mkgmap
>>> Betreff: [mkgmap-dev]  option --show-profiles and DEM
>>>
>>> Hi Gerd,
>>>
>>> I got a bit confused when I read  the doc/example
>>>
>>> --dem-dists=number[,number]
>>> If given, the option specifies the resolution(s) or zoom level for the DEM data. If not given, mkgmap tries to determine a reasonable value based on the resolution found in the *.hgt files. For PC programs like MapSource or Basecamp you only need one zoom level, for gps devies you need one for each resolution given with the --levels option. The actual values are given as distance between two DEM points. Higher disances mean lower resolution and thus fewer bytes in the map. Reasonable values for the highest resolution are somewhere between 1648 and 5520, 3312 is often used.
>>> Example which should work with levels="0:24, 1:22, 2:20, 3:18, 4:16":
>>> --dem-dists=3312,13248,26512,53024
>>> This was found in a Garmin Demo map for transalpin data created 2009.
>>>
>>> There are only 4 values for –dem-dist ,although there are 5 „Levels“.
>>> This seems to be  in contrast to „…for gps devies you need one for each resolution given with the --levels Option ?
>>>
>>> Regards
>>>
>>> Andreas
>>>
>>> Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10
>>>
>>> Von: Henning Scholland<mailto:osm at hscholland.de>
>>> Gesendet: Donnerstag, 11. Januar 2018 12:55
>>> An: mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
>>> Betreff: Re: [mkgmap-dev] option --show-profiles and DEM
>>>
>>>
>>> Hi all,
>>>
>>> I don't see a reason to have this option at all. It should be set
>>> automatically to 1 if either contour data or DEM is written. If this
>>> data is in the map, you always want to have it and if those are not in
>>> the map, you don't need it. Or am I wrong?
>>>
>>> Henning
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: voidtest.txt
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180112/6b079802/attachment-0001.txt>


More information about the mkgmap-dev mailing list