Note the j is to prevent adding a ; if the first geometry is empty, but subsequent aren't
Definition at line 472 of file lwout_svg.c.
474 uint32_t i; uint32_t j = 0;
478 if (col->
ngeoms == 0)
return;
480 for (i = 0; i<col->
ngeoms; i++)
482 subgeom = col->
geoms[i];
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_geom(stringbuffer_t *sb, const LWGEOM *geom, int relative, int precision)
static void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
References assvg_geom(), LWCOLLECTION::geoms, lwgeom_is_empty(), LWCOLLECTION::ngeoms, precision, and stringbuffer_append().
Referenced by lwgeom_to_svg().