0 ×

Filter WKT data using ECQL queries

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

Filters WKT (Well-known Text) geometries according to their characteristics or geometries using the Contextual Query Language Only the lines for which the expression is true will be kept.

Examples of queries:

  • Select entities whom area is smaller than 10 units: "area(the_geom) ≤ 10"
  • Select entities whom area between 10000 and 30000: "area(the_geom) BETWEEN 10000 AND 30000"
More examples can be found here: Geoserver CQG Tutorial

Note that the units used in the query depend on the Coordinate System.

The actual processing is done by the powerful geotools library.


The query in Contextual Query Language

Input Ports

Entities with spatial features

Output Ports

The filtered entities

Best Friends (Incoming)

Best Friends (Outgoing)


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


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.


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.