Skip to main content
The PyPI package https://travis-ci.org/unknownlighter/sphericalmercator.svg?branch=master

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)

Release files for sphericalmercator 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphericalmercator 0.1.0
File Size Uploaded
sphericalmercator-0.1.0.tar.gz 2.5 kB Details

Release files / sphericalmercator-0.1.0.tar.gz

Download URL sphericalmercator-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
31bd66585053ed2c40289d238be1e73e7571fa350585628c752fa495a9ee4e1f
BLAKE2b-256 checksum
How to use checksums
95166d5be89bfa6eab9765b0eb92df5d7f4b7b7ca5e1d836e3b28cb01a18b8dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page