PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml2_multi()

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

Definition at line 529 of file lwout_gml.c.

531 {
532  char *gml;
533  size_t size;
534 
535  size = asgml2_multi_size(col, srs, precision, prefix);
536  gml = lwalloc(size);
537  asgml2_multi_buf(col, srs, gml, precision, prefix);
538  return gml;
539 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml2_multi_size(const LWCOLLECTION *col, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:429
static size_t asgml2_multi_buf(const LWCOLLECTION *col, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:470

References asgml2_multi_buf(), asgml2_multi_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: