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

Definition at line 389 of file lwout_gml.c.

References asgml2_poly_buf(), asgml2_poly_size(), and lwalloc().

Referenced by lwgeom_to_gml2().

390 {
391  char *output;
392  int size;
393 
394  size = asgml2_poly_size(poly, srs, precision, prefix);
395  output = lwalloc(size);
396  asgml2_poly_buf(poly, srs, output, precision, prefix);
397  return output;
398 }
static size_t asgml2_poly_size(const LWPOLY *poly, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:340
static size_t asgml2_poly_buf(const LWPOLY *poly, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:360
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: