marceloprates/prettymaps
A Python tool that turns any place name into a hand-drawn style pretty map automatically
prettymaps is a Python library that pulls map data from OpenStreetMap and renders it as stylized artwork using matplotlib. Users can customize colors and styles per element like buildings, water, and roads. It can be run with a few lines of code, through a Streamlit web app, or in Google Colab.
What it does
- Type in a place name or coordinates and it fetches OpenStreetMap data to draw a map
- Works by fetching map data with osmnx, handling shapes with shapely, and rendering with matplotlib
- The layers option lets you choose which map elements (like water or buildings) to include, and style controls colors and fill patterns
- Built-in presets (default, minimal, macao, tijuca, etc.) let you load ready-made styles instantly
- Can be run as a web app via streamlit run app.py, or directly in Google Colab, no coding environment setup required
Why it matters
It lets anyone create artistic, poster-worthy maps of their neighborhood without needing geospatial expertise, useful for gifts or home decor. For developers working with geographic data visualization, it's a practical reference for styling OpenStreetMap output.
Terms in this repo
- OpenStreetMap · A free, editable map database of the world built by volunteers
- osmnx · A Python library for easily downloading and working with OpenStreetMap data
- matplotlib · A widely used Python library for creating charts and graphics
- shapely · A Python library for creating and manipulating geometric shapes like points, lines, and polygons
- streamlit · A framework for quickly building web apps using only Python code
Repository description (English)
Draw pretty maps from OpenStreetMap data! Built with osmnx +matplotlib + shapely
Open on GitHubTrending repos
- vorssaint/vorssaint-utilsOne free menu bar app replaces a dozen paid Mac utilities
- Alishahryar1/free-claude-codeA local proxy that lets coding AI agents run on 49 free or cheap model providers instead of one paid service
- freestylefly/awesome-gpt-image-2A library of 532 reverse-engineered prompts that turn GPT-Image2 into a predictable image-making tool
- block/buzzAn open-source workspace where humans and AI agents chat, code, and review in the same rooms
- NousResearch/hermes-agentNous Research's Hermes is an AI agent that gets smarter the more you use it
- virgiliojr94/book-to-skillA tool that turns technical book PDFs into on-demand reference skills for AI coding agents
- VoltAgent/awesome-agent-skillsA single hub collecting over 1000 'how-to' manuals that make AI coding assistants act like experts
- anthropics/claude-plugins-communityA shared shelf where anyone's Claude add-ons get listed for install