PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgml3_poly ( const LWPOLY poly,
const char *  srs,
int  precision,
int  opts,
int  is_patch,
const char *  prefix,
const char *  id 
)
static

Definition at line 966 of file lwout_gml.c.

References asgml3_poly_buf(), asgml3_poly_size(), and lwalloc().

Referenced by lwgeom_to_gml3().

967 {
968  char *output;
969  int size;
970 
971  size = asgml3_poly_size(poly, srs, precision, opts, prefix, id);
972  output = lwalloc(size);
973  asgml3_poly_buf(poly, srs, output, precision, opts, is_patch, prefix, id);
974  return output;
975 }
static size_t asgml3_poly_size(const LWPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:897
static size_t asgml3_poly_buf(const LWPOLY *poly, const char *srs, char *output, int precision, int opts, int is_patch, const char *prefix, const char *id)
Definition: lwout_gml.c:917
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: