Definition at line 804 of file gserialized2.c.
814 lwerror(
"Dimensions mismatch in lwpoint");
816 LWDEBUGF(2,
"%s (%p, %p) called", __func__, point, buf);
821 memcpy(loc, &
type,
sizeof(uint32_t));
822 loc +=
sizeof(uint32_t);
824 memcpy(loc, &(point->
point->
npoints),
sizeof(uint32_t));
825 loc +=
sizeof(uint32_t);
834 return (
size_t)(loc - buf);
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
#define FLAGS_GET_ZM(flags)
#define LWDEBUGF(level, msg,...)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static size_t ptarray_point_size(const POINTARRAY *pa)
static uint8_t * getPoint_internal(const POINTARRAY *pa, uint32_t n)
References POINTARRAY::flags, LWPOINT::flags, FLAGS_GET_ZM, getPoint_internal(), LWDEBUGF, lwerror(), POINTARRAY::npoints, LWPOINT::point, POINTTYPE, ptarray_point_size(), and ovdump::type.
Referenced by gserialized2_from_lwgeom_any().