Definition at line 429 of file lwout_gml.c.
434 size_t prefixlen = strlen(prefix);
438 size =
sizeof(
"<MultiLineString></MultiLineString>");
441 if ( srs ) size += strlen(srs) +
sizeof(
" srsName=..");
443 for (i=0; i<col->
ngeoms; i++)
445 subgeom = col->
geoms[i];
448 size += (
sizeof(
"<pointMember>/") + prefixlen ) * 2;
453 size += (
sizeof(
"<lineStringMember>/") + prefixlen ) * 2;
458 size += (
sizeof(
"<polygonMember>/") + prefixlen ) * 2;
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
static size_t asgml2_point_size(const LWPOINT *point, const char *srs, int precision, const char *prefix)
static size_t asgml2_line_size(const LWLINE *line, const char *srs, int precision, const char *prefix)
static size_t asgml2_poly_size(const LWPOLY *poly, const char *srs, int precision, const char *prefix)
References asgml2_line_size(), asgml2_point_size(), asgml2_poly_size(), LWCOLLECTION::geoms, LINETYPE, LWCOLLECTION::ngeoms, POINTTYPE, POLYGONTYPE, precision, and LWGEOM::type.
Referenced by asgml2_multi().