PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ LWGEOM_to_text()

Datum LWGEOM_to_text ( PG_FUNCTION_ARGS  )

Definition at line 336 of file lwgeom_inout.c.

337{
338 GSERIALIZED *geom = PG_GETARG_GSERIALIZED_P(0);
339 LWGEOM *lwgeom = lwgeom_from_gserialized(geom);
340 PG_RETURN_TEXT_P(lwgeom_to_hexwkb_varlena(lwgeom, WKB_EXTENDED));
341}
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
lwvarlena_t * lwgeom_to_hexwkb_varlena(const LWGEOM *geom, uint8_t variant)
Definition lwout_wkb.c:875
#define WKB_EXTENDED
Definition liblwgeom.h:2212

References lwgeom_from_gserialized(), lwgeom_to_hexwkb_varlena(), and WKB_EXTENDED.

Here is the call graph for this function: