Hi Gerd

I agree with Carlos: It would be quite an achievement to create NT imgs. I looked at the POI structure once to unravel the extra types Garmin uses in its city navigation maps and they looked less daunting than highways & polygons .

btw I have a hunch that mapsources' cache can reveal types and more perhaps

Good Luck

Nick

On 27/01/2022 09:16, Carlos Dávila wrote:
That sounds promising, great!!

Le 26/1/22 à 13:01, Gerd Petermann a écrit :
Hi all,

The source code [1] for GPXSee [2] contains a routine demangle() which "unlocks" a locked TRE file.
I was aware that there are tools which can do that but never saw open source so far.
It's easy to add this in TREFileReader. I've already patches for mkgmap and display tool
which allow to read e.g. Adria Topo with e.g. RgnDisplay or NetDisplay.
Newer maps with Huffman encoded labels (in GMP file) do not yet work, I only managed to extract some labels
from LBL so far.

I don't plan to add support in mkgmap to write locked maps, but maybe mkgmap will be able to write NT maps
sometimes.

Gerd

[1] https://github.com/tumic0/GPXSee/blob/master/src/map/IMG/trefile.cpp
[2] https://www.gpxsee.org/
_______________________________________________
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