PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ asgml3_line()

static char * asgml3_line ( const LWLINE line,
const char *  srs,
int  precision,
int  opts,
const char *  prefix,
const char *  id 
)
static

Definition at line 936 of file lwout_gml.c.

References asgml3_line_buf(), asgml3_line_size(), and lwalloc().

Referenced by lwgeom_to_gml3().

937 {
938  char *output;
939  int size;
940 
941  size = asgml3_line_size(line, srs, precision, opts, prefix, id);
942  output = lwalloc(size);
943  asgml3_line_buf(line, srs, output, precision, opts, prefix, id);
944  return output;
945 }
static size_t asgml3_line_size(const LWLINE *line, const char *srs, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:847
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
opts
Definition: ovdump.py:44
static size_t asgml3_line_buf(const LWLINE *line, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
Definition: lwout_gml.c:874
Here is the call graph for this function:
Here is the caller graph for this function: