[mkgmap-dev] Format6Encoder/Decoder
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Tue Nov 30 11:15:10 GMT 2021
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
- Previous message: [mkgmap-dev] Format6Encoder/Decoder
- Next message: [mkgmap-dev] Format6Encoder/Decoder
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list