A minimal Python library to draw customized maps from OpenStreetMap created using the osmnx, matplotlib, shapely and vsketch libraries.
 
 
Go to file
mfbehrens99 58e27bd9d6 Support for coordinates 2021-03-10 11:32:25 +01:00
code Support for coordinates 2021-03-10 11:32:25 +01:00
notebooks Added code, notebooks, prints, README, requirements.txt 2021-03-05 11:06:57 -03:00
prints Added code, notebooks, prints, README, requirements.txt 2021-03-05 11:06:57 -03:00
LICENSE Initial commit 2021-03-05 09:22:05 -03:00
README.md Added code, notebooks, prints, README, requirements.txt 2021-03-05 11:06:57 -03:00

README.md

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

$ pip install -r requirements.txt

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: