1421{
1422 uint8_t *start_ptr = data_ptr;
1424 uint32_t npoints = 0;
1425
1426 assert(data_ptr);
1427
1430 circstring->
bbox = NULL;
1433
1434 data_ptr += 4;
1436 data_ptr += 4;
1437
1438 if (npoints > 0)
1440 else
1442
1444
1445 if (size)
1446 *size = data_ptr - start_ptr;
1447
1448 return circstring;
1449}
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)
void * lwalloc(size_t size)
#define FLAGS_NDIMS(flags)
#define FLAGS_GET_M(flags)
lwflags_t lwflags(int hasz, int hasm, int geodetic)
Construct a new flags bitmask.
#define SRID_UNKNOWN
Unknown SRID value.
POINTARRAY * ptarray_construct(char hasz, char hasm, uint32_t npoints)
Construct an empty pointarray, allocating storage and setting the npoints, but not filling in any inf...