Click or drag to resize
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.Adsb
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
GlobalCoordinate LocalDecode(
	CompactPositionReportingCoordinate cprCoordinate,
	GlobalCoordinate referenceCoordinate
)

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: GlobalCoordinate
See Also