Definition at line 447 of file lwout_wkt.c.
References CURVEPOLYTYPE, dimension_qualifiers_to_wkt_sb(), empty_to_wkt_sb(), LWMSURFACE::geoms, lwcurvepoly_to_wkt_sb(), lwerror(), lwpoly_to_wkt_sb(), lwtype_name(), LWMSURFACE::ngeoms, POLYGONTYPE, stringbuffer_append(), ovdump::type, LWGEOM::type, WKT_IS_CHILD, and WKT_NO_TYPE.
Referenced by lwgeom_to_wkt_sb().
463 for ( i = 0; i < msurf->
ngeoms; i++ )
479 lwerror(
"lwmsurface_to_wkt_sb: Unknown type received %d - %s", type,
lwtype_name(type));
static void lwcurvepoly_to_wkt_sb(const LWCURVEPOLY *cpoly, stringbuffer_t *sb, int precision, uint8_t variant)
static void dimension_qualifiers_to_wkt_sb(const LWGEOM *geom, stringbuffer_t *sb, uint8_t variant)
static void lwpoly_to_wkt_sb(const LWPOLY *poly, stringbuffer_t *sb, int precision, uint8_t variant)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
#define WKT_NO_TYPE
Well-Known Text (WKT) Output Variant Types.
static void empty_to_wkt_sb(stringbuffer_t *sb)
void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.