mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-03-16 03:19:40 +01:00
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.8%
Python
0.2%