logo separator

[mkgmap-dev] use of --mdr7-del can break address search/street search

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Jan 20 20:02:17 GMT 2022

Hi Ticker,

I also wondered why these lines still exist:
                        int bitsPrefix = (maxPrefixCount == 0) ? 0 : Integer.numberOfTrailingZeros(Integer.highestOneBit(maxPrefixCount)) + 1;
                        int bitsSuffix = (maxSuffixCount == 0) ? 0 : Integer.numberOfTrailingZeros(Integer.highestOneBit(maxSuffixCount)) + 1;

The two counters are never increased in the current code. In r3968 there's some commented code which used them.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Donnerstag, 20. Januar 2022 19:22
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] use of        --mdr7-del      can     break   address search/street   search

Hi Gerd

I'm struggling to understand the possibilities of Mdr7 (ordering,
partialInfo, nameOffset, string different to label, etc etc)

My initial thought about nameOffset was that it was for skipping over
the shield prefix or text before the 0x1b marker.

partialInfo is very strange; it seems to be used for part of the rr
flag but the code suggests it also held counts of the number of
prefixes and suffixes.

Sorry - not being much use here.

Ticker


_______________________________________________
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