MobilityDB 1.3
Loading...
Searching...
No Matches

◆ geo_as_wkt()

char * geo_as_wkt ( const GSERIALIZED gs,
int  precision,
bool  extended 
)

Return the (Extended) Well-Known Text (EWKT or WKT) representation of a geometry/geography.

Parameters
[in]gsGeometry/geography
[in]precisionMaximum number of decimal digits
[in]extendedTrue for the EWKT representation, false for the WKT one
Note
This is a a stricter version of geom_in, where we refuse to accept (HEX)WKB or EWKT.