Multiline Geometry.
Definition at line 393 of file lwout_geojson.c.
399 size =
sizeof(
"{'type':'MultiLineString',");
402 size +=
sizeof(
"'coordinates':[]}");
404 for (i=0 ; i<mline->
ngeoms; i++)
406 line = mline->
geoms[i];
408 size +=
sizeof(
"[]");
410 size +=
sizeof(
",") * i;
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
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(), LWMLINE::flags, FLAGS_GET_Z, LWMLINE::geoms, LWMLINE::ngeoms, pointArray_geojson_size(), LWLINE::points, and precision.
Referenced by asgeojson_geom_size(), and asgeojson_multiline().