lococode-0.1.2 is not a library.
Lococode
Location codes inspired by Google's Plus Codes.
Usage
Encode
Following the example cited on the Open Location Code's wikipedia page for the Merlion fountain in Singapore located at:
1.286785°N 103.854503°E
You can specify the desired code length with the -l N flag:
Notice lococode does not use padding. Perhaps it should? Please open an issue if you think so.
Decode
Test
Same as encoding and then decoding, with additional metrics:
Design
- Base32
- Alternates between 2-3 bits for latitude and longitude