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

References asgml2_point_buf(), asgml2_point_size(), and lwalloc().

Referenced by lwgeom_to_gml2().

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 size_t asgml2_point_size(const LWPOINT *point, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:271
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t asgml2_point_buf(const LWPOINT *point, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:283
void * lwalloc(size_t size)
Definition: lwutil.c:229
Here is the call graph for this function:
Here is the caller graph for this function: