1315{
1316 uint8_t *start_ptr = data_ptr;
1318 uint32_t npoints = 0;
1319
1320 assert(data_ptr);
1321
1324 circstring->
bbox = NULL;
1327
1328 data_ptr += 4;
1330 data_ptr += 4;
1331
1332 if ( npoints > 0 )
1334 else
1336
1338
1339 if ( size )
1340 *size = data_ptr - start_ptr;
1341
1342 return circstring;
1343}
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)
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...