Re:Show HN: The simplest geohash implementation under the sun
by vinsci on Monday June 14, 2021 @07:01PM
(#27509445)
An Evaluation of Location Encoding Systems
https://github.com/google/open-location-code/wiki/Evaluation...
[ Parent
| on HN ]
Re:Show HN: The simplest geohash implementation under the sun
by mro_name on Tuesday June 15, 2021 @03:51AM
(#27512467)
I'd go so far as to say that any code based on discrete numbers has rounding induced discontinuities, naturally. And with variable precision those can be arbitrarily large.
Take decimal integer representations like 999 and 1000 – they 'look' very different unless you decode them (what we all are use to on the fly). The distance is just 1 but they're in two different buckets in terms of 1e3.