PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ lwgeom_to_twkb()

uint8_t* lwgeom_to_twkb ( const LWGEOM geom,
uint8_t  variant,
int8_t  precision_xy,
int8_t  precision_z,
int8_t  precision_m,
size_t *  twkb_size 
)
Parameters
geominput geometry
variantwhat variations on TWKB are requested?
twkb_sizereturns the length of the output TWKB in bytes if set

Definition at line 608 of file lwout_twkb.c.

References lwgeom_to_twkb_with_idlist().

Referenced by cu_twkb(), cu_twkb_in(), and TWKBFromLWGEOM().

611 {
612  return lwgeom_to_twkb_with_idlist(geom, NULL, variant, precision_xy, precision_z, precision_m, twkb_size);
613 }
uint8_t variant
Definition: cu_in_twkb.c:26
uint8_t * lwgeom_to_twkb_with_idlist(const LWGEOM *geom, int64_t *idlist, uint8_t variant, int8_t precision_xy, int8_t precision_z, int8_t precision_m, size_t *twkb_size)
Convert LWGEOM to a char* in TWKB format.
Definition: lwout_twkb.c:560
Here is the call graph for this function:
Here is the caller graph for this function: