Reference material for ST_ASTEXT function
GEOGRAPHY
data type to the Well-Known Text (WKT) format.
Parameter | Description | Supported input types |
---|---|---|
<object> | The GEOGRAPHY object to convert to WKT format. | GEOGRAPHY |
ST_ASTEXT
returns a value of type TEXT
.
GEOGRAPHY
object from the WKT representation of a Point at specified longitude and latitude coordinates and converts it to WKT format:
result (TEXT) |
---|
‘POINT(-73.98551041593687 40.75793403395676)’ |