Metadata

data class Metadata(val name: String? = null, val description: String? = null, val author: Author? = null, val copyright: Copyright? = null, val link: List<Link> = listOf(), val timestamp: Instant? = null, val keywords: String? = null, val bounds: Bounds? = null, val extensions: Element? = null)(source)

Represents metadata about the GPX file. This information is about the file itself, not the data within it.

See metadataType.

Constructors

Link copied to clipboard
constructor(name: String? = null, description: String? = null, author: Author? = null, copyright: Copyright? = null, link: List<Link> = listOf(), timestamp: Instant? = null, keywords: String? = null, bounds: Bounds? = null, extensions: Element? = null)

Properties

Link copied to clipboard
@SerialName(value = "author")
@XmlSerialName(value = "author")
@XmlElement
val author: Author?

The person or organization who created the GPX file.

Link copied to clipboard
@XmlSerialName(value = "bounds")
@XmlElement
val bounds: Bounds?

The minimum and maximum coordinates that describe the extent of the data in the file.

Link copied to clipboard
@XmlSerialName(value = "copyright")
@XmlElement
val copyright: Copyright?

Copyright and license information governing use of the file.

Link copied to clipboard
@SerialName(value = "desc")
@XmlElement
val description: String?

A description of the contents of the GPX file.

Link copied to clipboard
@XmlSerialName(value = "extensions")
@XmlElement
val extensions: Element?

Extension schema elements.

Link copied to clipboard
@XmlElement
val keywords: String?

Keywords associated with the file. Search engines or databases may use them.

Link copied to clipboard
@XmlSerialName(value = "link")
@XmlElement
val link: List<Link>

URLs associated with the location described in the file.

Link copied to clipboard
@SerialName(value = "name")
@XmlElement
val name: String?

The name of the GPX file.

Link copied to clipboard
@Serializable(with = UtcDefaultInstantSerializer::class)
@SerialName(value = "time")
@XmlElement
val timestamp: Instant?

The creation timestamp of the data in the file.