Checkpoint CM95 PBF production code and docs for Linux migration

This commit is contained in:
kaotei
2026-09-11 18:10:56 +08:00
parent 0ca1f63320
commit b52b3447cf
116 changed files with 55495 additions and 2 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,18 @@
schema: navsea.cm95.production-policy/v1
version: v1.4.2-materialization-split
status: PRODUCTION_CANDIDATE
zooms: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
profile: delivery
workers: 4
max_attempts: 3
release_root: build/releases
plan_path: build/production/cm95_production_plan_v1.json
rules:
- 生产目标固定为 z0-z12。
- 高 zoom tile 的物理枚举只由 enumeration_scales 决定。
- scale_ladders 的粗比例尺只允许在已枚举 tile 内回退,不得扩张生产 footprint。
- mapping、tile policy、Dataset fingerprint、FID manifest 在计划创建后必须保持不变。
- PASS tile 自动断点续跑;RUNNING 状态在下次启动时恢复为 PENDING。
- FAILED tile 最多尝试 max_attempts 次;失败不会被静默跳过。
- 空 tile 可为 PASS 且不生成 PBF 文件;release manifest 只列真实产物。
- 发布前 finalize-production 必须满足 planned/report/decoded feature 三方一致。

View File

@@ -0,0 +1,96 @@
schema: navsea.cm95.tile-policy/v1
version: v1.3-japan-full-detail-g7500-at-z12
status: PRODUCTION_CANDIDATE
xyz: true
nominal_tile_pixels: 256
buffer_tile_pixels: 8
default_extent: 4096
extent_by_zoom:
'10': 4096
'11': 4096
'12': 1048576
enumeration_scales:
'0':
- 20000000
'1':
- 20000000
'2':
- 20000000
'3':
- 20000000
'4':
- 20000000
'5':
- 3000000
'6':
- 3000000
'7':
- 3000000
'8':
- 1000000
'9':
- 1000000
'10':
- 200000
'11':
- 50000
- 100000
'12':
- 7500
- 20000
- 50000
scale_ladders:
'0':
- 20000000
'1':
- 20000000
'2':
- 20000000
'3':
- 20000000
'4':
- 20000000
'5':
- 3000000
- 20000000
'6':
- 3000000
- 20000000
'7':
- 3000000
- 20000000
'8':
- 1000000
- 3000000
- 20000000
'9':
- 1000000
- 3000000
- 20000000
'10':
- 200000
- 1000000
- 3000000
- 20000000
'11':
- 50000
- 100000
- 200000
- 1000000
- 3000000
- 20000000
'12':
- 7500
- 20000
- 50000
- 100000
- 200000
- 1000000
- 3000000
- 20000000
notes:
- Japan full-detail production 仍保持 z0-z12;不新增 z13/z14。
- z12 enumeration 加入 1:7,500(G),避免正确 Japan 数据中的 G 级细节被生产策略直接忽略。
- z12 scale ladder 优先 7,500,再回退 20k/50k/100k/...。
- z0-z11 extent=4096;z12 extent=1048576,保持已验证 NavSea/MapLibre 契约。
- enumeration_scales 仅决定物化范围;scale_ladders 仅决定 tile 内选择/回退。

View File

@@ -0,0 +1,51 @@
schema: navsea.cm95.tile-policy/v1
version: v1.2-production-materialization-split
status: PRODUCTION_CANDIDATE
xyz: true
nominal_tile_pixels: 256
buffer_tile_pixels: 8
default_extent: 4096
extent_by_zoom:
'10': 4096
'11': 4096
'12': 1048576
# enumeration_scales 决定哪些 coverage 可以创建物理 tile。
# 这里只使用与目标 zoom 匹配的原生/近原生比例尺,避免粗比例尺 coverage
# 把高 zoom 生产范围膨胀成百万级静态文件。
enumeration_scales:
'0': [20000000]
'1': [20000000]
'2': [20000000]
'3': [20000000]
'4': [20000000]
'5': [3000000]
'6': [3000000]
'7': [3000000]
'8': [1000000]
'9': [1000000]
'10': [200000]
'11': [50000, 100000]
'12': [20000, 50000]
# scale_ladders 只控制已经决定生成的 tile 内部如何选择数据。
# 粗比例尺仍可作为 tile 内回退,但不再扩张 tile 枚举范围。
scale_ladders:
'0': [20000000]
'1': [20000000]
'2': [20000000]
'3': [20000000]
'4': [20000000]
'5': [3000000, 20000000]
'6': [3000000, 20000000]
'7': [3000000, 20000000]
'8': [1000000, 3000000, 20000000]
'9': [1000000, 3000000, 20000000]
'10': [200000, 1000000, 3000000, 20000000]
'11': [50000, 100000, 200000, 1000000, 3000000, 20000000]
'12': [20000, 50000, 100000, 200000, 1000000, 3000000, 20000000]
notes:
- 生产目标为 z0-z12;Pilot 的 z10-z12 只用于验证。
- enumeration_scales 与 scale_ladders 必须分离。
- enumeration_scales 只决定是否物化 tile;scale_ladders 只决定 tile 内数据回退。
- z0-z11 extent=4096;z12 extent=1048576,保持已验证 NavSea 契约。

View File

@@ -0,0 +1,18 @@
# CM95 PBF v1.4.5 定向重建 tile
# 来源:cm95_style_contract_unmatched_features_v1.json
10/912/366
10/913/366
10/916/327
11/1893/717
11/1893/718
11/1908/643
11/1908/645
11/1909/636
11/1909/639
11/1909/643
11/1910/633
12/3662/1409
12/3737/1466
12/3787/1435
12/3787/1436
12/3825/1376

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff