[mkgmap-dev] Assertion error with r3350From GerdP gpetermann_muenchen at hotmail.com on Fri Nov 21 09:47:36 GMT 2014
Hi Steve, no problem, just wanted to make sure that I understand the code. The comments for SimpleStreetPhoneNumber are a bit confusing. I don't understand the (or A) in "If the string is not all numeric (or A) " Gerd Steve Ratcliffe wrote > Hi Gerd > >> I wondered why the patched version produces slightly smaller img >> files. If I got that right, the reason is that street numbers and phone >> numbers containing a "-" are encoded as "simple number" now ? > > Yes simple numbers are stored two to a byte in base 11 with '-' being > the digit after 9 so takes about half the number of bytes. If it is > stored as a label, you have the lbl pointer, 3 bytes, plus the null > byte. For a ten digit number you save about 9 bytes by encoding it as > a simple number. Not much but it might add up to enough to save a block. > Or do you think that there is a problem? > > This bug has been there ever since the code was added in 2009! > > ..Steve > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at .org > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- View this message in context: http://gis.19327.n5.nabble.com/Assertion-error-with-r3350-tp5824877p5825012.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] Assertion error with r3350
- Next message: [mkgmap-dev] Assertion error with r3350
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list