Skip to main content

Context geo-tiles in Python

Project description

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

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.7.0.tar.gz (22.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contextily-1.7.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contextily-1.7.0.tar.gz
  • Upload date:
  • Size: 22.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for contextily-1.7.0.tar.gz
Algorithm Hash digest
SHA256 6534faa5702b89b46d0d81b4c538754f2d8b3dd8cc298454b11ccedfa67e73ac
MD5 8033e83200744dfd235012590270119a
BLAKE2b-256 ccf34c7fdb1ef92c8e3db1de9741595ae1815ddc8a7e2088539e6107c83e2268

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contextily-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for contextily-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38393b8e7dc38580ef1f60211a9ba1c3eb142a439c260509c201987754fa9dba
MD5 2b9fcb9e2f8abcbc3d8cd6019f433ea3
BLAKE2b-256 6abb6c824d0da874eef900ecf0a71e0889f0d4624560b0160fd9e333a146ee4f

See more details on using hashes here.

Supported by

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