Definition at line 1227 of file gserialized1.c.
1229 uint8_t *start_ptr = data_ptr;
1231 uint8_t *ordinate_ptr;
1232 uint32_t nrings = 0;
1246 LWDEBUGF(4,
"nrings = %d", nrings);
1249 ordinate_ptr = data_ptr;
1254 ordinate_ptr += nrings * 4;
1264 for ( i = 0; i < nrings; i++ )
1266 uint32_t npoints = 0;
1279 *size = ordinate_ptr - start_ptr;
static uint32_t gserialized1_get_uint32_t(const uint8_t *loc)
POINTARRAY * ptarray_construct_reference_data(char hasz, char hasm, uint32_t npoints, uint8_t *ptlist)
Construct a new POINTARRAY, referencing to the data from ptlist.
#define FLAGS_GET_Z(flags)
#define FLAGS_NDIMS(flags)
#define FLAGS_GET_M(flags)
void * lwalloc(size_t size)
lwflags_t lwflags(int hasz, int hasm, int geodetic)
Construct a new flags bitmask.
#define SRID_UNKNOWN
Unknown SRID value.
#define LWDEBUGF(level, msg,...)
References LWPOLY::bbox, LWPOLY::flags, FLAGS_GET_M, FLAGS_GET_Z, FLAGS_NDIMS, gserialized1_get_uint32_t(), lwalloc(), LWDEBUGF, lwflags(), LWPOLY::maxrings, LWPOLY::nrings, POLYGONTYPE, ptarray_construct_reference_data(), LWPOLY::rings, LWPOLY::srid, SRID_UNKNOWN, and LWPOLY::type.
Referenced by lwgeom_from_gserialized1_buffer().