fix: restore Kyushu semantic beacon variants

This commit is contained in:
OpenAI Codex
2026-08-06 19:31:45 +08:00
parent 69b4f961a6
commit 6d9c0d571a
5 changed files with 106 additions and 17 deletions

View File

@@ -54,6 +54,43 @@
- r2 sprite 中 `pattern_fill_fishery_or_fish_reef_area``fill-daytime-420``fill-daytime-427``fill-daytime-754` 均存在
- 备注:本机 headless Chrome 截图因 WebGL context 创建失败为空白,不能作为视觉确认依据;需在实际浏览器里刷新 r2 页面人工复核红框区域。
### 2026-08-06 九州语义图标测试版 r2 修复灯标本体掉失
- 用户继续指出:`navigation_marks` 中一处灯标对象左侧原始版有黑色灯标本体,右侧语义版只剩黄色 flare本体符号缺失。
- 点击信息:
- `source-layer = navigation_marks`
- 右侧命中的 render layer 是 `nav-light-flare`
- 对象属性包含:
- `shape_class_code = 311`
- `display_code = 31135504`
- `canonical_object_type = light_beacon`
- `icon_id = lt_bcn`
- 根因分两层:
- `nav-marks-light-beacons``31135504` 使用的不是 `lt_bcn`,而是 style 里直接写死的旧 sprite key`light_beacon_east_cardinal_variantt`
- r2 sprite 之前只保留了 `icon_id/arc_id` 驱动的 key没有把 style 里直接写死的 `light_beacon_*` / `buoy_*` / `light_up_*` 等 variant key 一起带入
- 进一步发现 builder 的 style transform 还把部分 `canonical_object_type` 过滤值误替换成了 sprite 短 key
- `harbor_lighthouse -> lt_hbr`
- `breakwater_lighthouse -> lt_bkw`
- `light_beacon -> lt_bcn`
- 这会破坏无 `display_code` 分支和 `nav-marks` 排除条件
- 已修复 `navsea_build_kyushu_semantic_icon_test.py`
- sprite 构建改为按 `style` 实际引用的真实 sprite key 保留 literal icon/pattern 依赖,不再只保留 `icon_id/arc_id`
- `navigation_marks` 相关 layer 的 `canonical_object_type` 过滤值恢复为业务语义值:
- `harbor_lighthouse`
- `breakwater_lighthouse`
- `light_beacon`
- 修复后确认:
- `style.navsea-delivery-kyushu-semantic-icon-v1.json``31135504 -> light_beacon_east_cardinal_variantt`
- `/newpec/sprite-kyushu-semantic-icon-v1-20260806-r2/sprite.json``light_beacon_east_cardinal_variantt` 已存在
- 闭合审计已刷新为:
- 扫描瓦片 `4707`
- 使用 key `83`
- sprite key `119`
- 缺失 key `0`
-`symbol-daytime-* / arc-daytime-*` key `0`
- 结论 `PASS`
- 备注:由于当前环境 headless Chrome 无法建立 WebGL context未能在本机截图直接看到修复后的地图画面需在真实浏览器里刷新 r2 页面确认该灯标本体已恢复。
### 2026-08-06 当前 Full PBF 与 style 显示消费关系调查
- 调查对象:`/home/wwwroot/pbf-delivery-full-20260418-rebuild`,共 `65148` 张 PBF对照当前 Full extent-fix / semantic-extent-fix style。