Definition at line 1076 of file lwout_gml.c.
1081 size_t prefixlen = strlen(prefix);
1083 size = (
sizeof(
"<Curve></Curve>" ) + 2 * prefixlen );
1085 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1086 if (
id) size += strlen(
id) + strlen(prefix) +
sizeof(
" id=..");
1088 size += (
sizeof(
"<segments></segments>") + 2 * prefixlen );
1090 for(i= 0; i < col->
ngeoms; ++i )
1092 subgeom = col->
geoms[i];
1096 size +=
sizeof(
"<LineStringSegment></LineStringSegment" ) + 2 * prefixlen;
1097 size +=
sizeof(
"<posList></posList" ) + 2 * prefixlen;
1102 size +=
sizeof(
"<ArcString><posList></ArcString></posList>") + 4 * prefixlen;
1111 size +=
sizeof(
" srsDimension='x'");
static size_t pointArray_GMLsize(POINTARRAY *pa, int precision)
References CIRCSTRINGTYPE, LWCOMPOUND::geoms, IS_DIMS, LINETYPE, LWCOMPOUND::ngeoms, ovdump::opts, pointArray_GMLsize(), precision, and LWGEOM::type.
Referenced by asgml3_compound(), asgml3_curvepoly_size(), and asgml3_multicurve_size().