PostGIS  2.5.7dev-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.

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 uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
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.

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

Referenced by lwgeom_to_geojson().

Here is the call graph for this function:
Here is the caller graph for this function: