156 for ( i = 0; i < poly->
nrings; i++ )
160 rv =
stringbuffer_aprintf(sb,
"<%sinnerBoundaryIs><%sLinearRing><%scoordinates>", prefix, prefix, prefix);
162 rv =
stringbuffer_aprintf(sb,
"<%souterBoundaryIs><%sLinearRing><%scoordinates>", prefix, prefix, prefix);
170 rv =
stringbuffer_aprintf(sb,
"</%scoordinates></%sLinearRing></%sinnerBoundaryIs>", prefix, prefix, prefix);
172 rv =
stringbuffer_aprintf(sb,
"</%scoordinates></%sLinearRing></%souterBoundaryIs>", prefix, prefix, prefix);
int stringbuffer_aprintf(stringbuffer_t *s, const char *fmt,...)
Appends a formatted string to the current string buffer, using the format and argument list provided...
static int ptarray_to_kml2_sb(const POINTARRAY *pa, int precision, stringbuffer_t *sb)