Restore 20nm final detail symbols

This commit is contained in:
OpenAI Codex
2026-04-01 10:37:19 +08:00
parent 36f3a2f2f4
commit 60013fa9ad
5 changed files with 241 additions and 11 deletions

View File

@@ -55,6 +55,7 @@ LIGHT_COLOR_REMARK_MAP = {
FINAL_RELEASE_PROPERTY_ALLOWLIST = frozenset(
{
"canonical_object_type",
"class_code",
"chart_fill_pattern",
"chart_fill_style",
"chart_icon_image",
@@ -67,6 +68,7 @@ FINAL_RELEASE_PROPERTY_ALLOWLIST = frozenset(
"chart_text_color",
"chart_text_style",
"depth_value_m",
"display_code",
"least_depth_m",
"light_color_code",
"light_sector_mode",
@@ -880,6 +882,8 @@ class NavSeaTileBuilder:
if not self.strip_legacy_japanese_delivery:
normalized[key] = value
if self.release_minimal and rule.field_name_std in {"class_code", "display_code"}:
normalized[rule.field_name_std] = value
if rule.keep_in_delivery:
normalized[rule.field_name_std] = value