0 ×

Relate Geometries

KNIME Spatial Processing Nodes version 1.2.2.v201911131528 by EIFER (European Institute for Energy Research)

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

Best Friends (Incoming)

Best Friends (Outgoing)

Installation

To use this node in KNIME, install KNIME Spatial Processing Nodes from the following update site:

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

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.