PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ asgml2_poly()

static char * asgml2_poly ( const LWPOLY poly,
const char *  srs,
int  precision,
const char *  prefix 
)
static

Definition at line 399 of file lwout_gml.c.

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

Referenced by lwgeom_to_gml2().

400 {
401  char *output;
402  int size;
403 
404  size = asgml2_poly_size(poly, srs, precision, prefix);
405  output = lwalloc(size);
406  asgml2_poly_buf(poly, srs, output, precision, prefix);
407  return output;
408 }
static size_t asgml2_poly_size(const LWPOLY *poly, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:349
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t asgml2_poly_buf(const LWPOLY *poly, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:369
void * lwalloc(size_t size)
Definition: lwutil.c:199
Here is the call graph for this function:
Here is the caller graph for this function: