Definition at line 1404 of file lwout_gml.c.
1408 size_t prefixlen = strlen(prefix);
1412 size =
sizeof(
"<MultiLineString></MultiLineString>") + prefixlen*2;
1414 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1415 if (
id) size += strlen(
id) + strlen(prefix) +
sizeof(
" id=..");
1417 for (i=0; i<col->
ngeoms; i++)
1419 subgeom = col->
geoms[i];
1422 size += (
sizeof(
"<pointMember>/") + prefixlen ) * 2;
1427 size += (
sizeof(
"<curveMember>/") + prefixlen ) * 2;
1432 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().