Definition at line 798 of file lwout_gml.c.
799{
800 uint32_t i;
802
803
806
807
811
813 {
815 return;
816 }
818
819 for (i=0; i<col->
ngeoms; i++)
820 {
821 subgeom = col->
geoms[i];
823
824 switch (subgeom->
type)
825 {
828 break;
831 break;
834 break;
839 break;
842 break;
843 default:
844 lwerror(
"asgml3_collection: unknown geometry type");
845 }
847 }
848
849
851}
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
void void lwerror(const char *fmt,...) __attribute__((format(printf
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_collection(), asgml3_line(), asgml3_multi(), asgml3_point(), asgml3_poly(), COLLECTIONTYPE, LWCOLLECTION::geoms, LINETYPE, lwerror(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, POINTTYPE, POLYGONTYPE, GML_Options::srs, stringbuffer_append(), stringbuffer_aprintf(), and LWGEOM::type.
Referenced by asgml3_collection(), and lwgeom_to_gml3().