Definition at line 855 of file lwout_gml.c.
865 ptr += sprintf(ptr,
"<%sLineString", prefix);
869 ptr += sprintf(ptr,
"<%sCurve", prefix);
872 if (srs) ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
873 if (
id) ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id);
877 ptr += sprintf(ptr,
"/>");
880 ptr += sprintf(ptr,
">");
884 ptr += sprintf(ptr,
"<%ssegments>", prefix);
885 ptr += sprintf(ptr,
"<%sLineStringSegment>", prefix);
890 ptr += sprintf(ptr,
"<%sposList srsDimension=\"%d\">",
895 ptr += sprintf(ptr,
"<%sposList>", prefix);
900 ptr += sprintf(ptr,
"</%sposList>", prefix);
904 ptr += sprintf(ptr,
"</%sLineString>", prefix);
908 ptr += sprintf(ptr,
"</%sLineStringSegment>", prefix);
909 ptr += sprintf(ptr,
"</%ssegments>", prefix);
910 ptr += sprintf(ptr,
"</%sCurve>", prefix);
#define LW_GML_SHORTLINE
For GML3, use <LineString> rather than <Curve> for lines.
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
int lwline_is_empty(const LWLINE *line)
static size_t pointArray_toGML3(POINTARRAY *pa, char *buf, int precision, int opts)
References LWLINE::flags, FLAGS_GET_Z, IS_DIMS, LW_GML_SHORTLINE, lwline_is_empty(), ovdump::opts, pointArray_toGML3(), LWLINE::points, and precision.
Referenced by asgml3_collection_buf(), asgml3_line(), asgml3_multi_buf(), and asgml3_multicurve_buf().