Definition at line 1838 of file lwout_gml.c.
References asgml3_curvepoly_size(), asgml3_poly_size(), CURVEPOLYTYPE, LWMSURFACE::geoms, LWMSURFACE::ngeoms, POLYGONTYPE, and LWGEOM::type.
Referenced by asgml3_multisurface().
1840 size_t prefixlen = strlen(prefix);
1841 size_t size =
sizeof(
"<MultiSurface></MultiSurface>" ) + 2 * prefixlen;
1842 if (srs) size += strlen(srs) +
sizeof(
" srsName=..");
1843 if (
id) size += strlen(
id) + strlen(prefix) +
sizeof(
" id=..");
1847 for( i = 0; i < sur->
ngeoms; ++i )
1849 subgeom = sur->
geoms[i];
static size_t asgml3_poly_size(const LWPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)
static size_t asgml3_curvepoly_size(const LWCURVEPOLY *poly, const char *srs, int precision, int opts, const char *prefix, const char *id)