flâneur

marceloprates/prettymaps: Draw pretty maps from OpenStreetMap data! Built with osmnx +matplotlib + shapely ·

github.com · 448 words · saved by 1 readers

A minimal Python library to draw customized maps from OpenStreetMap created using the osmnx, matplotlib, shapely and vsketch packages. This work is licensed under a GNU Affero General Public License v3.0 (you can make commercial use, distribute and modify this project, but must disclose the source code with the license and copyright notice) Install prettymaps with: Install prettymaps with: Then restart the runtime (Runtime -> Restart Runtime) before importing prettymaps After prettymaps is installed, you can run the front-end (streamlit) application from the prettymaps repository using: The full tutorial is at docs/tutorial.md — a markdown walkthrough with rendered images, the [Plot] dataclass fields, the layers/style parameters, presets, multiplot, hillshade, and keypoints. Quick start: The most important prettymaps.plot() parameters are: plot is a dataclass with geodataframes (per-layer GeoDataFrames), fig, and ax. See docs/tutorial.md for the full set of examples (Macau, Bom Fim, mo

A minimal Python library to draw customized maps from OpenStreetMap created using the osmnx, matplotlib, shapely and vsketch packages. This work is licensed under a GNU Affero General Public License v3.0 (you can make commercial use, distribute and modify this project, but must disclose the source code with the license and copyright notice) Note about crediting and NFTs: Please keep the printed message on the figures crediting my repository and OpenStreetMap (mandatory by their license). I am personally against NFTs for their environmental impact, the fact that they're a giant…

saved by

related reading