Definition at line 818 of file gserialized1.c.
834 memcpy(loc, &
type,
sizeof(uint32_t));
835 loc +=
sizeof(uint32_t);
838 memcpy(loc, &(poly->
nrings),
sizeof(uint32_t));
839 loc +=
sizeof(uint32_t);
842 for ( i = 0; i < poly->
nrings; i++ )
844 memcpy(loc, &(poly->
rings[i]->
npoints),
sizeof(uint32_t));
845 loc +=
sizeof(uint32_t);
851 memset(loc, 0,
sizeof(uint32_t));
852 loc +=
sizeof(uint32_t);
856 for ( i = 0; i < poly->
nrings; i++ )
862 lwerror(
"Dimensions mismatch in lwpoly");
869 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 gserialized1_from_lwgeom_any().