PostGIS  2.4.9dev-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 1750 of file lwout_gml.c.

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

Referenced by lwgeom_to_gml3().

1751 {
1752  char *gml;
1753  size_t size;
1754 
1755  size = asgml3_collection_size(col, srs, precision, opts, prefix, id);
1756  gml = lwalloc(size);
1757  asgml3_collection_buf(col, srs, gml, precision, opts, prefix, id);
1758  return gml;
1759 }
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:1691
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:1651
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: