All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.earth.worldwind.ogc.gml.GmlDirectPosition.kt Maven / Gradle / Ivy

Go to download

The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.

The newest version!
package earth.worldwind.ogc.gml

import kotlinx.serialization.Serializable
import nl.adaptivity.xmlutil.serialization.XmlValue

@Serializable
data class GmlDirectPosition(
    @XmlValue(true)
    override val doubles: String,
    val srsName: String? = null,
    val srsDimension: String? = null,
    private val axisLabels: String? = null,
    private val uomLabels: String? = null
) : GmlDoubleList() {
    val axisLabelsList get() = axisLabels?.split(" ") ?: emptyList()
    val uomLabelsList get() = uomLabels?.split(" ") ?: emptyList()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy