PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ asgml2_point()

static char * asgml2_point ( const LWPOINT point,
const char *  srs,
int  precision,
const char *  prefix 
)
static

Definition at line 303 of file lwout_gml.c.

304 {
305  char *output;
306  int size;
307 
308  size = asgml2_point_size(point, srs, precision, prefix);
309  output = lwalloc(size);
310  asgml2_point_buf(point, srs, output, precision, prefix);
311  return output;
312 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t asgml2_point_size(const LWPOINT *point, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:271
static size_t asgml2_point_buf(const LWPOINT *point, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:283

References asgml2_point_buf(), asgml2_point_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: