Definition at line 878 of file gserialized2.c.
894 memcpy(loc, &
type,
sizeof(uint32_t));
895 loc +=
sizeof(uint32_t);
898 memcpy(loc, &(poly->
nrings),
sizeof(uint32_t));
899 loc +=
sizeof(uint32_t);
902 for (i = 0; i < poly->
nrings; i++)
904 memcpy(loc, &(poly->
rings[i]->
npoints),
sizeof(uint32_t));
905 loc +=
sizeof(uint32_t);
911 memset(loc, 0,
sizeof(uint32_t));
912 loc +=
sizeof(uint32_t);
916 for (i = 0; i < poly->
nrings; i++)
922 lwerror(
"Dimensions mismatch in lwpoly");
924 pasize = (size_t)pa->
npoints * ptsize;
929 return (
size_t)(loc - buf);
#define FLAGS_NDIMS(flags)
#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 uint8_t * getPoint_internal(const POINTARRAY *pa, uint32_t n)
References POINTARRAY::flags, LWPOLY::flags, FLAGS_GET_ZM, FLAGS_NDIMS, getPoint_internal(), if(), LWDEBUGF, lwerror(), POINTARRAY::npoints, LWPOLY::nrings, POLYGONTYPE, LWPOLY::rings, and ovdump::type.
Referenced by gserialized2_from_lwgeom_any().