PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgeojson_multipoint ( const LWMPOINT mpoint,
char *  srs,
GBOX bbox,
int  precision 
)
static

Definition at line 361 of file lwout_geojson.c.

References asgeojson_multipoint_buf(), asgeojson_multipoint_size(), and lwalloc().

Referenced by lwgeom_to_geojson().

362 {
363  char *output;
364  int size;
365 
366  size = asgeojson_multipoint_size(mpoint, srs, bbox, precision);
367  output = lwalloc(size);
368  asgeojson_multipoint_buf(mpoint, srs, output, bbox, precision);
369 
370  return output;
371 }
static size_t asgeojson_multipoint_buf(const LWMPOINT *mpoint, char *srs, char *output, GBOX *bbox, int precision)
static size_t asgeojson_multipoint_size(const LWMPOINT *mpoint, char *srs, GBOX *bbox, int precision)
Multipoint Geometry.
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: