Definition at line 1238 of file lwout_gml.c.
1250 ptr += sprintf( ptr,
"<%sPolygon", prefix );
1253 ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
1257 ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id );
1259 ptr += sprintf(ptr,
">");
1261 for( i = 0; i < poly->
nrings; ++i )
1265 ptr += sprintf( ptr,
"<%sexterior>", prefix);
1269 ptr += sprintf( ptr,
"<%sinterior>", prefix);
1272 subgeom = poly->
rings[i];
1275 ptr += sprintf( ptr,
"<%sLinearRing>", prefix );
1276 ptr += sprintf( ptr,
"<%sposList", prefix );
1279 ptr += sprintf(ptr,
" srsDimension=\"%d\"", dimension);
1281 ptr += sprintf( ptr,
">" );
1283 ptr += sprintf( ptr,
"</%sposList>", prefix );
1284 ptr += sprintf( ptr,
"</%sLinearRing>", prefix );
1288 ptr += sprintf( ptr,
"<%sRing>", prefix );
1289 ptr += sprintf( ptr,
"<%scurveMember>", prefix );
1291 ptr += sprintf( ptr,
"</%scurveMember>", prefix );
1292 ptr += sprintf( ptr,
"</%sRing>", prefix );
1296 ptr += sprintf( ptr,
"<%sRing>", prefix );
1297 ptr += sprintf( ptr,
"<%scurveMember>", prefix );
1299 ptr += sprintf( ptr,
"</%scurveMember>", prefix );
1300 ptr += sprintf( ptr,
"</%sRing>", prefix );
1305 ptr += sprintf( ptr,
"</%sexterior>", prefix);
1309 ptr += sprintf( ptr,
"</%sinterior>", prefix);
1313 ptr += sprintf( ptr,
"</%sPolygon>", prefix );
1314 return (ptr - output);
#define FLAGS_GET_Z(flags)
static size_t pointArray_toGML3(POINTARRAY *pa, char *buf, int precision, int opts)
static size_t asgml3_circstring_buf(const LWCIRCSTRING *circ, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
static size_t asgml3_compound_buf(const LWCOMPOUND *col, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
References asgml3_circstring_buf(), asgml3_compound_buf(), CIRCSTRINGTYPE, COMPOUNDTYPE, LWCURVEPOLY::flags, FLAGS_GET_Z, IS_DIMS, LINETYPE, LWCURVEPOLY::nrings, ovdump::opts, pointArray_toGML3(), precision, LWCURVEPOLY::rings, and LWGEOM::type.
Referenced by asgml3_curvepoly(), and asgml3_multisurface_buf().