PostGIS
2.5.7dev-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 1357 of file postgis/lwgeom_geos.c.
References COLLECTIONTYPE, gserialized_get_type(), lwgeom_free(), lwgeom_from_gserialized(), lwgeom_to_wkt(), lwmessage_truncate(), and WKT_SFSQL.
Referenced by contains(), containsproperly(), coveredby(), covers(), crosses(), disjoint(), overlaps(), relate_full(), relate_pattern(), ST_Equals(), and touches().