PostGIS 3.7.0dev-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 826 of file lwin_wkt.c.

827{
828 LWDEBUG(4,"entered");
829
830 /* Toss error on null geometry input */
831 if( ! (geom && col) )
832 {
834 return NULL;
835 }
836
838}
LWCOLLECTION * lwgeom_as_lwcollection(const LWGEOM *lwgeom)
Definition lwgeom.c:261
#define PARSER_ERROR_OTHER
Definition liblwgeom.h:2181
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:337
#define LWDEBUG(level, msg)
Definition lwgeom_log.h:101
#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: