PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgml2_collection ( const LWCOLLECTION col,
const char *  srs,
int  precision,
const char *  prefix 

Definition at line 623 of file lwout_gml.c.

References asgml2_collection_buf(), asgml2_collection_size(), and lwalloc().

Referenced by lwgeom_to_gml2().

625 {
626  char *gml;
627  size_t size;
629  size = asgml2_collection_size(col, srs, precision, prefix);
630  gml = lwalloc(size);
631  asgml2_collection_buf(col, srs, gml, precision, prefix);
632  return gml;
633 }
static size_t asgml2_collection_buf(const LWCOLLECTION *col, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:568
static size_t asgml2_collection_size(const LWCOLLECTION *col, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:522
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: