Calculates the distance in kilometers (km) between 2 sets of latitudes and longitudes. This is meant so that no additional extensions are required, and uses basic Knime nodes.
The distance is calculated using the Haversine Formula. It also assumes that the Earth radius is 6,371 km.
The resources used for the formula and Earth radius:
Earth radius: https://en.wikipedia.org/wiki/Earth_radius
Haversine forumula: https://en.wikipedia.org/wiki/Haversine_formula
Among the columns of the Input table should be 4 columns of type Double for 2 sets of latitudes and longitudes values.
The column names do not matter as the component allows you to choose which columns represents the 2 sets of latitudes and longitudes columns
Author: @bruno29a
To use this component in KNIME, download it from the below URL and open it in KNIME:
Download ComponentDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.