Definition at line 470 of file lwout_gml.c.
486 ptr += sprintf(ptr,
"<%s%s", prefix, gmltype);
487 if ( srs ) ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
491 ptr += sprintf(ptr,
"/>");
494 ptr += sprintf(ptr,
">");
496 for (i=0; i<col->
ngeoms; i++)
498 subgeom = col->
geoms[i];
501 ptr += sprintf(ptr,
"<%spointMember>", prefix);
503 ptr += sprintf(ptr,
"</%spointMember>", prefix);
507 ptr += sprintf(ptr,
"<%slineStringMember>", prefix);
509 ptr += sprintf(ptr,
"</%slineStringMember>", prefix);
513 ptr += sprintf(ptr,
"<%spolygonMember>", prefix);
515 ptr += sprintf(ptr,
"</%spolygonMember>", prefix);
520 ptr += sprintf(ptr,
"</%s%s>", prefix, gmltype);
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
static size_t asgml2_poly_buf(const LWPOLY *poly, const char *srs, char *output, int precision, const char *prefix)
static size_t asgml2_point_buf(const LWPOINT *point, const char *srs, char *output, int precision, const char *prefix)
static size_t asgml2_line_buf(const LWLINE *line, const char *srs, char *output, int precision, const char *prefix)
References asgml2_line_buf(), asgml2_point_buf(), asgml2_poly_buf(), LWCOLLECTION::geoms, LINETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, POINTTYPE, POLYGONTYPE, precision, LWGEOM::type, LWCOLLECTION::type, and ovdump::type.
Referenced by asgml2_collection_buf(), and asgml2_multi().