fix: restore Kyushu semantic beacon variants
This commit is contained in:
@@ -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。
|
||||
|
||||
Reference in New Issue
Block a user