Definition at line 798 of file lwout_gml.c.
819 for (i=0; i<col->
ngeoms; i++)
821 subgeom = col->
geoms[i];
824 switch (subgeom->
type)
844 lwerror(
"asgml3_collection: unknown geometry type");
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static void asgml3_multi(stringbuffer_t *sb, const LWCOLLECTION *col, const GML_Options *opts)
static void asgml3_poly(stringbuffer_t *sb, const LWPOLY *poly, const GML_Options *opts)
static void asgml3_collection(stringbuffer_t *sb, const LWCOLLECTION *col, const GML_Options *opts)
static void asgml3_line(stringbuffer_t *sb, const LWLINE *line, const GML_Options *opts)
static void asgml3_point(stringbuffer_t *sb, const LWPOINT *point, 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_line(), asgml3_multi(), asgml3_point(), asgml3_poly(), COLLECTIONTYPE, LWCOLLECTION::geoms, LINETYPE, lwerror(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, ovdump::opts, POINTTYPE, POLYGONTYPE, GML_Options::srs, stringbuffer_append(), stringbuffer_aprintf(), and LWGEOM::type.
Referenced by lwgeom_to_gml3().