Definition at line 326 of file lwout_gml.c.
346 for (i=0; i<col->
ngeoms; i++)
348 subgeom = col->
geoms[i];
350 switch (subgeom->
type)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
static void asgml2_point(stringbuffer_t *sb, const LWPOINT *point, const GML_Options *opts)
static void asgml2_poly(stringbuffer_t *sb, const LWPOLY *poly, const GML_Options *opts)
static void asgml2_collection(stringbuffer_t *sb, const LWCOLLECTION *col, const GML_Options *opts)
static void asgml2_line(stringbuffer_t *sb, const LWLINE *line, const GML_Options *opts)
static void asgml2_multi(stringbuffer_t *sb, const LWCOLLECTION *col, 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 asgml2_line(), asgml2_multi(), asgml2_point(), asgml2_poly(), COLLECTIONTYPE, LWCOLLECTION::geoms, LINETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, ovdump::opts, POINTTYPE, POLYGONTYPE, GML_Options::srs, stringbuffer_append(), stringbuffer_aprintf(), and LWGEOM::type.
Referenced by lwgeom_to_gml2().