Definition at line 1077 of file lwout_gml.c.
1082 size_t prefixlen = strlen(prefix);
1084 size = (
sizeof(
"<Curve></Curve>" ) + 2 * prefixlen );
1086 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1087 if (
id) size += strlen(
id) + strlen(prefix) +
sizeof(
" id=..");
1089 size += (
sizeof(
"<segments></segments>") + 2 * prefixlen );
1091 for(i= 0; i < col->
ngeoms; ++i )
1093 subgeom = col->
geoms[i];
1097 size +=
sizeof(
"<LineStringSegment></LineStringSegment" ) + 2 * prefixlen;
1098 size +=
sizeof(
"<posList></posList" ) + 2 * prefixlen;
1103 size +=
sizeof(
"<ArcString><posList></ArcString></posList>") + 4 * prefixlen;
1112 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().