PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
size_t gserialized_from_lwgeom_size | ( | const LWGEOM * | geom | ) |
Calculate required memory segment to contain a serialized form of the LWGEOM.
Primarily used internally by the serialization code. Exposed to allow the cunit tests to exercise it.
Definition at line 808 of file g_serialized.c.
References LWGEOM::bbox, LWGEOM::flags, gbox_serialized_size(), gserialized_from_any_size(), and LWDEBUGF.
Referenced by gserialized_from_lwgeom(), test_gserialized_from_lwgeom_size(), and test_gserialized_peek_gbox_p_fails_for_unsupported_cases().