Multipoint Geometry.
Definition at line 382 of file lwout_geojson.c.
383{
385 int size;
386 uint32_t i;
387
388 size = sizeof("{'type':'MultiPoint',");
391 size += sizeof("'coordinates':[]}");
392
393 for (i=0; i<mpoint->
ngeoms; i++)
394 {
395 point = mpoint->
geoms[i];
397 }
398 size += sizeof(",") * i;
399
400 return size;
401}
#define FLAGS_GET_Z(flags)
static size_t pointArray_geojson_size(POINTARRAY *pa, int precision)
Returns maximum size of rendered pointarray in bytes.
static size_t asgeojson_srs_size(char *srs)
Handle SRS.
static size_t asgeojson_bbox_size(int hasz, int precision)
Handle Bbox.
References asgeojson_bbox_size(), asgeojson_srs_size(), LWMPOINT::flags, FLAGS_GET_Z, LWMPOINT::geoms, LWMPOINT::ngeoms, LWPOINT::point, pointArray_geojson_size(), and precision.
Referenced by asgeojson_geom_size(), and asgeojson_multipoint().