Re: [mkgmap-dev] DEM data from gmapsuppp not showing on BaseCamp

2023-01-02 Thread Gerd Petermann
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  im Auftrag von Carlos 
Dávila 
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] DEM data from gmapsuppp not showing on BaseCamp

2023-01-02 Thread Carlos Dávila

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


Re: [mkgmap-dev] Remove accentiuation

2023-01-02 Thread Gerd Petermann
Hi Karl,

I am not sure if I understand the problem. If you don't want to use utf8 you 
may try to change the data in mkgmap\resources\chars\latin1

Gerd


Von: mkgmap-dev  im Auftrag von 7770 
<7...@foskan.eu>
Gesendet: Sonntag, 1. Januar 2023 18:37
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Remove accentiuation

Hi and with wishes of a Happy new year.

When preparing maps i use the setting
--latin1   (same as --code-page=1252)

This is good most of the time, since most language specific characters are
replaced with plain latin characters. Cyrillic is transliterated to latin.

In Ukraininan there is a softening letter (ь), when this is present in a name,
it is transliteradet to ' (apostrophe).

For example the city Львів becomes L'viv. This in turn makes searches more
difficult since one not familar with the language may not know where the
accentuation is placed. As a forigner i would not know if it is Lviv or L'viv.

Is there some better code page to use to start with (still performing
transliteration) or some way to ask mkgmap to remove the apostrophe from the
text?


Regards
Karl



___
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