Definition at line 94 of file lwout_kml.c.
References POINTARRAY::flags, FLAGS_GET_Z, getPoint4d_p(), LW_FAILURE, LW_SUCCESS, POINTARRAY::npoints, OUT_MAX_DOUBLE, stringbuffer_append(), stringbuffer_aprintf(), and stringbuffer_trim_trailing_zeroes().
Referenced by lwline_to_kml2_sb(), lwpoint_to_kml2_sb(), and lwpoly_to_kml2_sb().
101 for ( i = 0; i < pa->
npoints; i++ )
106 for (j = 0; j < dims; j++)
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...
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
int stringbuffer_trim_trailing_zeroes(stringbuffer_t *s)
Trims zeroes off the end of the last number in the stringbuffer.
int getPoint4d_p(const POINTARRAY *pa, int n, POINT4D *point)