GPXWaypointProtocol
public protocol GPXWaypointProtocol : GPXElement
Undocumented
-
Elevation of current point
Should be in unit meters (m)
Declaration
Swift
var elevation: Double? { get set }
-
Date and time of current point
Should be in Coordinated Universal Time (UTC), without offsets, not local time.
Declaration
Swift
var time: Date? { get set }
-
Magnetic Variation of current point
Should be in unit degrees (º)
Declaration
Swift
var magneticVariation: Double? { get set }
-
Geoid Height of current point
Should be in unit meters (m). Height of geoid, or mean sea level, above WGS84 earth ellipsoid
Declaration
Swift
var geoidHeight: Double? { get set }
-
Name of current point
Warning
- This attribute may not be useful, in schema context.
- This is carried over from GPX schema, to be compliant with the schema.
Declaration
Swift
var name: String? { get set }
-
Comment of current point
Warning
- This attribute may not be useful, in schema context.
- This is carried over from GPX schema, to be compliant with the schema.
Declaration
Swift
var comment: String? { get set }
-
Description of current point
Warning
- This attribute may not be useful, in schema context.
- This is carried over from GPX schema, to be compliant with the schema.
Declaration
Swift
var desc: String? { get set }
-
Source of data of current point
For assurance that current point is reliable
Declaration
Swift
var source: String? { get set }
-
Text of GPS symbol name
Warning
- This attribute does not appear to be useful due to
CoreLocation
API. - This is carried over from GPX schema, to be compliant with the schema.
Declaration
Swift
var symbol: String? { get set }
- This attribute does not appear to be useful due to
-
Type of current point
Declaration
Swift
var type: String? { get set }
-
Type of GPS fix of current point, represented as a number
- Supported Types: (written in order)
- None: No fix
- 2D: Position only
- 3D: Position and Elevation
- DGPS: Differential GPS
- PPS: Military Signal
Unknown fix should leave fix attribute as
nil
Warning
- This attribute may have limited usefulness due to
CoreLocation
API. - This is carried over from GPX schema, to be compliant with the schema.
Declaration
Swift
var fix: GPXFix? { get set }
- Supported Types: (written in order)
-
Number of satellites used to calculate GPS fix of current point
Declaration
Swift
var satellites: Int? { get set }
-
Horizontal dilution of precision of current point
Declaration
Swift
var horizontalDilution: Double? { get set }
-
Vertical dilution of precision of current point
Declaration
Swift
var verticalDilution: Double? { get set }
-
Position dilution of precision of current point
Declaration
Swift
var positionDilution: Double? { get set }
-
Age of DGPS Data
Number of seconds since last DGPS update
Warning
- This attribute may not be useful.
- This is carried over from GPX schema, to be compliant with the schema.
Declaration
Swift
var ageofDGPSData: Double? { get set }
-
DGPS’ ID
ID of DGPS station used in differential correction.
Warning
- This attribute may not be useful.
- This is carried over from GPX schema, to be compliant with the schema.
Declaration
Swift
var DGPSid: Int? { get set }
-
Latitude of current point
- Latitude value should be within range of -90 to 90
- Should be in unit degrees (º)
- Should conform to WGS 84 datum.
Declaration
Swift
var latitude: Double? { get set }
-
Longitude of current point
- Longitude value should be within range of -180 to 180
- Should be in unit degrees (º)
- Should conform to WGS 84 datum.
Declaration
Swift
var longitude: Double? { get set }