Hub
Pricing About
ComponentComponent

Nearest Warehouses (Lat, Lon)

loghub profile image
Draft Latest edits on 
Mar 31, 2025 8:28 AM
Drag & drop
Like
Use or download
This node can be used to calculate the n-nearest warehouses from a customer location.
For this node two input tables are needed. The first table should contain all warehouses addresses. The second table should contain all customer addresses. An address could be for example a customer, supplier, production plant or something else.
The warehouse assignment can be done based on parameter Street Level, if the parameter is 'on' he will assign warehouses based on the real road distance, if the parameter is 'off' he will assign warehouses based on the beeline distance.
Please specify the overall number of warehouses, distance unit, radius in which you want to find warehouse and street level option in the configuration dialogue.

In case input and output data need to be saved on the Log-hub Platform, please set save scenario flag to true, fill the workspace id for the workspace in which the scenario should be saved, and give name to the scenario. In case existing scenario should be overwritten, set the overwrite scenario flag also to true, otherwise leave to false.

To use this node you need an API Key from Log-hub Supply Chain Apps. This key you can generate with an Supply Chain Apps Pro Account. More information you can find on www.log-hub.com.

Log-hub video for API key generation:https://www.youtube.com/watch?v=FZgOn1IZ1Bk&t=255s

Component details

Input ports
  1. Type: Table
    warehouses_input
    The warehouse input needs to contain name, country, state, zip, city and street. Mandatory fields are name and country. One of the columns zip or city should be filled. Please map the fields accordingly in the configuration.
  2. Type: Table
    customers_input
    The customers input needs to contain name, country, state, zip, city and street. Mandatory fields are name and country. One of the columns zip or city should be filled. Please map the fields accordingly in the configuration.
Output ports
  1. Type: Table
    nearest_warehouses_output
    The nearest warehouse output contains all warehouse input data and their assigned customer input data and the distance between the warehouse and the customer.
  2. Type: Table
    unassigned_customers_output
    The unassigned customer output contains all the customer that could not be assigned to warehouse.

Used extensions & nodes

Created with KNIME Analytics Platform version 4.7.5
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.2

    knime
  • Go to item
    KNIME Data GenerationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME JSON-ProcessingTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.4

    knime
  • Go to item
    KNIME REST Client ExtensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Testing Framework UITrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.2

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits