PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml2_poly()

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

Definition at line 412 of file lwout_gml.c.

413 {
414  char *output;
415  int size;
416 
417  size = asgml2_poly_size(poly, srs, precision, prefix);
418  output = lwalloc(size);
419  asgml2_poly_buf(poly, srs, output, precision, prefix);
420  return output;
421 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml2_poly_buf(const LWPOLY *poly, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:382
static size_t asgml2_poly_size(const LWPOLY *poly, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:362

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

Referenced by lwgeom_to_gml2().

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