GPXMetadata
public final class GPXMetadata : GPXElement, Codable
A value type that represents the metadata header of a GPX file.
Information about the GPX file should be stored here.
- Supported Info types:
- Name
- Description
Copyright
CopyrightDate
Date and TimeKeyword
Keyword- Bounds
- Also supports extensions
-
Name intended for the GPX file.
Declaration
Swift
public var name: String?
-
Description about what the GPX file is about.
Declaration
Swift
public var desc: String?
-
Copyright of the file, if required.
Declaration
Swift
public var copyright: GPXCopyright?
-
A web link, usually one with information regarding the GPX file.
Declaration
Swift
@available(*, deprecated, renamed: "links.first", message: "CoreGPX now support multiple links.") public var link: GPXLink? { get }
-
Web links, usually containing information regarding the current GPX file which houses this metadata.
Declaration
Swift
public var links: [GPXLink]
-
Date and time of when the GPX file is created.
Declaration
Swift
public var time: Date?
-
Keyword of the GPX file.
Declaration
Swift
public var keywords: String?
-
Boundaries of coordinates of the GPX file.
Declaration
Swift
public var bounds: GPXBounds?
-
Extensions to standard GPX, if any.
Declaration
Swift
public var extensions: GPXExtensions?
-
Default initializer.
Declaration
Swift
required public init()