MobilityDB 1.1

◆ gserialized_as_text()

char * gserialized_as_text ( const GSERIALIZED geom,
int  precision 
)

Return the WKT representation (and optionally a SRID) of a geometry.

Note
This is a a stricter version of geometry_in, where we refuse to accept (HEX)WKB or EWKT.
PostGIS function: LWGEOM_asText(PG_FUNCTION_ARGS)