Definition at line 55 of file cu_out_twkb.c.
56{
58 size_t twkb_size;
59 uint8_t *twkb;
60 if ( ! g )
lwnotice(
"input wkt is invalid: %s", wkt);
66}
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
char * hexbytes_from_bytes(const uint8_t *bytes, size_t size)
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)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
References free(), hexbytes_from_bytes(), LW_PARSER_CHECK_NONE, lwgeom_free(), lwgeom_from_wkt(), lwgeom_to_twkb(), lwnotice(), s, and variant.
Referenced by test_twkb_out_collection(), test_twkb_out_linestring(), test_twkb_out_multipoint(), test_twkb_out_multipolygon(), test_twkb_out_point(), and test_twkb_out_polygon().