Definition at line 1345 of file gserialized1.c.
1348 uint8_t *start_ptr = data_ptr;
1350 uint32_t ngeoms = 0;
1360 collection->
bbox = NULL;
1365 collection->
ngeoms = ngeoms;
1375 collection->
geoms = NULL;
1382 for ( i = 0; i < ngeoms; i++ )
1394 data_ptr += subsize;
1398 *size = data_ptr - start_ptr;
static LWGEOM * lwgeom_from_gserialized1_buffer(uint8_t *data_ptr, lwflags_t lwflags, size_t *size)
static uint32_t gserialized1_get_uint32_t(const uint8_t *loc)
#define FLAGS_SET_BBOX(flags, value)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
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.
int lwcollection_allows_subtype(int collectiontype, int subtype)
Check if subtype is allowed in collectiontype.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
References LWCOLLECTION::bbox, LWCOLLECTION::flags, FLAGS_SET_BBOX, LWCOLLECTION::geoms, gserialized1_get_uint32_t(), lwalloc(), lwcollection_allows_subtype(), lwerror(), lwflags(), lwfree(), lwgeom_from_gserialized1_buffer(), lwtype_name(), LWCOLLECTION::maxgeoms, LWCOLLECTION::ngeoms, LWCOLLECTION::srid, SRID_UNKNOWN, LWCOLLECTION::type, and ovdump::type.
Referenced by lwgeom_from_gserialized1_buffer().