# Changelog ## 2026-07-27 - 实验分支新增 Cesium 车辆巡航预览:从 OSM 可行驶 `highway` 提取 bounds 内路线,输出 `-vehicle-route.json`,并在预览页中驱动车辆循环移动。 - 巡航路线从道路中心线向右偏移约 1.3 米,车辆模型改用 Khronos glTF Sample Assets 的无 logo `ToyCar.glb`。 - 将项目主入口重构为区域资产管线:`scripts/build-area.js`。 - 新增 `config/areas/nantaizi-lake-innovation-valley.json` 和 `config/areas/hanyang-block.json`,支持按 OSM 输入生成独立输出目录。 - `npm run build` 现在默认走区域资产管线;旧 QGIS 管线保留为 `npm run build:qgis`。 - `cesium` 阶段会生成 `-cesium-preview.html` 本地预览页。 - 修复 Blender 脚本对 `--tree-style` 和 `--office-overrides` 这类连字符参数的解析。 ## 2026-07-24 - Blender 场景生成器通用化:`generate_nantaizi.py` → `generate_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` 新增 `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](/Users/que01/osm2streets-qgis-workflow/config/default.json) for `/Users/que01/Downloads/osm.xml`. - Added [config/hanyang-block.json](/Users/que01/osm2streets-qgis-workflow/config/hanyang-block.json) for `/Users/que01/Desktop/汉阳区区块.osm`. - Added [config/examples/template.json](/Users/que01/osm2streets-qgis-workflow/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.