PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml3_collection()

static char * asgml3_collection ( const LWCOLLECTION col,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1731 of file lwout_gml.c.

1732 {
1733  char *gml;
1734  size_t size;
1735 
1736  size = asgml3_collection_size(col, srs, precision, opts, prefix, id);
1737  gml = lwalloc(size);
1738  asgml3_collection_buf(col, srs, gml, precision, opts, prefix, id);
1739  return gml;
1740 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml3_collection_size(const LWCOLLECTION *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1632
static size_t asgml3_collection_buf(const LWCOLLECTION *col, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1672
opts
Definition: ovdump.py:44

References asgml3_collection_buf(), asgml3_collection_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: