3 ms·
Isn't the algorithm for this trivial? Convert the lat-long to a single number by Z-order (Hilbert curve if you like pain), optionally use xor and bit-rotations
by scythe 8y ago
Isn't the algorithm for this trivial? Convert the lat-long to a single number by Z-order (Hilbert curve if you like pain), optionally use xor and bit-rotations (which are both bijective) to scramble it, then divide it into chunks and lookup in a dictionary. How do you sell that to an investor who knows how to code?
(It can be made hierarchical, just chunk the lat-long first!) (Just clean the dictionary of any homonyms!) (You can get error correction by XORing the three word indexes together to generate a check word!)