PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_from_gserialized()

LWGEOM * lwgeom_from_gserialized ( const GSERIALIZED g)

Allocate a new LWGEOM from a GSERIALIZED.

The resulting LWGEOM will have coordinates that are double aligned and suitable for direct reading using getPoint2d_cp

Definition at line 268 of file gserialized.c.

269{
271 return lwgeom_from_gserialized2(g);
272 else
273 return lwgeom_from_gserialized1(g);
274}
LWGEOM * lwgeom_from_gserialized1(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
LWGEOM * lwgeom_from_gserialized2(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
#define GFLAGS_GET_VERSION(gflags)
Definition gserialized.c:41
uint8_t gflags
Definition liblwgeom.h:446