Skip to main content

contextily: context geo tiles in Python

contextily is a small Python 3 (3.10 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.10 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

Metadata

Release files for contextily 1.7.1

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

Source distribution (sdist)

Source distribution for contextily 1.7.1
File Size Uploaded
contextily-1.7.1.tar.gz 22.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for contextily 1.7.1
File Interpreter ABI Platform
contextily-1.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.5 MB

Release files / contextily-1.7.1.tar.gz

Download URL contextily-1.7.1.tar.gz
Size 22.5 MB
Tags Source
SHA-256 checksum
How to use checksums
e00372357a93a9028f75ea7343d867893bd8d4b89833de17b18438725929c885
BLAKE2b-256 checksum
How to use checksums
7f69099a9a03eb558c8dc118e1fdcdeb702081140db2d3bc0827fad144987192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / contextily-1.7.1-py3-none-any.whl

Download URL contextily-1.7.1-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82ca36a4a51cf49e43700ad1113b50531b3637e4f12b407b54e0a1fd8950a49c
BLAKE2b-256 checksum
How to use checksums
90449d2b679ed85b98d16c78d354ea60c2c3ed4eb70e8a1b508c94f5347b6bb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.7.1 This release

2 release files

1.7.0

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.99.0

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

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