GeometryValue

Abstract base class for geometry data values.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.GeometryPoint}, {@link com.sap.cloud.mobile.kotlin.odata.GeometryMultiPoint}, {@link com.sap.cloud.mobile.kotlin.odata.GeometryLineString}, {@link com.sap.cloud.mobile.kotlin.odata.GeometryMultiLineString}, {@link com.sap.cloud.mobile.kotlin.odata.GeometryPolygon}, {@link com.sap.cloud.mobile.kotlin.odata.GeometryMultiPolygon}, {@link com.sap.cloud.mobile.kotlin.odata.GeometryCollection}.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var srsCode: Int
Link copied to clipboard
open override var srsName: String?

Functions

Link copied to clipboard
open fun formatWKT(): String
abstract fun formatWKT(sridRequired: Boolean): String

Return this value formatted in OData WKT (well-known text) format.

See Also:

https://en.wikipedia.org/wiki/Well-known_text, OData ABNF.

Link copied to clipboard
open override fun toString(): String

Convert this data value to a string. If the {@link com.sap.cloud.mobile.kotlin.odata.GeometryValue#dataType GeometryValue.dataType} is defined by XML Schema Part 2: Datatypes, then the corresponding lexical format is used. JSON format is used for structured values (arrays and objects).