Skip to main content

Geography.ToWellKnownText

Translates a structured geographic point value into its Well-Known Text (WKT) representation.

Syntax​

Geography.ToWellKnownText(
input as record,
optional omitSRID as logical
) as text

Remarks​

Translates a structured geographic point value into its Well-Known Text (WKT) representation as defined by the Open Geospatial Consortium (OGC), also the serialization format used by many databases including SQL Server.

Category​

Record.Serialization