Definition at line 1119 of file lwout_gml.c.
1131 ptr += sprintf( ptr,
"<%sCurve", prefix );
1134 ptr += sprintf(ptr,
" srsName=\"%s\"", srs);
1138 ptr += sprintf(ptr,
" %sid=\"%s\"", prefix,
id );
1140 ptr += sprintf( ptr,
">" );
1141 ptr += sprintf( ptr,
"<%ssegments>", prefix );
1143 for( i = 0; i < col->
ngeoms; ++i )
1145 subgeom = col->
geoms[i];
1153 ptr += sprintf( ptr,
"<%sLineStringSegment><%sposList", prefix, prefix );
1156 ptr += sprintf(ptr,
" srsDimension=\"%d\"", dimension);
1158 ptr += sprintf(ptr,
">");
1160 ptr += sprintf( ptr,
"</%sposList></%sLineStringSegment>", prefix, prefix );
1164 ptr += sprintf( ptr,
"<%sArcString><%sposList" , prefix, prefix );
1167 ptr += sprintf(ptr,
" srsDimension=\"%d\"", dimension);
1169 ptr += sprintf(ptr,
">");
1171 ptr += sprintf( ptr,
"</%sposList></%sArcString>", prefix, prefix );
1175 ptr += sprintf( ptr,
"</%ssegments>", prefix );
1176 ptr += sprintf( ptr,
"</%sCurve>", prefix );
1177 return ( ptr - output );
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
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().