PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml3_curvepoly()

static char * asgml3_curvepoly ( const LWCURVEPOLY poly,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1318 of file lwout_gml.c.

1319 {
1320  char* gml;
1321  size_t size;
1322 
1323  size = asgml3_curvepoly_size( poly, srs, precision, opts, prefix, id );
1324  gml = lwalloc( size );
1325  asgml3_curvepoly_buf( poly, srs, gml, precision, opts, prefix, id );
1326  return gml;
1327 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml3_curvepoly_buf(const LWCURVEPOLY *poly, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1239
static size_t asgml3_curvepoly_size(const LWCURVEPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1192
opts
Definition: ovdump.py:44

References asgml3_curvepoly_buf(), asgml3_curvepoly_size(), lwalloc(), ovdump::opts, and precision.

Referenced by lwgeom_to_gml3().

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