PostGIS  2.4.9dev-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.

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

Referenced by lwgeom_to_gml2().

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 size_t asgml2_line_size(const LWLINE *line, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:315
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml2_line_buf(const LWLINE *line, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:327
Here is the call graph for this function:
Here is the caller graph for this function: