Apache Pinot Docs
Search…
latest
ST_AsText
This section contains reference documentation for the ST_AsText function.
Returns the WKT representation of the geometry/geography.

Signature

ST_AsText(geometryObject)

Usage Examples

1
select stAsText(
2
STPOINT(-122, 37)
3
) AS value
4
from ignoreMe
Copied!
value
POINT (-122 37)
1
select stAsText(
2
ST_GeogFromText('LINESTRING (30 10, 10 30, 40 40)')
3
) AS value
4
from ignoreMe
Copied!
value
LINESTRING (30 10, 10 30, 40 40)
Last modified 15d ago
Copy link