Files
pbf/tools/style-visual-object/cm95_semantic_layer_rules_v1.json

389 lines
11 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"schema": "cm95-provider-layer-semantic-rules/v1",
"purpose": "Provider Layer Classifier only. These rules are not part of Style Visual Object extraction.",
"rules": [
{
"id": "topmark",
"pattern": "^(topmark for |beacon top mark)",
"category_zh": "航标组件:顶标",
"component_kind": "topmark",
"layer_candidates": [
[
"navigation_marks",
0.98
]
],
"reason_zh": "S-52 官方说明明确为顶标。顶标通常不是独立对象,而是浮标/立标的组成部分。"
},
{
"id": "light_flare",
"pattern": "^light flare",
"category_zh": "航标组件:灯光",
"component_kind": "light",
"layer_candidates": [
[
"navigation_marks",
0.96
]
],
"reason_zh": "S-52 官方说明明确为灯光标志,属于航标显示组件。"
},
{
"id": "buoy",
"pattern": "\\bbuoy\\b",
"category_zh": "浮标/系泊浮标",
"layer_candidates": [
[
"navigation_marks",
0.98
]
],
"reason_zh": "S-52 官方说明明确为 buoy,属于航路标识。"
},
{
"id": "beacon",
"pattern": "\\bbeacon\\b|radar transponder beacon",
"category_zh": "立标/信标",
"layer_candidates": [
[
"navigation_marks",
0.98
]
],
"reason_zh": "S-52 官方说明明确为 beacon/信标,属于航路标识。"
},
{
"id": "light_vessel_float",
"pattern": "^light (float|vessel)",
"category_zh": "灯浮体/灯船",
"layer_candidates": [
[
"navigation_marks",
0.94
]
],
"reason_zh": "灯浮体和灯船属于助航标志。"
},
{
"id": "anchorage_point",
"pattern": "anchorage area as a point|anchor berth",
"category_zh": "锚地/锚泊位",
"layer_candidates": [
[
"anchorage_point",
0.96
]
],
"reason_zh": "S-52 说明为锚地点或单船锚泊位,优先归入锚地点。"
},
{
"id": "anchorage_area_symbol",
"pattern": "^anchorage area$",
"category_zh": "锚地",
"layer_candidates": [
[
"anchorage_point",
0.78
],
[
"anchorage_area",
0.68
]
],
"reason_zh": "当前资源是锚地符号;若实际 PBF 几何为点优先 anchorage_point,若为面则 anchorage_area。"
},
{
"id": "bridge",
"pattern": "bridge",
"category_zh": "桥梁结构",
"layer_candidates": [
[
"bridge_structure",
0.97
]
],
"reason_zh": "S-52 语义明确为桥梁。"
},
{
"id": "pilot",
"pattern": "pilot boarding place",
"category_zh": "引航设施",
"layer_candidates": [
[
"pilot_station_point",
0.96
]
],
"reason_zh": "S-52 语义为引航员登轮点,归入引航站类。"
},
{
"id": "harbor_facility",
"pattern": "fishing harbour|yacht harbour|marina|coastguard station|mooring dolphin|pile or bollard|berth number",
"category_zh": "港口/岸边设施",
"layer_candidates": [
[
"facility_boundary_point",
0.88
]
],
"reason_zh": "S-52 语义属于港口、码头或岸边设施点。"
},
{
"id": "beacon_tower",
"pattern": "^beacon tower",
"category_zh": "航标塔体",
"layer_candidates": [
[
"navigation_marks",
0.97
]
],
"reason_zh": "虽然外形像普通塔,但 S-52 官方说明明确是 beacon tower,因此属于航路标识。"
},
{
"id": "land_tower",
"pattern": "^(tower,|water tower$|conspicuous tower$|radio, television tower$|conspicuous radio, television tower$)",
"category_zh": "陆上塔状构筑物",
"layer_candidates": [
[
"onshore_structure_point",
0.97
]
],
"reason_zh": "S-52 官方说明是普通 tower,而不是 buoy/beacon;应作为固定陆上/岸上结构物理解。"
},
{
"id": "land_structure",
"pattern": "chimney|flare stack|flagstaff|flagpole|fortified structure|^mast$|windmotor|built-up area",
"category_zh": "陆上固定构筑物",
"layer_candidates": [
[
"onshore_structure_point",
0.93
]
],
"reason_zh": "S-52 语义是烟囱、旗杆、桅杆、风车等固定构筑物。"
},
{
"id": "radio_station",
"pattern": "^radio station$",
"category_zh": "陆上通信设施",
"layer_candidates": [
[
"onshore_structure_point",
0.82
]
],
"reason_zh": "无线电台属于固定通信设施,当前标准中最接近陆上结构物点。"
},
{
"id": "radar_nav",
"pattern": "radar reflector|radar conspicuous|radar transponder beacon",
"category_zh": "雷达助航标识",
"layer_candidates": [
[
"navigation_marks",
0.86
]
],
"reason_zh": "雷达反射器/应答标通常作为助航识别信息。"
},
{
"id": "fog_signal",
"pattern": "fog signal",
"category_zh": "雾号/助航设施",
"layer_candidates": [
[
"navigation_marks",
0.82
]
],
"reason_zh": "雾号属于助航设施,当前标准中优先归入航路标识。"
},
{
"id": "fish_gear",
"pattern": "fish trap|fish weir|tunny net|fish farm|marine farm|fishing stakes",
"category_zh": "定置渔具/养殖设施",
"layer_candidates": [
[
"fixed_fishing_gear_area",
0.94
]
],
"reason_zh": "S-52 语义明确为定置渔具或养殖设施。"
},
{
"id": "fish_haven",
"pattern": "fish haven",
"category_zh": "鱼礁/鱼类栖息设施",
"layer_candidates": [
[
"submerged_reef_area",
0.72
],
[
"navigation_hazard_point",
0.64
]
],
"reason_zh": "鱼礁/鱼类栖息设施属于水下对象;面积对象优先水下礁区域,点状符号可作为航行危险点。"
},
{
"id": "foul_ground",
"pattern": "foul area of seabed",
"category_zh": "碍锚海底",
"layer_candidates": [
[
"navigation_hazard_point",
0.72
],
[
"anchor_caution_hazard_point",
0.72
]
],
"reason_zh": "碍锚海底对锚泊/航行均有警示意义;当前标准存在两个可能的危险点 Layer,需要人工判断。"
},
{
"id": "seabed_hazard",
"pattern": "sand waves|weed, kelp|overfalls, eddies and breakers|magnetic anomaly",
"category_zh": "海底/水文注意对象",
"layer_candidates": [
[
"navigation_hazard_point",
0.68
],
[
"seabed_text_point",
0.48
]
],
"reason_zh": "属于海底或水文注意对象;当前标准缺少完全对应的专用点 Layer。"
},
{
"id": "caution",
"pattern": "caution area|cautionary area|traffic precautionary area|minor restrictions or information notices",
"category_zh": "注意/限制区域",
"layer_candidates": [
[
"anchor_caution_hazard_point",
0.66
],
[
"hazard_boundary_outline",
0.56
]
],
"reason_zh": "语义为注意或限制区域;点状符号可归注意/危险点,边界表达可归危险边界。"
},
{
"id": "submarine_cable_pipeline",
"pattern": "submarine cable|pipeline|sewer",
"category_zh": "海底电缆/管线",
"layer_candidates": [
[
"seabed_line",
0.94
]
],
"reason_zh": "S-52 语义明确为海底电缆或管线,归入海底对象线。"
},
{
"id": "safety_contour",
"pattern": "safety contour",
"category_zh": "安全等深线",
"layer_candidates": [
[
"depth_contour",
0.97
]
],
"reason_zh": "S-52 语义明确为安全等深线。"
},
{
"id": "coastline_lowacc",
"pattern": "coastline or shoreline construction",
"category_zh": "海岸线/岸线构筑物",
"layer_candidates": [
[
"baseline_line",
0.82
]
],
"reason_zh": "语义为海岸线或岸线构筑物,当前标准中最接近基础线。"
},
{
"id": "marsh_wooded",
"pattern": "marsh|wooded areas",
"category_zh": "陆地区域/植被区域",
"layer_candidates": [
[
"land_area",
0.86
]
],
"reason_zh": "沼泽或林地属于陆地区域表达。"
},
{
"id": "essa_pssa",
"pattern": "ESSA or PSSA boundary",
"category_zh": "环境敏感区域边界",
"layer_candidates": [
[
"hazard_boundary_outline",
0.78
]
],
"reason_zh": "属于受保护/敏感区域边界,当前标准中最接近危险/限制边界。"
},
{
"id": "traffic_route",
"pattern": "recommended route|traffic crossing area|traffic direction|traffic roundabout|ferry route|recommended two-way track|recommended one-way track",
"category_zh": "航路/交通组织",
"layer_candidates": [],
"reason_zh": "S-52 语义是航路或交通组织,但当前冻结 Standard Catalog 没有明显一一对应的 route Layer,暂不强推。"
},
{
"id": "question_unknown",
"pattern": "not sufficiently described|no symbol exists",
"category_zh": "未充分描述对象",
"layer_candidates": [],
"reason_zh": "S-52 本身就表示对象描述不足,不能可靠自动归 Layer。"
},
{
"id": "offshore_platform",
"pattern": "offshore platform",
"category_zh": "海上固定平台",
"layer_candidates": [
[
"navigation_hazard_point",
0.52
],
[
"facility_boundary_point",
0.46
]
],
"reason_zh": "属于海上固定设施;当前 Standard Catalog 缺少专用 offshore structure Layer,仅给低置信候选。"
},
{
"id": "fill_pattern_generic",
"resource_type": "fill-pattern",
"pattern": ".*",
"category_zh": "区域填充组件",
"component_kind": "fill_pattern",
"layer_candidates": [],
"reason_zh": "这是区域填充图案,本身可能只是完整对象的显示组件;优先结合 S-52 语义和实际 PBF 几何确认。"
},
{
"id": "line_pattern_generic",
"resource_type": "line-pattern",
"pattern": ".*",
"category_zh": "线型组件",
"component_kind": "line_pattern",
"layer_candidates": [],
"reason_zh": "这是线型图案,本身可能只是完整线对象的显示组件;优先结合 S-52 语义确认。"
}
]
}