LINESTRING.
Definition at line 238 of file lwin_twkb.c.
243 LWDEBUG(2,
"Entering lwline_from_twkb_state");
LWLINE * lwline_construct_empty(int srid, char hasz, char hasm)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
#define LW_PARSER_CHECK_MINPOINTS
Parser check flags.
#define SRID_UNKNOWN
Unknown SRID value.
LWLINE * lwline_construct(int srid, GBOX *bbox, POINTARRAY *points)
#define LWDEBUG(level, msg)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static POINTARRAY * ptarray_from_twkb_state(twkb_parse_state *s, uint32_t npoints)
POINTARRAY Read a dynamically sized point array and advance the parse state forward.
static uint64_t twkb_parse_state_uvarint(twkb_parse_state *s)
References LW_PARSER_CHECK_MINPOINTS, LWDEBUG, lwerror(), lwline_construct(), lwline_construct_empty(), lwtype_name(), POINTARRAY::npoints, ptarray_from_twkb_state(), s, SRID_UNKNOWN, and twkb_parse_state_uvarint().
Referenced by lwgeom_from_twkb_state(), and lwmultiline_from_twkb_state().