Maidenhead Locator
Project description
Maidenhead <-> Lat/Lon
maidenhead provides a simple, yet effective location hashing algorithm. Maidenhead allows global location precision down to 750m
Maidenhead provides 4 levels of increasing accuracy
Level |
Precision |
---|---|
1 |
World |
2 |
Regional |
3 |
Metropolis |
4 |
City |
Install
pip install -e .
Examples
maidenhead.toMaiden([lat, lon], level)
returns a char (len = lvl*2)
maidenhead.toLoc('AB01cd')
take any string and returns topleft [lat,lon] of Maidenhead grid square.
Command Line
Python:
./Maidenhead.py 65 -148
Julia:
./Maidenhead.jl 65 -148
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maidenhead-1.1.3.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for maidenhead-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43a24635b34b92ca29f6da025517c82a543a86fc7f89a57744367ff0f354d196 |
|
MD5 | fdd5e2dfc5144e51c4e274d80453a782 |
|
BLAKE2b-256 | 1e1f1f1d811408cfcfc4beb8bc12dc1f4ae07ae12dcc4385053358f8e7c939b7 |