PositionDisplayType
public enum PositionDisplayType : UInt8
extension PositionDisplayType: FitFieldCodeable
Display Type for Position
-
Degree (dd.dddddd)
Declaration
Swift
case degree = 0
-
Degree Minute (dddmm.mmm)
Declaration
Swift
case degreeMinute = 1
-
Degree Minute Second (dddmmss)
Declaration
Swift
case degreeMinuteSecond = 2
-
Austrian Grid (BMN)
Declaration
Swift
case austrianGrid = 3
-
British National Grid
Declaration
Swift
case britishNationalGrid = 4
-
Dutch grid system
Declaration
Swift
case dutchGridSystem = 5
-
Hungarian grid system
Declaration
Swift
case hungarianGridSystem = 6
-
Finnish grid system Zone3 KKJ27
Declaration
Swift
case finnishGridSystem = 7
-
Gausss Krueger (German)
Declaration
Swift
case germanGrid = 8
-
Icelandic Grid
Declaration
Swift
case icelandicGrid = 9
-
Indonesian Equatorial LCO
Declaration
Swift
case indonesianEquatorial = 10
-
Indonesian Irian LCO
Declaration
Swift
case indonesianIrian = 11
-
Indonesian Southern LCO
Declaration
Swift
case indonesianSouthern = 12
-
India zone 0
Declaration
Swift
case indiaZone0 = 13
-
India zone IA
Declaration
Swift
case indiaZoneIA = 14
-
India zone IB
Declaration
Swift
case indiaZoneIB = 15
-
India zone IIA
Declaration
Swift
case indiaZoneIIA = 16
-
India zone IIB
Declaration
Swift
case indiaZoneIIB = 17
-
India zone IIIA
Declaration
Swift
case indiaZoneIIIA = 18
-
India zone IIIB
Declaration
Swift
case indiaZoneIIIB = 19
-
India zone IVA
Declaration
Swift
case indiaZoneIVA = 20
-
India zone IVB
Declaration
Swift
case indiaZoneIVB = 21
-
Irish Transverse Mercator
Declaration
Swift
case irishTransverseMercator = 22
-
Irish Grid
Declaration
Swift
case irishGrid = 23
-
Loran TD
Declaration
Swift
case loranTD = 24
-
Maidenhead grid system
Declaration
Swift
case maidenheadGridSystem = 25
-
MGRS grid system
Declaration
Swift
case mgrsGridSystem = 26
-
New Zealand grid system
Declaration
Swift
case newZealandGridSystem = 27
-
New Zealand Transverse Mercator
Declaration
Swift
case newZealandTransverseMercator = 28
-
Qatar National Grid
Declaration
Swift
case qatarNationalGrid = 29
-
Modified RT-90 (Sweden)
Declaration
Swift
case modifiedSwedishGrid = 30
-
RT-90 (Sweden)
Declaration
Swift
case swedishGrid = 31
-
South African Grid
Declaration
Swift
case southAfricanGrid = 32
-
Swiss CH-1903 grid
Declaration
Swift
case swissGrid = 33
-
Taiwan Grid
Declaration
Swift
case taiwanGrid = 34
-
United States National Grid
Declaration
Swift
case unitedStatesNationalGrid = 35
-
UTM/UPS grid system
Declaration
Swift
case utmUpsGrid = 36
-
West Malayan RSO
Declaration
Swift
case westMalayan = 37
-
Borneo RSO
Declaration
Swift
case borneo = 38
-
Estonian grid system
Declaration
Swift
case estonianGrid = 39
-
Latvian Transverse Mercator
Declaration
Swift
case latvianTransverseMercator = 40
-
Reference Grid 99 TM (Swedish)
Declaration
Swift
case swedishReferenceGrid99 = 41
-
Invalid
Declaration
Swift
case invalid = 255
-
Encode Into Data
Declaration
Swift
public func encode(base: BaseTypeData) -> Data?
Parameters
base
BaseTypeData
-
Decode FIT Field
Declaration
Swift
public static func decode<T>(type: T.Type, data: Data, base: BaseTypeData, arch: Endian) -> T?
Parameters
type
Type of Field
data
Data to Decode
base
BaseTypeData
arch
Endian
Return Value
Decoded Value