Definition at line 1008 of file gserialized2.c.
1022 memcpy(loc, &
type,
sizeof(uint32_t));
1023 loc +=
sizeof(uint32_t);
1026 memcpy(loc, &coll->
ngeoms,
sizeof(uint32_t));
1027 loc +=
sizeof(uint32_t);
1030 for (i = 0; i < coll->
ngeoms; i++)
1033 lwerror(
"Dimensions mismatch in lwcollection");
1038 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().