https://github.com/chrieke/prettymapp Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Customer Stories + White papers, Ebooks, Webinars + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} chrieke / prettymapp Public * Notifications * Fork 50 * Star 871 [?] Create beautiful maps from OpenStreetMap data in a streamlit webapp 871 stars 50 forks Activity Star Notifications * Code * Issues 5 * Pull requests 1 * Actions * Security * Insights More * Code * Issues * Pull requests * Actions * Security * Insights chrieke/prettymapp This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 2 branches 1 tag Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/c] Use Git or checkout with SVN using the web URL. [gh repo clone chriek] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @chrieke chrieke new app url ... 76ac95c Aug 22, 2023 new app url 76ac95c Git stats * 185 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .streamlit move st custom theme config to main folder, works with working dir December 4, 2022 20:11 cache add example osm cache files April 6, 2022 17:43 prettymapp geopandas dont use set as indexer December 4, 2022 22:33 streamlit-prettymapp upgrade st 1.25.0, replace deprecated memo caching methods August 10, 2023 02:50 .gitignore setup March 5, 2022 21:50 Makefile fix package name April 2, 2022 17:49 README.md new app url August 22, 2023 17:40 conftest.py move conftest December 3, 2022 20:09 pylintrc test files December 28, 2021 22:30 pytest.ini parallel December 30, 2021 14:18 requirements-dev.txt linter December 3, 2022 20:03 requirements.txt bump osmnx version December 18, 2022 20:30 setup.py revert version bump, error December 18, 2022 20:32 View code prettymapp [?] Try it out here: prettymapp on streamlit Based on the prettymaps project Python package README.md prettymapp [?] Prettymapp is a webapp and Python package to create beautiful maps from OpenStreetMap data --------------------------------------------------------------------- Try it out here: prettymapp on streamlit --------------------------------------------------------------------- [demo] [macau] [barcelona] Based on the prettymaps project Prettymapp is based on a rewrite of the fantastic prettymaps project by @marceloprates. All credit for the original idea, designs and implementation go to him. The prettymapp rewrite focuses on speed and adapted configuration to interface with the webapp. It drops more complex configuration options in favour of improved speed, reduced code complexity and simplified configuration interfaces. It is partially tested and adds a streamlit webapp component. Python package You can also use prettymapp without the webapp, directly in Python. This lets you customize the functionality or build your own application. Installation: pip install prettymapp Define the area, download and plot the OSM data: from prettymapp.geo import get_aoi from prettymapp.osm import get_osm_geometries from prettymapp.plotting import Plot from prettymapp.settings import STYLES aoi = get_aoi(address="Praca Ferreira do Amaral, Macau", radius=1100, rectangular=False) df = get_osm_geometries(aoi=aoi) fig = Plot( df=df, aoi_bounds=aoi.bounds, draw_settings=STYLES["Peach"] ).plot_all() fig.savefig("map.jpg") To customize the map apperance, use the additional arguments of the Plot class (e.g. shape, contour_width etc.). Check the preconfigured styles and webapp examples for inspiration. About [?] Create beautiful maps from OpenStreetMap data in a streamlit webapp Topics art map app cartography osm geography streamlit prettymaps Resources Readme Activity Stars 871 stars Watchers 3 watching Forks 50 forks Report repository Releases 1 0.1.0 Latest Dec 3, 2022 Used by 7 * @mateuspestana * @thangqd * @shonifari * @RedLorryYellowDesign * @Manidills Contributors 3 * @chrieke chrieke Christoph Rieke * @jrieke jrieke Johannes Rieke * @tdiekel tdiekel Tobias Diekel Languages * Python 97.5% * Makefile 2.5% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.