ICompactPositionReportingLocalDecode Method |
Decodes a CPR latitude and longitude to an unambiguous latitude and longitude with reference to a known latitude and longitude.
Namespace: VirtualRadar.Interface.AdsbAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax GlobalCoordinate LocalDecode(
CompactPositionReportingCoordinate cprCoordinate,
GlobalCoordinate referenceCoordinate
)
Function LocalDecode (
cprCoordinate As CompactPositionReportingCoordinate,
referenceCoordinate As GlobalCoordinate
) As GlobalCoordinate
GlobalCoordinate^ LocalDecode(
CompactPositionReportingCoordinate^ cprCoordinate,
GlobalCoordinate^ referenceCoordinate
)
abstract LocalDecode :
cprCoordinate : CompactPositionReportingCoordinate *
referenceCoordinate : GlobalCoordinate -> GlobalCoordinate
Parameters
- cprCoordinate
- Type: VirtualRadar.Interface.AdsbCompactPositionReportingCoordinate
The CPR coordinate to decode. - referenceCoordinate
- Type: VirtualRadar.Interface.AdsbGlobalCoordinate
The global coordinate that is within 180NM (for messages up to 17 bits) or 45NM (for messages of 19 bits) of the vehicle's location.
Return Value
Type:
GlobalCoordinateSee Also