Takes two tables containing geometries in WKT format. These two tables should have the same count of entities. Line by line the operator will be applied and the result appended as a novel Boolean column of the first table.
- Equals: the geometries have the same type and points
- Disjoint: the geometries have no points in common
- Intersects: the geometries have at least one point in common.:
- Touches: the geometries only touch edges and do not overlap in any way:
- Crosses: the geometries do more than touch, they actually overlap edges:
- Within: one geometry is completely within another (no touching edges):
- Contains: one geometry contains another:
- Overlaps: the geometries have some points in common; but not all points in common (so if one geometry is inside the other overlaps would be false). The overlapping section must be the same kind of shape as the two geometries; so two polygons that touch on a point are not considered to be overlapping.: The definition of the overlaps relationship is a little bit different than that used in common English (normally you would assume that a geometry contained inside another geometry is "overlapping"; to test for that situation use Intersects)
The actual computation is done by the Geotools library .