469{
471 char *ptr=output;
472
473 switch (type)
474 {
477 break;
478
481 break;
482
485 break;
486
489 break;
490
493 break;
494
497 break;
498
499 default:
500 lwerror(
"assvg_geom_buf: '%s' geometry type not supported.",
502 }
503
504 return (ptr-output);
505}
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static size_t assvg_multipoint_buf(const LWMPOINT *mpoint, char *output, int relative, int precision)
static size_t assvg_multiline_buf(const LWMLINE *mline, char *output, int relative, int precision)
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
static size_t assvg_point_buf(const LWPOINT *point, char *output, int circle, int precision)
static size_t assvg_multipolygon_buf(const LWMPOLY *mpoly, char *output, int relative, int precision)
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)