Collection Geometry.
Definition at line 591 of file lwout_geojson.c.
592{
593 uint32_t i;
594 size_t size;
596
597 size = sizeof("{'type':'GeometryCollection',");
600 size += sizeof("'geometries':");
601
602 for (i=0; i<col->
ngeoms; i++)
603 {
604 subgeom = col->
geoms[i];
606 }
607 size += sizeof(",") * i;
608 size += sizeof("]}");
609
610 return size;
611}
#define FLAGS_GET_Z(flags)
static size_t asgeojson_geom_size(const LWGEOM *geom, GBOX *bbox, int precision)
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_geom_size(), asgeojson_srs_size(), LWCOLLECTION::flags, FLAGS_GET_Z, LWCOLLECTION::geoms, LWCOLLECTION::ngeoms, and precision.
Referenced by asgeojson_collection().