Hi Gerd
Thanks for your reply. I had already tried using the same split file,
but it didn't work. I think it isn't worth generating DEM data each time
a map is updated, given gmap version of all maps is also available in my
site if anyone wants to have DEM in BaseCamp.
Carlos
El 3/1/23 a las 7:40, Gerd Petermann escribió:
Hi Carlos,
I don't know the exact reason for the problem. I guess Garmin software needs
DEM tiles with the same layout,
but maybe only one corner has to match.
I think the only solution is to use the same split file as long as possible so
that you can reuse the precompiled DEM tiles.
If mkgmap fails to render a tile because it has too much data you would split
that specific tile into smaller pieces,
modify the global split file to contain the new tiles and render the needed DEM
tiles.
Quite some work to do when this should happen automatically with scripts.
Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Carlos Dávila
<car...@alternativaslibres.org>
Gesendet: Montag, 2. Januar 2023 18:45
An: Development list for mkgmap
Betreff: [mkgmap-dev] DEM data from gmapsuppp not showing on BaseCamp
Happy New Year to all!
One user of my maps has reported that when he loads a gmapsupp with DEM
in BaseCamp, it doesn't show shaded relief, while if he loads gmap
version of the same map it does. I have confirmed the issue with a
couple of maps and also that BaseCamp reads height information from
gmapsupp, as it is displayed in the status bar along with coordinates.
gmap version of the same maps does show both shaded relief and height
info at all zoom levels.
My DEM maps are generated with options below, just combining precompiled
map data (51*.img) and DEM data (63*.img) tiles.
gmapi command: java -ea -Xmx27G -jar mkgmap.jar --dem=hgt/ALOS
--dem-poly=polygons/$mapa.poly --overview-dem-dist=128000
--gmapi-minimal${GMAPI_MINIMAL} --show-profiles=1
--road-name-config=${CONFIG} tmp/51${FID}*.img curvas/63${FID}*.img
tmp/${ABR}5${FID}.txt
gmapsupp command: java -Xmx27G -ea -jar mkgmap.jar --gmapsupp
--road-name-config=${CONFIG} --route tmp/51${FID}*.img
curvas/63${FID}*.img tmp/${ABR}5${FID}.typ --description="OSM $MAPA DEM"
--no-tdbfile
I then tried splitting map data with the same areas.list used to
generate DEM tiles, so that both groups of tiles share the same bounding
box, but it didn't work either. Only if map and DEM data are all
compiled in the same run of mkgmap, gmapsupp shows shaded relief in
BaseCamp.
Does anybody know a way to get shaded relief from gmapsupp when using
precompiled tiles?
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev