Gpx

data object Gpx(source)

A utility object for serializing and deserializing GPX (GPS Exchange Format) data.

Properties

Link copied to clipboard
val gpxFormat: XML

The XML format configuration for parsing and serializing GPX data.

Functions

Link copied to clipboard
fun decodeFromString(@Language(value = "xml") string: String): Document

Decodes a Document from the given XML string.

Link copied to clipboard
fun decodeFromStringOrNull(@Language(value = "xml") string: String): Document?

Decodes a Document from the given XML string. If the string is not a well-formed GPX document, null is returned.

Link copied to clipboard

Serializes a Document object into its GPX XML string representation.