Skip to main content

Context geo-tiles in Python

Project description

contextily: context geo tiles in Python

contextily is a small Python 3 (3.7 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.7 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.2.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

contextily-1.2.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contextily-1.2.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for contextily-1.2.0.tar.gz
Algorithm Hash digest
SHA256 234705b3f03dfa1fcb5fabe765a4a7f72be91dafe2a6e18df270be391ae355dd
MD5 499e57dd25366c23daa9411c8cae9189
BLAKE2b-256 dddf4bcd3751e201e1e3e68d9ddc2eba6010f740bfb6601bd859247edc4e285b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: contextily-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for contextily-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3c63082b6b2c4c7cfb58bbd0db8c57140d88eb829654bf3e04e5c53b4c5b17d
MD5 677c3d52bc5471b395fccc3c5e0e7aaa
BLAKE2b-256 97c9c6dcadf139384322a814503b30ff56ec58153f82ba5763d932d908df5085

See more details on using hashes here.

Provenance

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