Definition at line 1299 of file gserialized2.c.
1301 uint8_t *start_ptr = data_ptr;
1303 uint8_t *ordinate_ptr;
1304 uint32_t nrings = 0;
1318 LWDEBUGF(4,
"nrings = %d", nrings);
1321 ordinate_ptr = data_ptr;
1326 ordinate_ptr += nrings * 4;
1336 for (i = 0; i < nrings; i++)
1338 uint32_t npoints = 0;
1351 *size = ordinate_ptr - start_ptr;
static uint32_t gserialized2_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, gserialized2_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_gserialized2_buffer().