Definition at line 1347 of file lwout_gml.c.
1353 ptr += sprintf(ptr,
"<%sTriangle", prefix);
1354 if (srs) ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
1355 if (
id) ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id);
1356 ptr += sprintf(ptr,
">");
1358 ptr += sprintf(ptr,
"<%sexterior><%sLinearRing>", prefix, prefix);
1359 if (
IS_DIMS(
opts)) ptr += sprintf(ptr,
"<%sposList srsDimension=\"%d\">", prefix, dimension);
1360 else ptr += sprintf(ptr,
"<%sposList>", prefix);
1363 ptr += sprintf(ptr,
"</%sposList></%sLinearRing></%sexterior>",
1364 prefix, prefix, prefix);
1366 ptr += sprintf(ptr,
"</%sTriangle>", prefix);
1368 return (ptr-output);
#define FLAGS_GET_Z(flags)
static size_t pointArray_toGML3(POINTARRAY *pa, char *buf, int precision, int opts)
References LWTRIANGLE::flags, FLAGS_GET_Z, IS_DIMS, ovdump::opts, pointArray_toGML3(), LWTRIANGLE::points, and precision.
Referenced by asgml3_tin_buf(), and asgml3_triangle().