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

Tool for calculate XYZ-tile bounding box in geodesic coordinates

Project description

Description

Tool for calculate tile bounding box (in geodesic coordinates) by specified XYZ (x - column, y - row, z - zoom) of tile.

Installation

pip install sphericalmercator

Usage

from sphericalmercator import SphericalMercator

merc = SphericalMercator(levels=15, size=256)
print merc.xyz_to_envelope(x=2474, y=1280, zoom=12)
# outputs (37.44140625, 55.727110085045986, 37.529296875, 55.7765730186677)

Project details


Release history Release notifications

History Node

0.1.0

History Node

0.0.4

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

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
sphericalmercator-0.0.3-py2.py3-none-any.whl (3.4 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 20, 2016
sphericalmercator-0.0.3.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None Jan 20, 2016

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