Skip to main content

Geospatial tiling utilities

Project description

https://travis-ci.org/DigitalGlobe/tiletanic.svg?branch=master

Tiletanic is a library for making and using geospatial tiling schemes. It’s goal is to provide tooling for dealing with the conversion between a tile specified in as (row, column, zoom level), geospatial coordinates, or quadkeys. It also provides functionaly for taking an input geometry and figuring out what tiles cover it.

Tiletanic is MIT licensed.

Full documentation is hosted here.

Installation is easy:

pip install tiletanic

The only dependency is shapely, and to install that, you’ll need GEOS installed (usually in your package manager).

Motivation

You may be familar with the Web Mercator (or Spherical Mercator, Google Tiles, etc) tiling scheme, which is the most commonly encountered tiling scheme on the web. There are good tools out there for dealing specifically with this projection, for instance Mercantile fits the bill. If you’re dealing exclusively with this projection, you might get better mileage with them!

One oddity of Web Mercator is that coordinates are usually expressed in geographic (longitude, latitude) coordinates that live on the ellipsoid (WGS84) rather than in units of the Web Mercator projection (meters). Dealing with this kind of conversion is exactly what Mercantile and its like were made to handle.

Tiletanic’s use cases are a bit different:

  • What do you do if your data is already in some projection? For instance, you might want to know what tile covers a point specified in the Web Mercator projection without first converting back to WGS84. Tiletanic can help.

  • At DigitalGlobe, our imagery is often projected into many other projections (UTM, Geographic, etc) and it is often times extremely convienent to organize raster data into a tiled format before proceeding with processing (a single “strip” from one of our satellite collects can easily be 100km long!). When dealing with different projections, the user typically needs to impose their own tiling scheme. Tiletanic provides an easy way for you to define you’re own scheme and get a lot of tiling functionality right out of the gate.

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

tiletanic-1.1.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

tiletanic-1.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file tiletanic-1.1.0.tar.gz.

File metadata

  • Download URL: tiletanic-1.1.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for tiletanic-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0b879b37a0000dba0c18018c1343af1fb97b1f2b16004b26d5d184f1c3d8c2ae
MD5 209351e55708b08cfc9841833c22353f
BLAKE2b-256 42bceca08eac833bdf94e77c2bb193fb2115b0eb68c67f6b5f53e6c6368f2a9c

See more details on using hashes here.

File details

Details for the file tiletanic-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: tiletanic-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for tiletanic-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6461ca385f356cd088e77da7ddf4e1ef29aded54e38ed844d16cb0d12117b415
MD5 e432a49fefde565a9a394ddbe7976316
BLAKE2b-256 96c4d23213f20cbcf5e530d1052ad652f66b40e2adb1077a08d0c35b2c7eec38

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