fix: align CM93 coverage and hazard runtime with OpenCPN

This commit is contained in:
OpenAI Codex
2026-09-20 09:28:34 +08:00
parent 3092ff20a3
commit 99fdbdc694
7 changed files with 192 additions and 80 deletions

View File

@@ -477,24 +477,20 @@ rules:
const: structure_pile
notes: ''
- rule_id: CM95-023
mapping_version: v1
mapping_version: v1.4.12-opencpn-cm93
cm95_object_class_id: 60
cm95_object_class: FSHHAV
cm95_description: Fish haven
geometry_type: POINT
aoi_feature_count: 18
target_source_layer: anchor_caution_hazard_point
canonical_family: hazard
canonical_object_type: fish_reef
target_source_layer: s52_points
canonical_family: fishing_facility
canonical_object_type: fishing_facility
chart_render_type: symbol
safety_class: hard_gate
safety_class: important
mapping_status: MAPPED
style_fields:
chart_symbol_code:
const: fish_reef
chart_icon_image:
const: reef_fish
notes: ''
style_fields: {}
notes: 'OpenCPN CM93 CreateS57Obj() substitutes FSHHAV -> FSHFAC. Preserve the S-52 FSHFAC/FSHHAV01 presentation instead of inventing fish_reef semantics.'
- rule_id: CM95-024
mapping_version: v1
cm95_object_class_id: 11
@@ -1473,38 +1469,20 @@ rules:
style_fields:
chart_line_width: 1.0
- rule_id: CM95-PROD-001
mapping_version: v1.4.3
mapping_version: v1.4.12-opencpn-cm93
cm95_object_class_id: 60
cm95_object_class: FSHHAV
cm95_description: Fish haven
geometry_type: AREA
aoi_feature_count: 0
target_source_layer: anchor_caution_hazard_area
canonical_family: hazard
canonical_object_type: fish_reef
target_source_layer: fixed_fishing_gear_area
canonical_family: fishing_facility
canonical_object_type: fishing_facility
chart_render_type: fill
safety_class: hard_gate
mapping_status: MAPPED_DERIVED_POINTS
style_fields:
chart_fill_pattern:
const: pattern_fill_fish_reef
least_depth_m:
from: VALSOU
derived_outputs:
- source_layer: anchor_caution_hazard_outline
geometry: boundary
style_fields:
chart_line_width: 1.0
chart_line_color: '#88988b'
- source_layer: anchor_caution_hazard_point
geometry: point_on_surface
style_fields:
least_depth_m:
from: VALSOU
chart_symbol_code: fish_reef
chart_icon_image: reef_fish
notes: 'Production closure: Dataset-1 contains FSHHAV AREA. Preserve area + outline + point-on-surface; never downgrade
to unmapped.'
safety_class: important
mapping_status: MAPPED
style_fields: {}
notes: 'OpenCPN CM93 CreateS57Obj() substitutes FSHHAV -> FSHFAC. Preserve the area as a fishing-facility presentation using the S-52 FSHFAC lookup (FSHHAV02 AP + dashed LS); do not downgrade it to fish_reef.'
relation20_validation:
aoi: 10/914/385
nav_point_rows: 233

View File

@@ -57,14 +57,33 @@
]
},
"RUNTIME_OBSTRN": {
"status": "NOT_IMPLEMENTED",
"fidelity": "NONE",
"evidence": []
"status": "PREVIEW_ONLY",
"fidelity": "POINT_SYMBOL_RUNTIME_ONLY_AREA_LINE_PENDING",
"evidence": [
{
"path": "web/kyushu_compare.html",
"contains": [
"runtime-preview-hazard-symbols",
"runtimeHazardSymbol",
"OBSTRN04",
"ISODGR51"
]
}
]
},
"RUNTIME_WRECKS": {
"status": "NOT_IMPLEMENTED",
"fidelity": "NONE",
"evidence": []
"status": "PREVIEW_ONLY",
"fidelity": "POINT_SYMBOL_RUNTIME_ONLY_AREA_LINE_PENDING",
"evidence": [
{
"path": "web/kyushu_compare.html",
"contains": [
"runtime-preview-hazard-symbols",
"runtimeHazardSymbol",
"WRECKS02"
]
}
]
}
}
}