Definition at line 1226 of file gserialized1.c.
1228 uint8_t *start_ptr = data_ptr;
1230 uint8_t *ordinate_ptr;
1231 uint32_t nrings = 0;
1245 LWDEBUGF(4,
"nrings = %d", nrings);
1248 ordinate_ptr = data_ptr;
1253 ordinate_ptr += nrings * 4;
1263 for ( i = 0; i < nrings; i++ )
1265 uint32_t npoints = 0;
1278 *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().