PostGIS  2.5.0dev-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.

References asgml3_collection_buf(), asgml3_collection_size(), and lwalloc().

Referenced by lwgeom_to_gml3().

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 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
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
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: