Definition at line 1432 of file g_serialized.c.
1435 uint8_t *start_ptr = data_ptr;
1447 collection->
bbox = NULL;
1449 collection->
flags = g_flags;
1452 collection->
ngeoms = ngeoms;
1462 collection->
geoms = NULL;
1469 for ( i = 0; i < ngeoms; i++ )
1481 data_ptr += subsize;
1485 *
g_size = data_ptr - start_ptr;
static uint32_t gserialized_get_uint32_t(const uint8_t *loc)
static LWGEOM * lwgeom_from_gserialized_buffer(uint8_t *data_ptr, uint8_t g_flags, size_t *g_size)
#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)
#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, genraster::g_size, LWCOLLECTION::geoms, gserialized_get_uint32_t(), lwalloc(), lwcollection_allows_subtype(), lwerror(), lwfree(), lwgeom_from_gserialized_buffer(), lwtype_name(), LWCOLLECTION::maxgeoms, LWCOLLECTION::ngeoms, LWCOLLECTION::srid, SRID_UNKNOWN, LWCOLLECTION::type, and ovdump::type.
Referenced by lwgeom_from_gserialized_buffer().