Definition at line 1006 of file gserialized2.c.
1020 memcpy(loc, &
type,
sizeof(uint32_t));
1021 loc +=
sizeof(uint32_t);
1024 memcpy(loc, &coll->
ngeoms,
sizeof(uint32_t));
1025 loc +=
sizeof(uint32_t);
1028 for (i = 0; i < coll->
ngeoms; i++)
1031 lwerror(
"Dimensions mismatch in lwcollection");
1036 return (
size_t)(loc - buf);
static size_t gserialized2_from_lwgeom_any(const LWGEOM *geom, uint8_t *buf)
#define FLAGS_GET_ZM(flags)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
References LWGEOM::flags, LWCOLLECTION::flags, FLAGS_GET_ZM, LWCOLLECTION::geoms, gserialized2_from_lwgeom_any(), lwerror(), LWCOLLECTION::ngeoms, LWCOLLECTION::type, and ovdump::type.
Referenced by gserialized2_from_lwgeom_any().