Definition at line 456 of file lwout_gml.c.
457{
458 uint32_t i;
460
462 opts->is_patch ?
"<%sPolygonPatch" :
"<%sPolygon",
464
467
469 {
471 return;
472 }
474
479 else
481
486 for (i=1; i<poly->
nrings; i++)
487 {
492 else
498 }
499
501 opts->is_patch ?
"</%sPolygonPatch>" :
"</%sPolygon>",
503}
#define FLAGS_GET_Z(flags)
int lwpoly_is_empty(const LWPOLY *poly)
static void asgml3_ptarray(stringbuffer_t *sb, const POINTARRAY *pa, const GML_Options *opts)
int stringbuffer_aprintf(stringbuffer_t *s, const char *fmt,...)
Appends a formatted string to the current string buffer, using the format and argument list provided.
static void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
References asgml3_ptarray(), LWPOLY::flags, FLAGS_GET_Z, IS_DIMS, lwpoly_is_empty(), LWPOLY::nrings, LWPOLY::rings, stringbuffer_append(), and stringbuffer_aprintf().
Referenced by asgml3_collection(), asgml3_multi(), asgml3_multisurface(), asgml3_psurface(), and lwgeom_to_gml3().