PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwgeom_to_text()

static char* lwgeom_to_text ( const LWGEOM lwgeom)
static

Definition at line 246 of file cu_raster_geometry.c.

References lwgeom_to_wkt(), and WKT_ISO.

Referenced by test_raster_perimeter(), and test_raster_surface().

246  {
247  char *wkt;
248  size_t wkt_size;
249 
250  wkt = lwgeom_to_wkt(lwgeom, WKT_ISO, DBL_DIG, &wkt_size);
251 
252  return wkt;
253 }
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:2083
Here is the call graph for this function:
Here is the caller graph for this function: