Effective Location Storage via a Maidenhead Locator System For Python
Project description
# mlocs - sensible location storage… # # mlocs provides a simple, yet effective location hashing algorithm. # it’s not super precise (> 750m.) but it provides perfect results. # # There are 5 levels available. # Lvl 1 : World Scope # Lvl 2 : Region Scope # Lvl 3 : Metro Scope # Lvl 4 : City Scope # Lvl 5 : I See You # # toMaiden([lat, lon], level) returns a char (len = lvl*2) # toLoc(mloc) takes any string and returns topleft [lat,lon] within mloc
Version 1.0.3 :
Addedd genNonSense(loc) for other map :)
Version 1.0.2 :
- Added genGooleMap() for generating static google-map images out of MLOCS :)
–> for large scale (>25k req/day) these must be cached somehow….
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mlocs-1.0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for mlocs-1.0.3.macosx-10.8-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea9ef472b5b27ce7c6c38386e6a61d380d983a8f9f24b529ec74ccd15c92e1d |
|
MD5 | cfa7b8a4362d09de934b6241e04561b4 |
|
BLAKE2b-256 | ec29558cbe7b8fea7c7d183ec097327f25167231de7dfd46b29dffbb66658e82 |