1843{
1844 char* ptr = output;
1845 uint32_t i;
1847
1848 ptr += sprintf( ptr, "<%sMultiSurface", prefix );
1849 if (srs)
1850 {
1851 ptr += sprintf(ptr, " srsName=\"%s\"", srs);
1852 }
1853 if (id)
1854 {
1855 ptr += sprintf(ptr, " %sid=\"%s\"", prefix, id );
1856 }
1857 ptr += sprintf( ptr, ">" );
1858
1859 for( i = 0; i < sur->
ngeoms; ++i )
1860 {
1861 subgeom = sur->
geoms[i];
1863 {
1865 }
1867 {
1869 }
1870 }
1871 ptr += sprintf( ptr, "</%sMultiSurface>", prefix );
1872 return ptr - output;
1873}
static size_t asgml3_curvepoly_buf(const LWCURVEPOLY *poly, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
static size_t asgml3_poly_buf(const LWPOLY *poly, const char *srs, char *output, int precision, int opts, int is_patch, const char *prefix, const char *id)