Definition at line 1790 of file lwout_gml.c.
References asgml3_circstring_buf(), asgml3_compound_buf(), asgml3_line_buf(), CIRCSTRINGTYPE, COMPOUNDTYPE, LWMCURVE::geoms, LINETYPE, LWMCURVE::ngeoms, and LWGEOM::type.
Referenced by asgml3_multicurve().
1796 ptr += sprintf(ptr,
"<%sMultiCurve", prefix );
1799 ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
1803 ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id );
1805 ptr += sprintf( ptr,
">");
1807 for( i = 0; i < cur->
ngeoms; ++i )
1809 ptr += sprintf(ptr,
"<%scurveMember>", prefix );
1810 subgeom = cur->
geoms[i];
1823 ptr += sprintf(ptr,
"</%scurveMember>", prefix );
1825 ptr += sprintf(ptr,
"</%sMultiCurve>", prefix );
1826 return (ptr - output);
static size_t asgml3_compound_buf(const LWCOMPOUND *col, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
static size_t asgml3_circstring_buf(const LWCIRCSTRING *circ, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)
static size_t asgml3_line_buf(const LWLINE *line, const char *srs, char *output, int precision, int opts, const char *prefix, const char *id)