PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ lwgeom_to_text()

static char* lwgeom_to_text ( const LWGEOM lwgeom)
static

Definition at line 100 of file cu_gdal.c.

References lwgeom_to_wkt(), and WKT_ISO.

Referenced by test_gdal_polygonize().

100  {
101  char *wkt;
102  size_t wkt_size;
103 
104  wkt = lwgeom_to_wkt(lwgeom, WKT_ISO, DBL_DIG, &wkt_size);
105 
106  return wkt;
107 }
char * lwgeom_to_wkt(const LWGEOM *geom, uint8_t variant, int precision, size_t *size_out)
WKT emitter function.
Definition: lwout_wkt.c:669
#define WKT_ISO
Definition: liblwgeom.h:2055
Here is the call graph for this function:
Here is the caller graph for this function: