PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwgeom_to_hexwkb()

char* lwgeom_to_hexwkb ( const LWGEOM geom,
uint8_t  variant,
size_t *  size_out 
)
Parameters
lwgeomgeometry to convert to HEXWKB
variantoutput format to use (WKB_ISO, WKB_SFSQL, WKB_EXTENDED, WKB_NDR, WKB_XDR)

Definition at line 848 of file lwout_wkb.c.

849 {
850  return (char*)lwgeom_to_wkb(geom, variant | WKB_HEX, size_out);
851 }
static uint8_t variant
Definition: cu_in_twkb.c:26
#define WKB_HEX
Definition: liblwgeom.h:2071
uint8_t * lwgeom_to_wkb(const LWGEOM *geom, uint8_t variant, size_t *size_out)
Convert LWGEOM to a char* in WKB format.
Definition: lwout_wkb.c:764

References lwgeom_to_wkb(), variant, and WKB_HEX.

Referenced by GenerateLineStringGeometry(), GeneratePointGeometry(), GeneratePolygonGeometry(), geography_out(), isvaliddetail(), LWGEOM_asHEXEWKB(), LWGEOM_dump(), LWGEOM_dump_rings(), LWGEOM_out(), LWGEOM_to_text(), and polyhedralsurface_parse().

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