Definition at line 415 of file lwout_wkb.c.
References empty_to_wkb_size(), lwgeom_is_empty(), lwgeom_wkb_needs_srid(), ptarray_to_wkb_size(), WKB_BYTE_SIZE, WKB_EXTENDED, WKB_INT_SIZE, and WKB_NO_NPOINTS.
Referenced by lwgeom_to_wkb_size().
static int lwgeom_wkb_needs_srid(const LWGEOM *geom, uint8_t variant)
static size_t ptarray_to_wkb_size(const POINTARRAY *pa, uint8_t variant)
static size_t empty_to_wkb_size(const LWGEOM *geom, uint8_t variant)
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members) ...