LINESTRING.
Definition at line 238 of file lwin_twkb.c.
References twkb_parse_state::check, twkb_parse_state::has_m, twkb_parse_state::has_z, twkb_parse_state::is_empty, LW_PARSER_CHECK_MINPOINTS, LWDEBUG, lwerror(), lwline_construct(), lwline_construct_empty(), twkb_parse_state::lwtype, lwtype_name(), POINTARRAY::npoints, ptarray_from_twkb_state(), SRID_UNKNOWN, and twkb_parse_state_uvarint().
Referenced by lwgeom_from_twkb_state(), and lwmultiline_from_twkb_state().
243 LWDEBUG(2,
"Entering lwline_from_twkb_state");
LWLINE * lwline_construct_empty(int srid, char hasz, char hasm)
#define LW_PARSER_CHECK_MINPOINTS
Parser check flags.
#define LWDEBUG(level, msg)
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.
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
LWLINE * lwline_construct(int srid, GBOX *bbox, POINTARRAY *points)
#define SRID_UNKNOWN
Unknown SRID value.
static uint64_t twkb_parse_state_uvarint(twkb_parse_state *s)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.