0 ×

Write Geometries into Shapefile

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

Creates a shapefile in ESRI format, and stores the geometries found in the column "the_geom" expected to be in WKT format.

Only one type of geometry (point, line, polyline...) can be stored per shapefile (this is a limitation of the shapefile format). This type will be detected automatically from the content of the input table. If several types are present, the writing will fail.

Other columns are written as attributes of the features, with an automatic conversion of classical KNIME types: String, Double, Long, Integer, Boolean. Other attribute types are mapped to String attributes.

Due to limitations of the shapefile format:

  • A maximum of 255 fields (columns) can be stored; additional columns will be ignored.
  • Field names (column names) should be of max 10 characters; longer names will be truncated.
  • String values can only store 254 characters; longer ones will be truncated.
In case these limitations apply your data, warnings will be written in the console.

The actual processing is done by the wonderful geotools library.

Options

filename
File to create or erase

Input Ports

Icon
Table with a the_geom column

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.