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