MobilityDB 1.1

◆ gserialized_as_ewkt()

char * gserialized_as_ewkt ( const GSERIALIZED geom,
int  precision 
)

Return the EWKT 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_asEWKT(PG_FUNCTION_ARGS)