Definition at line 1390 of file lwout_gml.c.
1394 size_t prefixlen = strlen(prefix);
1398 size =
sizeof(
"<MultiLineString></MultiLineString>") + prefixlen*2;
1400 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1401 if (
id) size += strlen(
id) + strlen(prefix) +
sizeof(
" id=..");
1403 for (i=0; i<col->
ngeoms; i++)
1405 subgeom = col->
geoms[i];
1408 size += (
sizeof(
"<pointMember>/") + prefixlen ) * 2;
1413 size += (
sizeof(
"<curveMember>/") + prefixlen ) * 2;
1418 size += (
sizeof(
"<surfaceMember>/") + prefixlen ) * 2;
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
static size_t asgml3_poly_size(const LWPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)
static size_t asgml3_point_size(const LWPOINT *point, const char *srs, int precision, int opts, const char *prefix, const char *id)
static size_t asgml3_line_size(const LWLINE *line, const char *srs, int precision, int opts, const char *prefix, const char *id)
References asgml3_line_size(), asgml3_point_size(), asgml3_poly_size(), LWCOLLECTION::geoms, LINETYPE, LWCOLLECTION::ngeoms, ovdump::opts, POINTTYPE, POLYGONTYPE, precision, and LWGEOM::type.
Referenced by asgml3_collection_size(), and asgml3_multi().