3 ms·
as far as i can tell, the "10:10 code" is just a linear rescaling of the longitude and lattitude then encoding in base 32 (with a checksum for the last four bit
by dododo 16y ago
as far as i can tell, the "10:10 code" is just a linear rescaling of the longitude and lattitude then encoding in base 32 (with a checksum for the last four bits).
if the above is correct, why not explain it thus?
if you do this, it becomes obvious what happens to errors;
we know you can gracefully degrade the accuracy (since it's a linear encoding) by dropping the bits before the checksum.
what are the coding properties of the checksum? it doesn't look like crc32 or adler. what is it? why did you choose it?
- jgrahamc 16y agoActually, it's base 29, but no one has won the prize by checking my code. Funny how that works. Want to fix it? ^32^29 in the code. Update: I changed it.
- dododo 16y agoi'm pretty sure everywhere you put "base", was "32" before. the only 29 in the code when i read it, was on the checksum. why did you pick this checksum? what are its coding properties?