Takes a GEOMETRY and returns a SVG representation.
560{
563
564
566 {
569 return v;
570 }
571
573
574 switch (type)
575 {
578 break;
581 break;
584 break;
587 break;
590 break;
593 break;
596 break;
599 break;
602 break;
605 break;
608 break;
611 break;
612
613 default:
615 }
616
618}
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 * lwalloc(size_t size)
#define LWSIZE_SET(varsize, len)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
static void assvg_compound(stringbuffer_t *sb, const LWCOMPOUND *icompound, int relative, int precision)
static void assvg_multipoint(stringbuffer_t *sb, const LWMPOINT *mpoint, int relative, int precision)
static void assvg_curvepoly(stringbuffer_t *sb, const LWCURVEPOLY *curvepoly, int relative, int precision)
static void assvg_multiline(stringbuffer_t *sb, const LWMLINE *mline, int relative, int precision)
static void assvg_multipolygon(stringbuffer_t *sb, const LWMPOLY *mpoly, int relative, int precision)
static void assvg_line(stringbuffer_t *sb, const LWLINE *line, int relative, int precision)
static void assvg_polygon(stringbuffer_t *sb, const LWPOLY *poly, int relative, int precision)
static void assvg_circstring(stringbuffer_t *sb, const LWCIRCSTRING *icurve, int relative, int precision)
static void assvg_multicurve(stringbuffer_t *sb, const LWMCURVE *mcurve, int relative, int precision)
static void assvg_point(stringbuffer_t *sb, const LWPOINT *point, int circle, int precision)
static void assvg_multisurface(stringbuffer_t *sb, const LWMSURFACE *msurface, int relative, int precision)
static void assvg_collection(stringbuffer_t *sb, const LWCOLLECTION *col, int relative, int precision)
lwvarlena_t * stringbuffer_getvarlena(stringbuffer_t *s)
void stringbuffer_init_varlena(stringbuffer_t *s)