Definition at line 817 of file gserialized1.c.
833 memcpy(loc, &
type,
sizeof(uint32_t));
834 loc +=
sizeof(uint32_t);
837 memcpy(loc, &(poly->
nrings),
sizeof(uint32_t));
838 loc +=
sizeof(uint32_t);
841 for ( i = 0; i < poly->
nrings; i++ )
843 memcpy(loc, &(poly->
rings[i]->
npoints),
sizeof(uint32_t));
844 loc +=
sizeof(uint32_t);
850 memset(loc, 0,
sizeof(uint32_t));
851 loc +=
sizeof(uint32_t);
855 for ( i = 0; i < poly->
nrings; i++ )
861 lwerror(
"Dimensions mismatch in lwpoly");
868 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().