Skip to main content

Mercator coordinate manipulation for tile systems

Project description

https://travis-ci.org/republicwireless-open/webmercator.svg?branch=master https://codecov.io/gh/republicwireless-open/webmercator/branch/master/graph/badge.svg https://img.shields.io/pypi/v/webmercator.svg?style=flat https://img.shields.io/badge/License-MIT-yellow.svg

WebMercator is a Python (2.7, 3.4, 3.5, 3.6) package to aid in geographic point conversion onto a Mercator projection for tile systems.

Getting Started

Prerequisites

To utilize or contribute to Webmercator, all you need is Python!

Installing

For bleeding edge

# keeping the repo local
$ git clone git@github.com:republicwireless-open/webmercator
$ cd webmercator
$ python setup.py install

# only install; no need to clone
$ pip install git+https://github.com/republicwireless-open/webmercator@master

Or for PyPi releases

$ pip install webmercator>=0.1.0

Running the tests

Tests can be run in many ways:

# runs all tests, in all environments
$ path/to/tox

# runs all tests, only in Python 2.7
$ path/to/tox -e py27

# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py

# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py:TestPoint

# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py:TestPoint.test_init_empty

# only runs style guide tests
$ path/to/tox -e flake8

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License

Acknowledgments

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

webmercator-0.1.2.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file webmercator-0.1.2.tar.gz.

File metadata

  • Download URL: webmercator-0.1.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for webmercator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 35644db9ffeba320634f0317230ee47a279c821659155c4aff51c7622d3c3076
MD5 65a4e4297fdd76730170248b99efe5fd
BLAKE2b-256 9f6cab91dedf8bebb7c64a58ba7d77e385fb69966003c42f04ddfb75aef27853

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page