/StylishMaps

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

StylishMaps

Really simple repo to generate stylish street maps using OSMnx, matplotlib and inkscape.

Maps can be parsed from bash with the following command:

python main.py FILE_NAME LATITUDE LONGITUDE TITLE ZOOM STYLE OUT_PATH

For example:

python main.py "Belvedere" "48.192824269178004" "16.38504366701092" "Schloss Belvedere\nWien, AT" "15000" "Modern" "~/"

exports:

Please note that it'll export the street traces with a transparent background for further use with software like inkscape. Code to automate the process is provided but needs some panel setup (see my blogpost for more information).

Requirements: OSMnx, matplotlib


Author: Héctor M. Sánchez C. (chipdelmal)