Version: SDK V1.2.2 MSFS2024 V 1.3.10
Frequency: Always
Severity: High
Similar MSFS 2020 issue: not checked
Context: Inconsistent Region Codes
Attachments: N/A, but can be provided upon request
Bug description:
FACILITY DATA records report inconsistent Region Codes
among many here for example:
KJZI airport reports in region K7 where the ILS IETI is only available for region KJ
Afaik K7 is correct where KJ is not really a region code but rather the first two letters of the airport which sometimes make sense to derive the region code but not for US facilities.
following part of a log:
Issued a FACILITY DATA VOR request for the ILS IETI/K7 (of RW09 of KJZI)
No data received for IETI/K7 expected type: VOR
Received MinimalList with the following items:
<0> ICAO: IETI/LT type:V
<1> ICAO: IETI/KJ type:V
As region codes are imperative to receive the expected data items I would expect them to be consistent within the scope of the same data source.
The way the query system is built it there is no alternative to the query by ICAO/REGION/TYPE in order to get the facility record
however with inconsistent region codes there is little chance to do this without great chance of error.
Please let us know wether this is intentional and how it is supposed to work. And may be update the SDK Doc accordingly.
I.e. is the region code consistent and to be used or just an item to communicate with SimConnect but has no other meaning (i.e. cannot be carried from e.g. the airport to the ILS)
Part of the reported data where there is a mix of region codes K7 and KJ:
AIRPORT:
ALTITUDE 4.1610002517700195 double
AirportName "Charleston Executive" string
ICAO "KJZI" string
--> Region "K7" string
RUNWAY:
PRIMARY_DESIGNATOR 0 int
--> PRIMARY_ILS_ICAO "IETI" string
--> PRIMARY_ILS_REGION "KJ" string
PRIMARY_ILS_TYPE 86 int
PRIMARY_NUMBER 9 int
SECONDARY_DESIGNATOR 0 int
SECONDARY_ILS_ICAO "" string
SECONDARY_ILS_REGION "" string
SECONDARY_ILS_TYPE 0 int
SECONDARY_NUMBER 27 int
SURFACE 0 int
APPROACH:
AprType ILS FacilityStreamLib.Facilities.Data.ApproachType_FVD
FAF_Altitude_m 487.68 float
FAF_FixType WAYPOINT FacilityStreamLib.Facilities.Data.FixType_FVD
FAF_Heading_deg 86.6220245 float
--> FAF_ICAO "JOBOP" string
--> FAF_Region "K7" string
FAF_TYPE 87 int
N_FINAL_APPROACH_LEGS 3 int
RUNWAY_DESIGNATOR 0 int
RUNWAY_NUMBER 9 int
SUFFIX 48 int
TYPE 4 int
FINAL APPROACH LEG (last)
--> FIX_ICAO "RW09" string
--> FIX_Region "K7" string
FIX_TYPE 82 int
FIX_Type RUNWAY FacilityStreamLib.Facilities.Data.FixType_FVD
ORIGIN_TYPE 86 int
Origin_FixType VOR FacilityStreamLib.Facilities.Data.FixType_FVD
--> Origin_ICAO "IETI" string
--> Origin_Region "KJ" string