PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ lwgeom_to_text()

static char* lwgeom_to_text ( const LWGEOM lwgeom)

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;
250  wkt = lwgeom_to_wkt(lwgeom, WKT_ISO, DBL_DIG, &wkt_size);
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:676
#define WKT_ISO
Definition: liblwgeom.h:2075
Here is the call graph for this function:
Here is the caller graph for this function: