PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ wkt_parser_collection_add_geom()

LWGEOM * wkt_parser_collection_add_geom ( LWGEOM col,
LWGEOM geom 
)

Definition at line 791 of file lwin_wkt.c.

792{
793 LWDEBUG(4,"entered");
794
795 /* Toss error on null geometry input */
796 if( ! (geom && col) )
797 {
799 return NULL;
800 }
801
803}
LWCOLLECTION * lwgeom_as_lwcollection(const LWGEOM *lwgeom)
Definition lwgeom.c:215
#define PARSER_ERROR_OTHER
Definition liblwgeom.h:2092
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
LWGEOM * lwcollection_as_lwgeom(const LWCOLLECTION *obj)
Definition lwgeom.c:291
#define LWDEBUG(level, msg)
Definition lwgeom_log.h:83
#define SET_PARSER_ERROR(errno)
Definition lwin_wkt.c:52

References lwcollection_add_lwgeom(), lwcollection_as_lwgeom(), LWDEBUG, lwgeom_as_lwcollection(), PARSER_ERROR_OTHER, and SET_PARSER_ERROR.

Here is the call graph for this function: