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

◆ POSTGIS2GEOS()

GEOSGeometry * POSTGIS2GEOS ( GSERIALIZED pglwgeom)

Definition at line 2686 of file postgis/lwgeom_geos.c.

2687{
2688 GEOSGeometry *ret;
2689 LWGEOM *lwgeom = lwgeom_from_gserialized(pglwgeom);
2690 if ( ! lwgeom )
2691 {
2692 lwpgerror("POSTGIS2GEOS: unable to deserialize input");
2693 return NULL;
2694 }
2695 ret = LWGEOM2GEOS(lwgeom, 0);
2696 lwgeom_free(lwgeom);
2697
2698 return ret;
2699}
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *lwgeom, uint8_t autofix)
void lwgeom_free(LWGEOM *geom)
Definition lwgeom.c:1138

References LWGEOM2GEOS(), lwgeom_free(), and lwgeom_from_gserialized().

Referenced by ARRAY2GEOS(), buffer(), contains(), containsproperly(), convexhull(), coveredby(), covers(), crosses(), disjoint(), GEOSnoop(), hausdorffdistance(), hausdorffdistancedensify(), isring(), isvaliddetail(), isvalidreason(), overlaps(), pgis_union_geometry_array(), relate_full(), relate_pattern(), ST_Equals(), ST_FrechetDistance(), ST_Intersects(), ST_MinimumClearance(), ST_MinimumClearanceLine(), ST_OrientedEnvelope(), and touches().

Here is the call graph for this function:
Here is the caller graph for this function: