Files
osmWorkflow/docs/changelog.md
que01 cf69c99d20 通用化项目结构:Blender 脚本去硬编码、config 路径占位符、layerPrefix 配置
- blender/generate_nantaizi.py → blender/generate_scene.py(去硬编码路径,
  --geojson 改为可选,--office-overrides 替代硬编码 way ID)
- blender/export_cesium.py CLI 参数改为必传,修复隐藏物体导出崩溃
- blender/README.md 重写为中文通用文档
- config/default.json 路径改为占位符,template.json 新增 blender 配置块
- scripts/build-osm2streets-qgis.js 新增 layerPrefix 配置驱动 QGIS 图层名
- package.json name → osm-gis-pipeline
- README.md 重写并增加实际运行示例
2026-07-24 17:09:43 +08:00

1.4 KiB
Raw Blame History

Changelog

2026-07-24

  • Blender 场景生成器通用化:generate_nantaizi.pygenerate_scene.py
    • 去除所有硬编码默认路径(--osm / --geojson / --output / --render 均为 CLI 必传)
    • --geojson 改为可选参数,不传时回退到 OSM highway 折线
    • --office-overrides 替代硬编码的 OFFICE_OVERRIDE_WAY_IDS
    • export_cesium.py 同样去除硬编码默认路径CLI 参数改为必传
  • config/default.json 路径改用占位符 /absolute/path/to/...
  • config/examples/template.json 新增 layerPrefixblender 配置块
  • scripts/build-osm2streets-qgis.js 新增 layerPrefix 配置支持
  • 包名改为 osm-gis-pipeline
  • 文档全面更新为中文通用描述

2026-07-17

  • Added configurable input/output paths through JSON config files.
  • Added config/default.json for /Users/que01/Downloads/osm.xml.
  • Added config/hanyang-block.json for /Users/que01/Desktop/汉阳区区块.osm.
  • Added config/examples/template.json for new areas.
  • Updated OSM node coordinate parsing to support both single-quoted and double-quoted XML attributes.
  • Verified QGIS outputs for both a smaller Overpass-style XML input and a larger JOSM-generated .osm input.