Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Maidenhead Locator

Project description

https://travis-ci.org/scivision/maidenhead.svg?branch=master https://coveralls.io/repos/github/scivision/maidenhead/badge.svg?branch=master Maintainability

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

This version
History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
maidenhead-1.1.3-py3-none-any.whl (4.8 kB) Copy SHA256 hash SHA256 Wheel py3 May 8, 2018
maidenhead-1.1.3.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None May 8, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page