GeographyValue

Abstract base class for geography data values.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.GeographyPoint}, {@link com.sap.cloud.mobile.kotlin.odata.GeographyMultiPoint}, {@link com.sap.cloud.mobile.kotlin.odata.GeographyLineString}, {@link com.sap.cloud.mobile.kotlin.odata.GeographyMultiLineString}, {@link com.sap.cloud.mobile.kotlin.odata.GeographyPolygon}, {@link com.sap.cloud.mobile.kotlin.odata.GeographyMultiPolygon}, {@link com.sap.cloud.mobile.kotlin.odata.GeographyCollection}.

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.GeographyValue#dataType GeographyValue.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).