PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml2_collection()

static char * asgml2_collection ( const LWCOLLECTION col,
const char *  srs,
int  precision,
const char *  prefix 
)
static

Definition at line 648 of file lwout_gml.c.

650 {
651  char *gml;
652  size_t size;
653 
654  size = asgml2_collection_size(col, srs, precision, prefix);
655  gml = lwalloc(size);
656  asgml2_collection_buf(col, srs, gml, precision, prefix);
657  return gml;
658 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml2_collection_size(const LWCOLLECTION *col, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:546
static size_t asgml2_collection_buf(const LWCOLLECTION *col, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:592

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

Referenced by lwgeom_to_gml2().

Here is the call graph for this function:
Here is the caller graph for this function: