PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgml3_collection ( const LWCOLLECTION col,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1377 of file lwout_gml.c.

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

Referenced by lwgeom_to_gml3().

1378 {
1379  char *gml;
1380  size_t size;
1381 
1382  size = asgml3_collection_size(col, srs, precision, opts, prefix, id);
1383  gml = lwalloc(size);
1384  asgml3_collection_buf(col, srs, gml, precision, opts, prefix, id);
1385  return gml;
1386 }
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:1319
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:1279
void * lwalloc(size_t size)
Definition: lwutil.c:175

Here is the call graph for this function:

Here is the caller graph for this function: