Definition at line 1350 of file lwout_gml.c.
References IS_DIMS, pointArray_GMLsize(), and LWTRIANGLE::points.
Referenced by asgml3_tin_size(), and asgml3_triangle().
1353 size_t prefixlen = strlen(prefix);
1355 size = (
sizeof(
"<Triangle><exterior><LinearRing>///") + (prefixlen*3) ) * 2;
1356 size +=
sizeof(
"<posList></posList>") + (prefixlen*2);
1357 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1358 if (
id) size += strlen(prefix) + strlen(
id) +
sizeof(
" id=..");
1359 if (
IS_DIMS(
opts)) size +=
sizeof(
" srsDimension='x'");
static size_t pointArray_GMLsize(POINTARRAY *pa, int precision)