PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ asgeojson_multipoint()

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

Definition at line 374 of file lwout_geojson.c.

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

Referenced by lwgeom_to_geojson().

375 {
376  char *output;
377  int size;
378 
379  size = asgeojson_multipoint_size(mpoint, srs, bbox, precision);
380  output = lwalloc(size);
381  asgeojson_multipoint_buf(mpoint, srs, output, bbox, precision);
382 
383  return output;
384 }
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:229
Here is the call graph for this function:
Here is the caller graph for this function: