Skip to main content

Context geo-tiles in Python

Project description

contextily: context geo tiles in Python

contextily is a small Python 3 (3.8 and above) 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.

Tests codecov Binder

Tiles

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

Dependencies

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

Installation

Python 3 only (3.8 and above)

Latest released version, using pip:

pip3 install contextily

or conda:

conda install contextily

Contributors

contextily is developed by a community of enthusiastic volunteers. You can see a full list here.

If you would like to contribute to the project, have a look at the list of open issues, particularly those labeled as good first contributions.

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.3.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

contextily-1.3.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contextily-1.3.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for contextily-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3428aedbd4a7e3e1f6caf56f578d7685469072b5bd7541d92e4b54751d51163a
MD5 c68d74d9db0906e9ed74eecd08c2f72a
BLAKE2b-256 9d37aa391616f2d3b5b5cb70f89eb8d85742bdf1d94db7a0c77fd1dce33cdab2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contextily-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for contextily-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7f0ddf62c87fd20e46a435aaa0551707a552b776f16eb545df5a61d32d80d75
MD5 8b92c894d2289e1213cf9b8d02a9172e
BLAKE2b-256 5d051f9a5bcde8b46e250393883c3dc47f0bfbc7f25337bd768579f4c4fd84b3

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