logo separator

[mkgmap-dev] DEM directories and output

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Apr 26 16:59:18 BST 2018

Hi Steph,

can't say much about this without knowing $WORKDIR and $COUNTRY.
I think variable substitution is done in the shell, so you have to find the solution in your script.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steph Ixus <st3ph.martin at gmail.com>
Gesendet: Donnerstag, 26. April 2018 17:40:47
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] DEM directories and output

Hi,

With my scripts (GNU/Linux), the standard output changes if paths for dem include variables or not.

Script with: --dem=/home/steph/srtm_Suisse/hgt/VIEW1/,/home/steph/srtm_Suisse/hgt/SRTM1v3.0/,/home/steph/srtm_Suisse/hgt/VIEW3/,/home/steph/srtm_Suisse/hgt/SRTM3v3.0/

Output:
Found one style in /home/steph/osm/styles/default/
finished check-styles
HGTReader: file N45E006.hgt not found but it should exist. Height values will be 0.
HGTReader: file N45E007.hgt not found but it should exist. Height values will be 0.
HGTReader: file N46E006.hgt not found but it should exist. Height values will be 0.
HGTReader: file N46E007.hgt not found but it should exist. Height values will be 0.
HGTReader: file N47E006.hgt not found but it should exist. Height values will be 0.
HGTReader: file N47E007.hgt not found but it should exist. Height values will be 0.
HGTReader: file N46E005.hgt not found but it should exist. Height values will be 0.
HGTReader: file N46E008.hgt not found but it should exist. Height values will be 0.
HGTReader: file N46E009.hgt not found but it should exist. Height values will be 0.
HGTReader: file N46E010.hgt not found but it should exist. Height values will be 0.
HGTReader: file N45E008.hgt not found but it should exist. Height values will be 0.
HGTReader: file N47E009.hgt not found but it should exist. Height values will be 0.
HGTReader: file N47E010.hgt not found but it should exist. Height values will be 0.
HGTReader: file N45E009.hgt not found but it should exist. Height values will be 0.
HGTReader: file N47E008.hgt not found but it should exist. Height values will be 0.
Number of MapFailedExceptions: 0
Number of ExitExceptions: 0

But script with: --dem="$WORKDIR"/srtm_"$COUNTRY"/hgt/VIEW1/,"$WORKDIR"/srtm_"$COUNTRY"/hgt/SRTM1v3.0/,"$WORKDIR"/srtm_"$COUNTRY"/hgt/VIEW3/,"$WORKDIR"/srtm_"$COUNTRY"/hgt/SRTM3v3.0/

Output:
Found one style in /home/steph/osm/styles/default/
finished check-styles
Number of MapFailedExceptions: 0
Number of ExitExceptions: 0

Anyway, BaseCamp displays DEM shadows, so it's not a big deal.
Just a weird difference…

Regards
Steph



More information about the mkgmap-dev mailing list