Euclidean Distance

This node will calculate the Euclidean distance in the selected unit between each origin and destination pair.

The node is based on the GeoPandas project and uses the following related information and function:

Options

Origin geometry column

Select the geometry column from the origin table to calculate.

Origin ID column

Select the column which contains for each origin a unique ID. The selected column will be returned in the result table and can be used to link back to the original data.

Destination geometry column

Select the geometry column from the destination table to calculate.

Destination ID column

Select the column which contains for each destination a unique ID. The selected column will be returned in the result table and can be used to link back to the original data.

Distance unit

Choose the distance unit to use.

Available options:

  • Use unit from input CRS: Do not re-project but use the unit of the input CRS.
  • Meter: Use the default projection with meter as unit. The projection is the UTM CRS for the UTM zone in which the centroid of the input geometries lies. This projection works well for most latitudes but may not work for some extreme northern locations like Svalbard or far northern Norway in which case you might want to use your own projection prior using this node.
  • Kilometer: Use the default projection with kilometer as unit. The projection is the UTM CRS for the UTM zone in which the centroid of the input geometries lies. This projection works well for most latitudes but may not work for some extreme northern locations like Svalbard or far northern Norway in which case you might want to use your own projection prior using this node.
  • Miles: Use the default projection with miles as unit. The projection is the UTM CRS for the UTM zone in which the centroid of the input geometries lies. This projection works well for most latitudes but may not work for some extreme northern locations like Svalbard or far northern Norway in which case you might want to use your own projection prior using this node.
  • Degree: Use the epsg:4326 with degree as unit.

Input Ports

Icon

Origin table with geometry column.

Icon

Destination table with geometry column.

Output Ports

Icon

Euclidean distance between all origin and destination geometry objects.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

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.