mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-12-23 12:13:51 +01:00
75b2b30279d396aa34751dfaa0ff58570c29bc6e
prettymaps
A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
Install dependencies
Install dependencies with
$ conda env create environment.yml
Usage
On Python run:
from draw import plot
plot(f'Bom Fim, Porto Alegre', palette = ['red', 'blue'], layers = ['perimeter', 'landuse', 'water', 'streets'])
"Circle" plots (Jupyter Notebook):
Plotting districts (Jupyter Notebook):
More than one district at a time:
Languages
Jupyter Notebook
99.7%
Python
0.3%