
Hi Steve, I looked at this again. I think the comment disturbed me because there is also an example "4a" and I first wondered if there is really a special treatment for this, and the old (wrong) code did not show so clearly what was really meant. I've attached a small patch to improve the comments. Gerd
Date: Fri, 21 Nov 2014 09:58:13 +0000 From: steve@parabola.me.uk To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Assertion error with r3350
Hi Gerd
for SimpleStreetPhoneNumber are a bit confusing. I don't understand the (or A) in "If the string is not all numeric (or A) "
The code converts from base 11 to a string using a general routine so that it uses 0123456789A in the same way that hexadecimal uses 0123456789ABCDEF.
Since that routine is not used elsewhere, we could make it specific to base 11 and replace String digit = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; with "0123456789-"
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev