Context geo-tiles in Python
Maintained. Last release 5 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install contextilycontextily: 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.

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:
- The standard OpenStreetMap map tiles
- Toner, Terrain and Watercolor map tiles by Stamen Design
Dependencies
mercantilenumpymatplotlibpillowrasteriorequestsgeopyjoblibxyzservices
Installation
Python 3 only (3.10 and above)
Latest released version, using pip:
pip3 install contextily
or conda:
conda install contextily
Contributors
is developed by a community of enthusiastic volunteers. You can see a full list .