PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ asgml3_compound()

static char * asgml3_compound ( const LWCOMPOUND col,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1180 of file lwout_gml.c.

1181 {
1182  char* gml;
1183  size_t size;
1184 
1185  size = asgml3_compound_size( col, srs, precision, opts, prefix, id );
1186  gml = lwalloc( size );
1187  asgml3_compound_buf( col, srs, gml, precision, opts, prefix, id );
1188  return gml;
1189 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:227
static size_t asgml3_compound_buf(const LWCOMPOUND *col, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1118
static size_t asgml3_compound_size(const LWCOMPOUND *col, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1076
opts
Definition: ovdump.py:45

References asgml3_compound_buf(), asgml3_compound_size(), lwalloc(), ovdump::opts, and precision.

Referenced by lwgeom_to_gml3().

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