Definition at line 1118 of file lwout_gml.c.
1130 ptr += sprintf( ptr,
"<%sCurve", prefix );
1133 ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
1137 ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id );
1139 ptr += sprintf( ptr,
">" );
1140 ptr += sprintf( ptr,
"<%ssegments>", prefix );
1142 for( i = 0; i < col->
ngeoms; ++i )
1144 subgeom = col->
geoms[i];
1152 ptr += sprintf( ptr,
"<%sLineStringSegment><%sposList", prefix, prefix );
1155 ptr += sprintf(ptr,
" srsDimension=\"%d\"", dimension);
1157 ptr += sprintf(ptr,
">");
1159 ptr += sprintf( ptr,
"</%sposList></%sLineStringSegment>", prefix, prefix );
1163 ptr += sprintf( ptr,
"<%sArcString><%sposList" , prefix, prefix );
1166 ptr += sprintf(ptr,
" srsDimension=\"%d\"", dimension);
1168 ptr += sprintf(ptr,
">");
1170 ptr += sprintf( ptr,
"</%sposList></%sArcString>", prefix, prefix );
1174 ptr += sprintf( ptr,
"</%ssegments>", prefix );
1175 ptr += sprintf( ptr,
"</%sCurve>", prefix );
1176 return ( ptr - output );
#define FLAGS_GET_Z(flags)
static size_t pointArray_toGML3(POINTARRAY *pa, char *buf, int precision, int opts)
References CIRCSTRINGTYPE, LWCOMPOUND::flags, FLAGS_GET_Z, LWCOMPOUND::geoms, IS_DIMS, LINETYPE, LWCOMPOUND::ngeoms, ovdump::opts, pointArray_toGML3(), precision, and LWGEOM::type.
Referenced by asgml3_compound(), asgml3_curvepoly_buf(), and asgml3_multicurve_buf().