Add area diagnostics command
This commit is contained in:
13
README.md
13
README.md
@@ -63,6 +63,19 @@ npm run build:area -- --config config/areas/nantaizi-lake-innovation-valley.json
|
||||
npm run build:area -- --config config/areas/nantaizi-lake-innovation-valley.json --stages cesium,compress
|
||||
```
|
||||
|
||||
## 区域诊断
|
||||
|
||||
手工编辑 OSM 或怀疑产物变大时,先跑快速诊断。它只读取区域配置、OSM XML 和已有输出
|
||||
文件,不会启动 QGIS、Blender 或 Cesium 构建:
|
||||
|
||||
```bash
|
||||
npm run diagnose:area -- --config config/areas/nantaizi-lake-innovation-valley.json
|
||||
```
|
||||
|
||||
诊断会输出 OSM bounds、building way / multipolygon relation、显式高度、植被数量、
|
||||
现有产物状态,以及 GLB 的 size / nodes / meshes / materials / images / extensions。
|
||||
缺少已期望的基线产物、异常 building relation、GLB 超过保守预算等会进入 `Warnings`。
|
||||
|
||||
## 区域配置
|
||||
|
||||
新区域从模板复制:
|
||||
|
||||
Reference in New Issue
Block a user