Definition at line 1239 of file lwout_gml.c.
1251 ptr += sprintf( ptr,
"<%sPolygon", prefix );
1254 ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
1258 ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id );
1260 ptr += sprintf(ptr,
">");
1262 for( i = 0; i < poly->
nrings; ++i )
1266 ptr += sprintf( ptr,
"<%sexterior>", prefix);
1270 ptr += sprintf( ptr,
"<%sinterior>", prefix);
1273 subgeom = poly->
rings[i];
1276 ptr += sprintf( ptr,
"<%sLinearRing>", prefix );
1277 ptr += sprintf( ptr,
"<%sposList", prefix );
1280 ptr += sprintf(ptr,
" srsDimension=\"%d\"", dimension);
1282 ptr += sprintf( ptr,
">" );
1284 ptr += sprintf( ptr,
"</%sposList>", prefix );
1285 ptr += sprintf( ptr,
"</%sLinearRing>", prefix );
1289 ptr += sprintf( ptr,
"<%sRing>", prefix );
1290 ptr += sprintf( ptr,
"<%scurveMember>", prefix );
1292 ptr += sprintf( ptr,
"</%scurveMember>", prefix );
1293 ptr += sprintf( ptr,
"</%sRing>", prefix );
1297 ptr += sprintf( ptr,
"<%sRing>", prefix );
1298 ptr += sprintf( ptr,
"<%scurveMember>", prefix );
1300 ptr += sprintf( ptr,
"</%scurveMember>", prefix );
1301 ptr += sprintf( ptr,
"</%sRing>", prefix );
1306 ptr += sprintf( ptr,
"</%sexterior>", prefix);
1310 ptr += sprintf( ptr,
"</%sinterior>", prefix);
1314 ptr += sprintf( ptr,
"</%sPolygon>", prefix );
1315 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)
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().