PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ asgml3_poly()

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 1084 of file lwout_gml.c.

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

Referenced by lwgeom_to_gml3().

1085 {
1086  char *output;
1087  int size;
1088 
1089  size = asgml3_poly_size(poly, srs, precision, opts, prefix, id);
1090  output = lwalloc(size);
1091  asgml3_poly_buf(poly, srs, output, precision, opts, is_patch, prefix, id);
1092  return output;
1093 }
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:1014
uint8_t precision
Definition: cu_in_twkb.c:25
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:1034
void * lwalloc(size_t size)
Definition: lwutil.c:229
opts
Definition: ovdump.py:44
Here is the call graph for this function:
Here is the caller graph for this function: