Definition at line 827 of file lwout_gml.c.
828{
829 int size;
830 size_t prefixlen = strlen(prefix);
831
834 {
835 size += (
836 sizeof("<LineString><posList>/") +
837 ( prefixlen * 2 )
838 ) * 2;
839 }
840 else
841 {
842 size += (
843 sizeof("<Curve><segments><LineStringSegment><posList>/") +
844 ( prefixlen * 4 )
845 ) * 2;
846 }
847 if (srs) size += strlen(srs) + sizeof(" srsName=..");
848 if (id) size += strlen(id) + strlen(prefix) + sizeof(" id=..");
849 if (
IS_DIMS(opts)) size +=
sizeof(
" srsDimension='x'");
850 return size;
851}
#define LW_GML_SHORTLINE
For GML3, use <LineString> rather than <Curve> for lines.
static size_t pointArray_GMLsize(POINTARRAY *pa, int precision)
References IS_DIMS, LW_GML_SHORTLINE, pointArray_GMLsize(), LWLINE::points, and precision.
Referenced by asgml3_collection_size(), asgml3_line(), asgml3_multi_size(), and asgml3_multicurve_size().