PostGIS  2.5.7dev-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 618 of file lwout_twkb.c.

621 {
622  return lwgeom_to_twkb_with_idlist(geom, NULL, variant, precision_xy, precision_z, precision_m, twkb_size);
623 }
static 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:571

References lwgeom_to_twkb_with_idlist(), and variant.

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

Here is the call graph for this function:
Here is the caller graph for this function: