PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgml3_psurface ( const LWPSURFACE psur,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 1202 of file lwout_gml.c.

References asgml3_psurface_buf(), asgml3_psurface_size(), and lwalloc().

Referenced by lwgeom_to_gml3().

1203 {
1204  char *gml;
1205  size_t size;
1206 
1207  size = asgml3_psurface_size(psur, srs, precision, opts, prefix, id);
1208  gml = lwalloc(size);
1209  asgml3_psurface_buf(psur, srs, gml, precision, opts, prefix, id);
1210  return gml;
1211 }
static size_t asgml3_psurface_size(const LWPSURFACE *psur, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1150
void * lwalloc(size_t size)
Definition: lwutil.c:175
static size_t asgml3_psurface_buf(const LWPSURFACE *psur, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:1173

Here is the call graph for this function:

Here is the caller graph for this function: