Definition at line 357 of file lwout_wkt.c.
373 for ( i = 0; i < cpoly->
nrings; i++ )
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.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static void lwcircstring_to_wkt_sb(const LWCIRCSTRING *circ, 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 empty_to_wkt_sb(stringbuffer_t *sb)
static void lwcompound_to_wkt_sb(const LWCOMPOUND *comp, stringbuffer_t *sb, int precision, uint8_t variant)
static void lwline_to_wkt_sb(const LWLINE *line, stringbuffer_t *sb, int precision, uint8_t variant)
void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
References CIRCSTRINGTYPE, COMPOUNDTYPE, dimension_qualifiers_to_wkt_sb(), empty_to_wkt_sb(), LINETYPE, lwcircstring_to_wkt_sb(), lwcompound_to_wkt_sb(), lwerror(), lwline_to_wkt_sb(), lwtype_name(), LWCURVEPOLY::nrings, precision, LWCURVEPOLY::rings, stringbuffer_append(), LWGEOM::type, ovdump::type, variant, WKT_IS_CHILD, and WKT_NO_TYPE.
Referenced by lwgeom_to_wkt_sb(), and lwmsurface_to_wkt_sb().