PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
void errorIfGeometryCollection | ( | GSERIALIZED * | g1, |
GSERIALIZED * | g2 | ||
) |
Throws an ereport ERROR if either geometry is a COLLECTIONTYPE.
Additionally displays a HINT of the first 80 characters of the WKT representation of the problematic geometry so a user knows which parameter and which geometry is causing the problem.
Definition at line 1502 of file postgis/lwgeom_geos.c.
References COLLECTIONTYPE, gserialized_get_type(), isvalid(), lwgeom_free(), lwgeom_from_gserialized(), lwgeom_to_wkt(), lwmessage_truncate(), PG_FUNCTION_INFO_V1(), and WKT_SFSQL.
Referenced by contains(), containsproperly(), coveredby(), covers(), crosses(), disjoint(), geos_intersects(), overlaps(), relate_full(), relate_pattern(), ST_Equals(), and touches().