Definition at line 877 of file gserialized2.c.
893 memcpy(loc, &
type,
sizeof(uint32_t));
894 loc +=
sizeof(uint32_t);
897 memcpy(loc, &(poly->
nrings),
sizeof(uint32_t));
898 loc +=
sizeof(uint32_t);
901 for (i = 0; i < poly->
nrings; i++)
903 memcpy(loc, &(poly->
rings[i]->
npoints),
sizeof(uint32_t));
904 loc +=
sizeof(uint32_t);
910 memset(loc, 0,
sizeof(uint32_t));
911 loc +=
sizeof(uint32_t);
915 for (i = 0; i < poly->
nrings; i++)
921 lwerror(
"Dimensions mismatch in lwpoly");
928 return (
size_t)(loc - buf);
#define FLAGS_NDIMS(flags)
#define FLAGS_GET_ZM(flags)
#define LWDEBUGF(level, msg,...)
void lwerror(const char *fmt,...)
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(), LWDEBUGF, lwerror(), POINTARRAY::npoints, LWPOLY::nrings, POLYGONTYPE, LWPOLY::rings, and ovdump::type.
Referenced by gserialized2_from_lwgeom_any().