PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgml2_line ( const LWLINE line,
const char *  srs,
int  precision,
const char *  prefix 

Definition at line 328 of file lwout_gml.c.

References asgml2_line_buf(), asgml2_line_size(), and lwalloc().

Referenced by lwgeom_to_gml2().

329 {
330  char *output;
331  int size;
333  size = asgml2_line_size(line, srs, precision, prefix);
334  output = lwalloc(size);
335  asgml2_line_buf(line, srs, output, precision, prefix);
336  return output;
337 }
static size_t asgml2_line_size(const LWLINE *line, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:294
void * lwalloc(size_t size)
Definition: lwutil.c:175
static size_t asgml2_line_buf(const LWLINE *line, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:306

Here is the call graph for this function:

Here is the caller graph for this function: