prettymaps marceloprates

Draw pretty maps from OpenStreetMap data! Built with osmnx +matplotlib + shapely

主要语言
Python
Stars
12,882
Forks
649

标签

  • Python
  • 库/SDK
  • 数据可视化
  • 地理信息
  • 可视化

摘要

prettymaps是一个极简Python库,通过osmnx、matplotlib、shapely等工具从OpenStreetMap获取数据并绘制风格化的定制地图。用户可通过layers、style、preset等参数灵活控制图层与配色,支持自定义边界形状、山体阴影及关键点标注。适用于地理数据可视化、地图艺术创作及设计参考等场景,并提供Streamlit前端和marimo交互式教程。

README

# prettymaps 一个极简的 Python 库,用于根据 [OpenStreetMap](https://www.openstreetmap.org/#map=12/11.0733/106.3078) 绘制定制地图,基于 [osmnx](https://github.com/gboeing/osmnx)、[matplotlib](https://matplotlib.org/)、[shapely](https://shapely.readthedocs.io/en/stable/index.html) 和 [vsketch](https://github.com/abey79/vsk…

查看完整页面