Definition at line 1096 of file lwout_gml.c.
References CIRCSTRINGTYPE, LWCOMPOUND::geoms, IS_DIMS, LINETYPE, LWCOMPOUND::ngeoms, pointArray_GMLsize(), and LWGEOM::type.
Referenced by asgml3_compound(), asgml3_curvepoly_size(), and asgml3_multicurve_size().
1101 size_t prefixlen = strlen(prefix);
1103 size = (
sizeof(
"<Curve></Curve>" ) + 2 * prefixlen );
1105 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1106 if (
id) size += strlen(
id) + strlen(prefix) +
sizeof(
" id=..");
1108 size += (
sizeof(
"<segments></segments>") + 2 * prefixlen );
1110 for(i= 0; i < col->
ngeoms; ++i )
1112 subgeom = col->
geoms[i];
1116 size +=
sizeof(
"<LineStringSegment></LineStringSegment" ) + 2 * prefixlen;
1117 size +=
sizeof(
"<posList></posList" ) + 2 * prefixlen;
1122 size +=
sizeof(
"<ArcString><posList></ArcString></posList>") + 4 * prefixlen;
1131 size +=
sizeof(
" srsDimension='x'");
static size_t pointArray_GMLsize(POINTARRAY *pa, int precision)