A generic toolbox for building maps in Python
Project description
Cartes
Cartes is a Python library providing facilities to produce meaningful maps.
Cartes builds on top of most common Python visualisation libraries (Matplotlib/Cartopy, Altair, ipyleaflet) and data manipulation libraries (Pandas, Geopandas) and provides mostly:
- a comprehensive set of geographic projections, built on top of Cartopy and Altair/d3.js;
- an interface to OpenstreetMap Nominatim and Overpass API. Result of requests are parsed in a convenient format for preprocessing and storing in standard formats;
- beautiful default parameters for quality visualisations;
- advanced caching facilities. Do not download twice the same content in the same day.
The cartes library is a powerful asset to publish clean, lightweight geographical datasets; and to produce decent geographical visualisations in few lines of code.
Gallery
More in the documentation
Installation
Latest release:
Recommended, with conda:
conda install -c conda-forge cartes
or with pip:
pip install cartes
Development version:
git clone https://github.com/xoolive/cartes
cd cartes
pip install .
Documentation
Documentation available at https://cartes-viz.github.io/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cartes-0.8.1.tar.gz
.
File metadata
- Download URL: cartes-0.8.1.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8058308e3f1f203ccd8153040d660863fc70c5efd4efd312359780059255e12 |
|
MD5 | 923f15468c77b5068d821105ddcb7fcf |
|
BLAKE2b-256 | eb8c7b49d23442c93d4c01e4937e54f227e3b14db0a27b879309fc3f0b344e30 |
File details
Details for the file cartes-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: cartes-0.8.1-py3-none-any.whl
- Upload date:
- Size: 43.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0827480238aa0f0dcfed44a3e095081bc6703c28bf5c2c967f55af0314b0cf3 |
|
MD5 | b3efe07120ef21ab54a39b2de80c7f06 |
|
BLAKE2b-256 | b4e2e082e25fbb0c210d35f471b089ea9e9212ffcca83272965349738d5273ef |