Relate Geometries

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.

Options

relationship
The relationship to use
colname
The name of the column to create

Input Ports

Icon
Table with WKT geometries
Icon
Table with WKT geometries

Output Ports

Icon
Top table with the relationship

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.