ST_Overlaps
Determine whether two geometries overlap, that is, whether their DE-9IM intersection matrix is T*T***T**
, or, for two lines,
1*T***T**
.
All coordinate systems are treated as being Cartesian.
Syntax
ST_Overlaps(geo1, geo2);
- geo1
- The first input geometry.
Type: VARCHAR(ANY)
- geo2
- The second input geometry.
Type: VARCHAR(ANY)
Returns
A value of type BOOL that is TRUE if the two geometries overlap; otherwise FALSE.
Examples
SELECT inza..ST_Overlaps(inza..ST_WKTToSQL('LINESTRING (0 0, 10 10)'),
inza..ST_WKTToSQL('LINESTRING (5 5, 11 11)'));
ST_OVERLAPS
-------------
t