PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml2_line()

static char * asgml2_line ( const LWLINE line,
const char *  srs,
int  precision,
const char *  prefix 
)
static

Definition at line 350 of file lwout_gml.c.

351 {
352  char *output;
353  int size;
354 
355  size = asgml2_line_size(line, srs, precision, prefix);
356  output = lwalloc(size);
357  asgml2_line_buf(line, srs, output, precision, prefix);
358  return output;
359 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml2_line_size(const LWLINE *line, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:315
static size_t asgml2_line_buf(const LWLINE *line, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:327

References asgml2_line_buf(), asgml2_line_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: