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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphericalmercator-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b26c643ab9bd5dfd4eb41967048a1aacaba272231d1dd44fac087bb1401448b1 |
|
MD5 | 63c848ef28c7a57c57a28037e6377657 |
|
BLAKE2b-256 | 076da095118a51f6789d5f948e203a6f56aa8a8772713dae351e93ab38b37959 |