contextily
is a small Python 3 package to retrieve and write to disk tile maps from
the internet 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.
- Toner and Terrain map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
- Watercolor map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.
mercantile
numpy
matplotlib
pillow
rasterio
requests
geopy
joblib
Python 3 only:
pip3 install contextily
BSD compatible. See LICENSE.txt