Maidenhead Locator, Lat Lon coordinate convertor
Project description
Michael Hirsch
Henri Kuiper
License: UNKNOWN
Description: [![image](https://travis-ci.org/scivision/maidenhead.svg?branch=master)](https://travis-ci.org/scivision/maidenhead)
[![image](https://coveralls.io/repos/github/scivision/maidenhead/badge.svg?branch=master)](https://coveralls.io/github/scivision/maidenhead?branch=master)
[![Build status](https://ci.appveyor.com/api/projects/status/4b44p65o33088top?svg=true)](https://ci.appveyor.com/project/scivision/maidenhead)
[![pypi versions](https://img.shields.io/pypi/pyversions/maidenhead.svg)](https://pypi.python.org/pypi/maidenhead)
[![pypi format](https://img.shields.io/pypi/format/maidenhead.svg)](https://pypi.python.org/pypi/maidenhead)
[![PyPi Download stats](http://pepy.tech/badge/maidenhead)](http://pepy.tech/project/maidenhead)
# 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
All examples assume first doing
```python
import maidenhead as mh
```
### lat lon to Maidenhead locator
```python
mh.toMaiden([lat, lon], level)
```
returns a char (len = lvl*2)
### Maidenhead locator to lat lon
```python
mh.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
Keywords: location,maidenhead
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: tests
Henri Kuiper
License: UNKNOWN
Description: [![image](https://travis-ci.org/scivision/maidenhead.svg?branch=master)](https://travis-ci.org/scivision/maidenhead)
[![image](https://coveralls.io/repos/github/scivision/maidenhead/badge.svg?branch=master)](https://coveralls.io/github/scivision/maidenhead?branch=master)
[![Build status](https://ci.appveyor.com/api/projects/status/4b44p65o33088top?svg=true)](https://ci.appveyor.com/project/scivision/maidenhead)
[![pypi versions](https://img.shields.io/pypi/pyversions/maidenhead.svg)](https://pypi.python.org/pypi/maidenhead)
[![pypi format](https://img.shields.io/pypi/format/maidenhead.svg)](https://pypi.python.org/pypi/maidenhead)
[![PyPi Download stats](http://pepy.tech/badge/maidenhead)](http://pepy.tech/project/maidenhead)
# 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
All examples assume first doing
```python
import maidenhead as mh
```
### lat lon to Maidenhead locator
```python
mh.toMaiden([lat, lon], level)
```
returns a char (len = lvl*2)
### Maidenhead locator to lat lon
```python
mh.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
Keywords: location,maidenhead
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: tests
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.5a0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for maidenhead-1.1.5a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3942253110b13f69d7ea90c7a3a9e4aa399bf71488fd56eb6cbdfaf40a387f |
|
MD5 | fc7ad6f7aa44b4f7f89e0283076fd56c |
|
BLAKE2b-256 | f000ca871ca3a668c9ecc370311ca5e8fc2d9c85347793aed29a42e8a422f58d |