Definition at line 306 of file lwout_wkt.c.
References CIRCSTRINGTYPE, dimension_qualifiers_to_wkt_sb(), empty_to_wkt_sb(), LWCOMPOUND::geoms, LINETYPE, lwcircstring_to_wkt_sb(), lwerror(), lwline_to_wkt_sb(), lwtype_name(), LWCOMPOUND::ngeoms, stringbuffer_append(), ovdump::type, LWGEOM::type, WKT_IS_CHILD, and WKT_NO_TYPE.
Referenced by lwcurvepoly_to_wkt_sb(), lwgeom_to_wkt_sb(), and lwmcurve_to_wkt_sb().
323 for ( i = 0; i < comp->
ngeoms; i++ )
340 lwerror(
"lwcompound_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.
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)