I have a question about developing an OLC implementation. The coding scheme and conversion to and from lat/long is easy, but I'm hung up on this requirement:
> 19. Open Location Code implementations must provide the following methods:
> [...]
> ◦ a method to remove four or six digits from the front of an Open Location Code given a reference location
> ◦ a method to recover a full Open Location Code from a short code and a reference location.
To do this, you have to know the OLC (or lat/long) of the reference location, which would have to be stored in some sort of resource.
As a guideline, how many locations (or of what minimum size) would it be necessary to ship around with an application? Remember that not every application can store this on a web server. OLC was specifically not intended to require network connectivity.
Geonames distributes lists of cities with population over 15,000 (there are 24,000 of these), over 5,000 (48,000), and over 1,000 (127,000), plus a list of all "populated places" (4.6 million). How many is enough to conform to the requirement?
Note that an abbreviated OLC could be given with different reference locations, such as the name of the actual city or town containing the location, one of more adjacent towns where someone thinks the location is, a nearby major city, etc. Examples in the heart of huge cities such as São Paolo and Cairo don't address this problem.