Definition at line 1391 of file lwout_gml.c.
1395 size_t prefixlen = strlen(prefix);
1399 size =
sizeof(
"<MultiLineString></MultiLineString>") + prefixlen*2;
1401 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1402 if (
id) size += strlen(
id) + strlen(prefix) +
sizeof(
" id=..");
1404 for (i=0; i<col->
ngeoms; i++)
1406 subgeom = col->
geoms[i];
1409 size += (
sizeof(
"<pointMember>/") + prefixlen ) * 2;
1414 size += (
sizeof(
"<curveMember>/") + prefixlen ) * 2;
1419 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().