PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgml2_point ( const LWPOINT point,
const char *  srs,
int  precision,
const char *  prefix 

Definition at line 282 of file lwout_gml.c.

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

Referenced by lwgeom_to_gml2().

283 {
284  char *output;
285  int size;
287  size = asgml2_point_size(point, srs, precision, prefix);
288  output = lwalloc(size);
289  asgml2_point_buf(point, srs, output, precision, prefix);
290  return output;
291 }
static size_t asgml2_point_size(const LWPOINT *point, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:251
static size_t asgml2_point_buf(const LWPOINT *point, const char *srs, char *output, int precision, const char *prefix)
Definition: lwout_gml.c:263
void * lwalloc(size_t size)
Definition: lwutil.c:175

Here is the call graph for this function:

Here is the caller graph for this function: