3 ms·
I'm not sure why you want fixed point. Some of the reasoning behind them going with base20 is here: https://github.com/google/open-location-code/blob/master/do
by slyall 7y ago
I'm not sure why you want fixed point. Some of the reasoning behind them going with base20 is here:
https://github.com/google/open-location-code/blob/master/docs/olc_definition.adoc#open-location-code https://github.com/google/open-location-code/blob/master/doc...
* 10 characters can represent a 14x14 meter area suitable for many buildings
* Using a number base of 20 makes some calculations easier
* We could identify a 20 character subset from 0-9A-Z that doesn’t spell words.
- LoSboccacc 7y agoyou can vary precision in a "degree encoding" scheme as well just truncating rightmost bits, that's precisely why I referenced using fixed point and not floating. it also makes extra convenient to transform them into base32 and maintain some of the property that the scheme has (small changes in coordinate result in small changes in the encoded sequence etc)