Back to Trending
RepositoryJupyter NotebookCNChina
renhai-lab

renhai-lab/Urban-Spatial-Data-Analysis-Notebook

城市空间数据分析初学者学习笔记

53stars
13forks
0issues
0views

城市空间数据分析笔记 🏙️

Urban-Spatial-Data-Analysis-Notebook

License: CC BY-SA 4.0 Python Jupyter

城市空间数据分析的系统性学习笔记,从 Python 基础到空间数据分析、交通大数据、ArcGIS 自动化、机器学习应用。

📖 配套博客:renhai.online · 📊 更多项目:renhai.online/projects


📖 简介

本仓库是个人城市空间数据分析的学习笔记合集,整理成系统性专栏:

  • 🔍 系统学习:从 Python 基础到高级空间数据分析的完整学习路径
  • 📊 实践驱动:通过真实案例掌握城市数据分析方法和工具
  • 🛠️ 工程实践:包含完整的数据获取、处理、分析和可视化流程
  • 📝 持续更新:配套博客 renhai.online 提供更详细的说明和背景知识

📁 内容结构

🌟 1. 导言 (Introduction)

  • Python 语言介绍与特点
  • 城市空间分析的 Python 技术栈介绍
  • 最新技术发展趋势

🐍 2. Python 入门

  • Python 基础语法和核心概念
  • 面向对象编程实践
  • 常用数据处理库介绍

🗺️ 4. 空间数据分析

🚗 4.1 交通大数据分析

  • 深圳共享单车数据分析

    • 2.4 亿条共享单车数据获取与 PostGIS 分析流水线
    • 异步高并发数据获取系统
    • TimescaleDB 时序数据库优化
    • 完整的 ETL 数据处理流程
  • 专题系列:

    • 出租车 GPS 数据分析
    • 地铁 IC 刷卡数据城市轨道交通客流分析
    • 共享单车轨道站点衔接需求分析(上海案例)
    • 公交 GPS 数据城市公交运行状况分析
    • TransBigData 交通时空大数据处理工具

🖥️ 4.2 ArcGIS Python 系列

  • ArcPy 脚本开发实践
  • 地理数据处理自动化
  • 制图模块应用

🏘️ 其他案例

  • 上海路网聚合分析
  • 旅行规划问题求解
  • 城市空间分析综合案例

🤖 5. 机器学习

  • CNN 图像分类
  • 空间数据机器学习应用
  • 预测模型构建

🛠️ 技术栈

类别工具
语言Python 3.8+
环境Jupyter Notebook / JupyterLab
空间数据库PostgreSQL + PostGIS、TimescaleDB
数据处理pandas、numpy、geopandas
空间分析shapely、pyproj、fiona、TransBigData
可视化matplotlib、folium、plotly
异步采集aiohttp、asyncio
数据库驱动psycopg3、sqlalchemy

🚀 快速开始

# 克隆仓库
git clone https://github.com/renhai-lab/Urban-Spatial-Data-Analysis-Notebook.git
cd Urban-Spatial-Data-Analysis-Notebook

# 安装基础依赖
pip install jupyter pandas geopandas matplotlib folium

# 启动 Jupyter Notebook
jupyter notebook

📚 学习路径

初学者

  1. 导言 — 了解 Python 在城市分析中的定位
  2. Python 入门 — 掌握基础语法和数据处理
  3. 其他案例 — 动手做简单分析

进阶

  1. 交通大数据 — 完整的数据工程实践
  2. 深圳共享单车 — 亿级数据处理经验
  3. 机器学习 — 空间数据的 ML 应用

探索更多


📰 相关博客文章

以下是本仓库内容对应的博客文章,提供更详细的背景和解读:

文章关联内容
2.4 亿条深圳共享单车数据集获取教程4.1 交通大数据
共享单车数据坐标系排查实录4.1 交通大数据
花半天规划的旅行路线,为什么还不如 Python 跑 10 秒的结果?其他案例
FastAPI 协程指南Python 进阶
Django + Vue 地图实践分享Web GIS 开发

🤝 贡献

欢迎通过以下方式参与:

  • 🐛 提交 Issue 报告问题
  • 📝 完善文档和注释
  • 💡 分享新的分析案例

📄 许可证

本项目采用 CC BY-SA 4.0 许可证。


📞 联系

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.6k
Nov 13, 2026
RepositoryJupyter Notebook
gboeing/ppde642

USC urban data science course series in Python

1.3k
Nov 24, 2026
RepositoryPython
EL-BID/urbanpy

A library to download, process and visualize high resolution urban data. 

132
Nov 25, 2026
RepositoryC#
Knight60/ArcGIS-Pro-MCP

ArcGIS Pro add-in that speaks the Model Context Protocol, so an AI assistant can drive your open project in plain language — 112 tools, every geoprocessing tool, and arbitrary arcpy.

86
Nov 20, 2026
Repository
Esri/arcpy

Resources and ideas about arcpy and Python in ArcGIS.

62
Oct 23, 2026
RepositoryPython
VIDA-NYU/city-surfaces

CitySurfaces semantic segmentation of sidewalk surfaces

56
Jan 27, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

379.9k
Sep 15, 2026
RepositoryPython
vinta/awesome-python

The definitive list that answers "I want to do X in Python, which tool should I use?"

338.6k
Nov 28, 2026