feat: enrich military aircraft with ICAO country/force and East Asia model classification

Infer country and military force (PLA, JSDF, ROK, ROC) from ICAO hex
address blocks when the flag field is Unknown. Extract and extend aircraft
model classification to cover East Asian fighters, cargo, recon, and
tanker types with hyphen-normalized matching.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
adust09andClaude Opus 4.6 committed 2026-03-16 01:05:44 +09:00
1 parent 05de14af9d
commit 4b9765791f
4 files changed
+127 -17

No files matched your search

+6 -1
View File
@@ -427,7 +427,12 @@ function NewsFeedInner({ data, selectedEntity, regionDossier, regionDossierLoadi
let airline = "UNKNOWN";
if (selectedEntity.type === 'military_flight') {
airline = "MILITARY ASSET";
const mil = flight as import('@/types/dashboard').MilitaryFlight;
const milCountry = mil.country;
airline = mil.force
? `${milCountry} ${mil.force}`.trim()
: (milCountry && milCountry !== 'Military Asset' && milCountry !== 'Unknown'
? milCountry : "MILITARY ASSET");
} else if (selectedEntity.type === 'private_jet') {
airline = "PRIVATE JET";
} else if (selectedEntity.type === 'private_flight') {