Definition at line 351 of file lwout_geojson.c.
357 ptr += sprintf(ptr,
"{\"type\":\"MultiPoint\",");
360 ptr += sprintf(ptr,
"\"coordinates\":[");
362 for (i=0; i<mpoint->
ngeoms; i++)
364 if (i) ptr += sprintf(ptr,
",");
365 point = mpoint->
geoms[i];
368 ptr += sprintf(ptr,
"]}");
370 return (ptr - output);
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
static size_t pointArray_to_geojson(POINTARRAY *pa, char *buf, int precision)
static size_t asgeojson_srs_buf(char *output, char *srs)
static size_t asgeojson_bbox_buf(char *output, GBOX *bbox, int hasz, int precision)
References asgeojson_bbox_buf(), asgeojson_srs_buf(), LWMPOINT::flags, FLAGS_GET_Z, LWMPOINT::geoms, LWMPOINT::ngeoms, LWPOINT::point, pointArray_to_geojson(), and precision.
Referenced by asgeojson_geom_buf(), and asgeojson_multipoint().