Definition at line 548 of file lwgeom_ogc.c.
587 elog(ERROR,
"%s unsupported ring type %d", __func__,
type);
591 PG_FREE_IF_COPY(geom, 0);
char result[OUT_DOUBLE_BUFFER_SIZE]
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
int lwgeom_has_rings(const LWGEOM *geom)
Is this a type that has rings enclosing an area, but is not a collection of areas?...
void lwgeom_free(LWGEOM *geom)
LWCURVEPOLY * lwgeom_as_lwcurvepoly(const LWGEOM *lwgeom)
LWPOLY * lwgeom_as_lwpoly(const LWGEOM *lwgeom)
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
References CURVEPOLYTYPE, lwgeom_as_lwcurvepoly(), lwgeom_as_lwpoly(), lwgeom_free(), lwgeom_from_gserialized(), lwgeom_has_rings(), lwgeom_is_empty(), LWPOLY::nrings, LWCURVEPOLY::nrings, POLYGONTYPE, result, TRIANGLETYPE, LWGEOM::type, and ovdump::type.