MULTILINESTRING.
375{
376 int ngeoms, i;
379
380 LWDEBUG(2,
"Entering lwmultilinestring_from_twkb_state");
381
383 return col;
384
385
387
388 LWDEBUGF(4,
"Number of geometries %d",ngeoms);
389
390
392 {
393 for ( i = 0; i < ngeoms; i++ )
395 }
396
397 for ( i = 0; i < ngeoms; i++ )
398 {
401 {
402 lwerror(
"Unable to add geometry (%p) to collection (%p)", (
void *) geom, (
void *) col);
403 return NULL;
404 }
405 }
406
407 return col;
408}
LWGEOM * lwline_as_lwgeom(const LWLINE *obj)
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int32_t srid, char hasz, char hasm)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
#define SRID_UNKNOWN
Unknown SRID value.
#define LWDEBUG(level, msg)
#define LWDEBUGF(level, msg,...)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static LWLINE * lwline_from_twkb_state(twkb_parse_state *s)
LINESTRING.
static void twkb_parse_state_varint_skip(twkb_parse_state *s)
static uint64_t twkb_parse_state_uvarint(twkb_parse_state *s)