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

Definition at line 290 of file lwout_gml.c.

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

Referenced by lwgeom_to_gml2().

291 {
292  char *output;
293  int size;
294 
295  size = asgml2_point_size(point, srs, precision, prefix);
296  output = lwalloc(size);
297  asgml2_point_buf(point, srs, output, precision, prefix);
298  return output;
299 }
static size_t asgml2_point_size(const LWPOINT *point, const char *srs, int precision, const char *prefix)
Definition: lwout_gml.c:258
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:270
void * lwalloc(size_t size)
Definition: lwutil.c:199

Here is the call graph for this function:

Here is the caller graph for this function: