PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ asgml3_tin()

static char * asgml3_tin ( const LWTIN tin,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1639 of file lwout_gml.c.

References asgml3_tin_buf(), asgml3_tin_size(), and lwalloc().

Referenced by lwgeom_to_gml3().

1640 {
1641  char *gml;
1642  size_t size;
1643 
1644  size = asgml3_tin_size(tin, srs, precision, opts, prefix, id);
1645  gml = lwalloc(size);
1646  asgml3_tin_buf(tin, srs, gml, precision, opts, prefix, id);
1647  return gml;
1648 }
static size_t asgml3_tin_size(const LWTIN *tin, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1587
static size_t asgml3_tin_buf(const LWTIN *tin, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1610
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
opts
Definition: ovdump.py:44
Here is the call graph for this function:
Here is the caller graph for this function: