0 ×

Mask Raster

org.knime.geospatial version 1.0.2 by OSA

This node takes a list of raster file location in the input table and perform masking using a two stage operation where first all of the nodata pixels are set to a rank using the gdal_calc, then polygons are generated using the gdal_polygonize. The input raster files should have numeric name. This process generate output shape files in the desired location. The output table contains the generated shape file locations. It also includes rank as fieldname fieldname in the output shape file.


Output datatype. For this node it is set as "Byte" by default
Destination Directory
Location of the output folder where your polygonized shape files will be generated. It will also generate a text file "commands.txt" in this location that contains all the commands use for generating shapefiles.

Input Ports

The locations of source raster file. The table must contain a "Location" column.

Output Ports

The locations of generated shapefile. It uses "Location" as column header.


No view
No view option available for this node.

Best Friends (Incoming)


To use this node in KNIME, download the below referenced file, save it to your KNIME's plugin folder and restart KNIME.


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.