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")
val author: Author?

The person or organization who created the GPX file.

Link copied to clipboard

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

Link copied to clipboard

Copyright and license information governing use of the file.

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

A description of the contents of the GPX file.

Link copied to clipboard
val extensions: Element?

Extension schema elements.

Link copied to clipboard

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

Link copied to clipboard
val link: List<Link>

URLs associated with the location described in the file.

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

The name of the GPX file.

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

The creation timestamp of the data in the file.