- 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 重写并增加实际运行示例
1.4 KiB
1.4 KiB
Changelog
2026-07-24
- Blender 场景生成器通用化:
generate_nantaizi.py→generate_scene.py- 去除所有硬编码默认路径(--osm / --geojson / --output / --render 均为 CLI 必传)
--geojson改为可选参数,不传时回退到 OSM highway 折线--office-overrides替代硬编码的OFFICE_OVERRIDE_WAY_IDSexport_cesium.py同样去除硬编码默认路径,CLI 参数改为必传
config/default.json路径改用占位符/absolute/path/to/...config/examples/template.json新增layerPrefix和blender配置块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
.osminput.