PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ asgeojson_multipoint()

static char * asgeojson_multipoint ( const LWMPOINT mpoint,
char *  srs,
GBOX bbox,
int  precision 
)
static

Definition at line 360 of file lwout_geojson.c.

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

Referenced by lwgeom_to_geojson().

361 {
362  char *output;
363  int size;
364 
365  size = asgeojson_multipoint_size(mpoint, srs, bbox, precision);
366  output = lwalloc(size);
367  asgeojson_multipoint_buf(mpoint, srs, output, bbox, precision);
368 
369  return output;
370 }
static size_t asgeojson_multipoint_buf(const LWMPOINT *mpoint, char *srs, char *output, GBOX *bbox, int precision)
uint8_t precision
Definition: cu_in_twkb.c:25
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:199
Here is the call graph for this function:
Here is the caller graph for this function: