logo separator

[mkgmap-dev] Patch: use all 4 bytes of POIGlobalFlags in LBL Header

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Sat Feb 12 14:19:11 GMT 2022

Hi Gerd

Reading it more carefully, probably the basic flag set is 16 bits, with
0x0100 indicating more bytes to read/write

Ticker


On Sat, 2022-02-12 at 12:36 +0000, Ticker Berkin wrote:
> Hi Gerd
> 
> Although the comment might have inaccuracies and be ambiguous, it
> contains useful information about how the extra flags for POI might
> be
> represented, which could be different from just reading 4 bytes.
> 
> One way of interpret it is if (first byte & 0x80), then read/write 
> extra bytes; the 3 zero/unknown bytes not being part of this flag
> set.
> 
> Ticker
> 
> 
> On Fri, 2022-02-11 at 15:33 +0000, Gerd Petermann wrote:
> > And now with the patch ...
> > 
> > Gerd
> > 
> > ________________________________________
> > Von: Gerd Petermann
> > Gesendet: Freitag, 11. Februar 2022 16:32
> > An: mkgmap-dev at lists.mkgmap.org.uk
> > Betreff: Patch: use all 4 bytes of POIGlobalFlags in LBL Header
> > 
> > Hi devs,
> > 
> > attached patch simplifies the code, but should not change anything
> > in
> > the output of mkgmap.
> > 
> > GPXSee contains code to evaluate some of the bits which were
> > ignored
> > so far.
> > 
> > Do you see any problems?
> > 
> > Gerd
> > _______________________________________________
> > mkgmap-dev mailing list
> > mkgmap-dev at lists.mkgmap.org.uk
> > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list