PostGIS  2.5.7dev-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 917 of file lwout_gml.c.

918 {
919  char *output;
920  int size;
921 
922  size = asgml3_line_size(line, srs, precision, opts, prefix, id);
923  output = lwalloc(size);
924  asgml3_line_buf(line, srs, output, precision, opts, prefix, id);
925  return output;
926 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
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:828
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:855
opts
Definition: ovdump.py:44

References asgml3_line_buf(), asgml3_line_size(), lwalloc(), ovdump::opts, and precision.

Referenced by lwgeom_to_gml3().

Here is the call graph for this function:
Here is the caller graph for this function: