PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ asgml3_psurface()

static char * asgml3_psurface ( const LWPSURFACE psur,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1554 of file lwout_gml.c.

1555 {
1556  char *gml;
1557  size_t size;
1558 
1559  size = asgml3_psurface_size(psur, srs, precision, opts, prefix, id);
1560  gml = lwalloc(size);
1561  asgml3_psurface_buf(psur, srs, gml, precision, opts, prefix, id);
1562  return gml;
1563 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:227
static size_t asgml3_psurface_buf(const LWPSURFACE *psur, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1525
static size_t asgml3_psurface_size(const LWPSURFACE *psur, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1502
opts
Definition: ovdump.py:45

References asgml3_psurface_buf(), asgml3_psurface_size(), lwalloc(), ovdump::opts, and precision.

Referenced by lwgeom_to_gml3().

Here is the call graph for this function:
Here is the caller graph for this function: