Hi Gerd

Building a map with --code-page=0 --index --gmapsupp --gmapi
(exactly same behaviour without --code-page=0)

Then, using raw mode editor to look at various components.

The LBL section of tiles, gmapsupp.img and gmapi looks encoded - I
can't find any recognisable strings.

However, the gmapsupp contains the 4-char prefixes (as per Mdr17) with
standard ascii encoding, the gmapi 00OSMMAP.MDR contains full names of
everything, again as ascii (probably Mdr15) and .typ file is also
ascii.

I can't find any ascii in the overview map (except the expected subfile
names and copyright), but my test area might not have anything named at
this level.

It is possible that MDR does this intentionally; avoiding the
"compressed" format that Mdr15.java / MdrDisplay mentions. This
compressed format might simply be Format6

Ticker

On Tue, 2021-11-30 at 10:20 +0000, Gerd Petermann wrote:
> Hi Ticker,
> 
> I also don't like that we still use e.g.  Charset.forName("ascii")
> instead of StandardCharsets.US_ASCII, esp. because "ascii" is also
> used as name for our own resource files.
> 
> In what situation do you see wrong encoding of Mdr15/Mdr17?
> 
> Gerd


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to