Skip to main content
Returns the Well-Known Text (WKT) representation of a geography object.

Signatures

ST_AsText (A: Geography)

Parameters

A
Geography
required
The geography to serialize.

Return type

The WKT representation of the geography.

Example

SELECT ST_AsText(ST_GeogFromWKT('POINT (1 2)'));
POINT (1 2)