Definition at line 875 of file gserialized2.c.
891 memcpy(loc, &
type,
sizeof(uint32_t));
892 loc +=
sizeof(uint32_t);
895 memcpy(loc, &(poly->
nrings),
sizeof(uint32_t));
896 loc +=
sizeof(uint32_t);
899 for (i = 0; i < poly->
nrings; i++)
901 memcpy(loc, &(poly->
rings[i]->
npoints),
sizeof(uint32_t));
902 loc +=
sizeof(uint32_t);
908 memset(loc, 0,
sizeof(uint32_t));
909 loc +=
sizeof(uint32_t);
913 for (i = 0; i < poly->
nrings; i++)
919 lwerror(
"Dimensions mismatch in lwpoly");
926 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().