Skip to main content

Context geo-tiles in Python

Project description

contextily: context geo tiles in Python

contextily is a small Python 3 (3.9 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.9 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.6.2.tar.gz (22.5 MB view details)

Uploaded Source

Built Distribution

contextily-1.6.2-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for contextily-1.6.2.tar.gz
Algorithm Hash digest
SHA256 3c747925269be248a9b1a761859e05d1681286e04d5d0796bdaf1de3409474bb
MD5 f316f1d290429af4c0b910a0a0505d10
BLAKE2b-256 855c67e809b32a8e4017a2dbfea90d4401167b087fc0cab88e82c7abc4da91d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contextily-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for contextily-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b06ead7258b34e73db2e318e33554f54a22d207b3c272b74d8b64801773b3fc3
MD5 610774ac5e99ed2c0717103ee4e76cec
BLAKE2b-256 fb4607a029b73f9a5c7bbf9b538e6441c42014a448f335a1cc780616f2594bad

See more details on using hashes here.

Supported by

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