google / open-location-code

Open Location Code is a library to generate short codes, called "plus codes", that can be used as digital addresses where street addresses don't exist.
https://plus.codes
Apache License 2.0
4.06k stars 472 forks source link

Typo in short form resolutions? #426

Closed pathway closed 3 years ago

pathway commented 3 years ago

At https://github.com/google/open-location-code/wiki/Evaluation-of-Location-Encoding-Systems :

They can also be used in a short form of four to seven characters, similar to telephone numbers and postcodes, within approximately 50km of the original location. Within approximately 2.5km of the original location they can be shortened further

I would expect to see the second part "they can be shortened further", to have an even coarser resolution than the "short form" (50km), but it says 2.5km.

Thanks for sharing!

bocops commented 3 years ago

In that paragraph

Plus codes are 10 to 11 characters long. They can also be used in a short form of four to seven characters, similar to telephone numbers and postcodes, within approximately 50km of the original location. Within approximately 2.5km of the original location they can be shortened further, to just four to five characters.

50km and 2.5km don't refer to the resolution of the resulting code, but to the approximate vicinity of the original location in which the shortened code can be properly recovered.

For example, if your full code is 85CGPGV2+F7, you can shorten it by removing the first four characters (PGV2+F7) while referencing a nearby location like Castle Valley, Utah, USA. As long as the referenced location is less distant than half the grid size of that level (which is where the approx. 50km comes from), it can be used to determine which of the many ????PGV2+F7 we actually mean. "Four to seven characters", in this case, refers to the following code precisions:

Similarly, if you shorten the original code by two more (V2+F7), we'd need a reference location less than approx. 2.5km away to properly recover the original location. So, we might be able to state something like "V2+F7, near the Twisted Donut Arch in Utah". "Four to five characters" here refers to either the "XX+XX" or "XX+XXX" format.