Definition at line 399 of file lwout_wkt.c.
References CIRCSTRINGTYPE, COMPOUNDTYPE, dimension_qualifiers_to_wkt_sb(), empty_to_wkt_sb(), LWMCURVE::geoms, LINETYPE, lwcircstring_to_wkt_sb(), lwcompound_to_wkt_sb(), lwerror(), lwline_to_wkt_sb(), lwtype_name(), LWMCURVE::ngeoms, stringbuffer_append(), ovdump::type, LWGEOM::type, WKT_IS_CHILD, and WKT_NO_TYPE.
Referenced by lwgeom_to_wkt_sb().
415 for ( i = 0; i < mcurv->
ngeoms; i++ )
435 lwerror(
"lwmcurve_to_wkt_sb: Unknown type received %d - %s", type,
lwtype_name(type));
static void dimension_qualifiers_to_wkt_sb(const LWGEOM *geom, stringbuffer_t *sb, uint8_t variant)
static void lwcircstring_to_wkt_sb(const LWCIRCSTRING *circ, 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.
static void lwcompound_to_wkt_sb(const LWCOMPOUND *comp, stringbuffer_t *sb, int precision, uint8_t variant)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static void lwline_to_wkt_sb(const LWLINE *line, stringbuffer_t *sb, int precision, uint8_t variant)