io.jawg.geojson.LineString.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geojson-jackson Show documentation
Show all versions of geojson-jackson Show documentation
(De)Serialization of GeoJSON with Jackson for Kotlin
package io.jawg.geojson
data class LineString(
override val coordinates: LineStringCoordinates,
override val bbox: BBox? = null
) : Geometry("LineString") {
init {
LineStringValidator.validate(coordinates)
}
override fun getAllCoordinates(): List = coordinates.orEmpty()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy