Definition at line 327 of file lwout_gml.c.
References lwline_is_empty(), pointArray_toGML2(), and LWLINE::points.
Referenced by asgml2_collection_buf(), asgml2_line(), and asgml2_multi_buf().
332 ptr += sprintf(ptr,
"<%sLineString", prefix);
333 if ( srs ) ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
337 ptr += sprintf(ptr,
"/>");
340 ptr += sprintf(ptr,
">");
342 ptr += sprintf(ptr,
"<%scoordinates>", prefix);
344 ptr += sprintf(ptr,
"</%scoordinates></%sLineString>", prefix, prefix);
int lwline_is_empty(const LWLINE *line)
static size_t pointArray_toGML2(POINTARRAY *pa, char *buf, int precision)