Definition at line 371 of file lwout_wkb.c.
397 for ( i = 0; i < pa->
npoints; i++ )
399 LWDEBUGF(4,
"Writing point #%d", i);
401 for ( j = 0; j < dims; j++ )
403 LWDEBUGF(4,
"Writing dimension #%d (buf = %p)", j, buf);
408 LWDEBUGF(4,
"Done (buf = %p)", buf);
uint8_t * getPoint_internal(const POINTARRAY *pa, uint32_t n)
#define FLAGS_NDIMS(flags)
#define WKB_DOUBLE_SIZE
Well-Known Binary (WKB) Output Variant Types.
#define LWDEBUGF(level, msg,...)
static uint8_t * double_to_wkb_buf(const double d, uint8_t *buf, uint8_t variant)
static uint8_t * integer_to_wkb_buf(const int ival, uint8_t *buf, uint8_t variant)
static int wkb_swap_bytes(uint8_t variant)
References double_to_wkb_buf(), POINTARRAY::flags, FLAGS_NDIMS, getPoint_internal(), integer_to_wkb_buf(), LWDEBUGF, POINTARRAY::npoints, variant, WKB_DOUBLE_SIZE, WKB_EXTENDED, WKB_HEX, WKB_ISO, WKB_NO_NPOINTS, and wkb_swap_bytes().
Referenced by lwline_to_wkb_buf(), lwpoint_to_wkb_buf(), lwpoly_to_wkb_buf(), and lwtriangle_to_wkb_buf().