Skip to content
/ cartes Public

Create great maps in Python 🐍 with openstreetmap 🌍

License

Notifications You must be signed in to change notification settings

xoolive/cartes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cartes

tests docs Code Coverage Checked with mypy Code style: black License
PyPI version PyPI downloads Conda version Conda Downloads

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

docs

Documentation available at https://cartes-viz.github.io/