Skip to main content

Context geo-tiles in Python

Project description

contextily: context geo tiles in Python

contextily is a small Python 3 package to retrieve tile maps from the internet. It can add those tiles as basemap to matplotlib figures or write tile maps to disk into geospatial raster files. Bounding boxes can be passed in both WGS84 (EPSG:4326) and Spheric Mercator (EPSG:3857). See the notebook contextily_guide.ipynb for usage.

Build Status Coverage Status

Tiles

The current tile providers that are available in contextily are the providers defined in the leaflet-providers package. This includes some popular tile maps, such as:

Dependencies

  • mercantile
  • numpy
  • matplotlib
  • pillow
  • rasterio
  • requests
  • geopy
  • joblib

Installation

Python 3 only

Latest released version:

pip3 install contextily # installs the latest released version (v0.99.0)

Latest release candidate (includes functionality such as add_basemap coming in version 1.0:

pip3 install contextily==1.0rc2 # installs the latest release candidate (v1.0rc2) 

Contributors

License

BSD compatible. See LICENSE.txt

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

contextily-1.0.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

contextily-1.0.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file contextily-1.0.0.tar.gz.

File metadata

  • Download URL: contextily-1.0.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200119 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for contextily-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1f2d051160a561617d7ce550bafa484945c1c1124582dbe348cfd7029a8dd430
MD5 dd4dcf8f9aaf349dad64c206e1110526
BLAKE2b-256 dd2f23b2c2e9defc1dfbcf73e49068159c077044f96cf3a5845d8ce62132ab3a

See more details on using hashes here.

File details

Details for the file contextily-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: contextily-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.5 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/45.1.0.post20200119 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for contextily-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5380f9845a75075c11b8f09ebc3d9471f4ba39105a33b2875ebdd2938ea43684
MD5 925fcd7d07c41cb08bafe8f55e2e3979
BLAKE2b-256 c1956a228a25a5e93ae236efe42a36659b61b1b4e7ceee75dd5bc4bab8944c44

See more details on using hashes here.

Supported by

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