Definition at line 1367 of file lwout_gml.c.
References LWTRIANGLE::flags, FLAGS_GET_Z, IS_DIMS, pointArray_toGML3(), and LWTRIANGLE::points.
Referenced by asgml3_tin_buf(), and asgml3_triangle().
1373 ptr += sprintf(ptr,
"<%sTriangle", prefix);
1374 if (srs) ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
1375 if (
id) ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id);
1376 ptr += sprintf(ptr,
">");
1378 ptr += sprintf(ptr,
"<%sexterior><%sLinearRing>", prefix, prefix);
1379 if (
IS_DIMS(
opts)) ptr += sprintf(ptr,
"<%sposList srsDimension=\"%d\">", prefix, dimension);
1380 else ptr += sprintf(ptr,
"<%sposList>", prefix);
1383 ptr += sprintf(ptr,
"</%sposList></%sLinearRing></%sexterior>",
1384 prefix, prefix, prefix);
1386 ptr += sprintf(ptr,
"</%sTriangle>", prefix);
1388 return (ptr-output);
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
static size_t pointArray_toGML3(POINTARRAY *pa, char *buf, int precision, int opts)