Icon

Sharing_​Component_​with_​Custom_​Python_​Packages

Sharing Component with Custom Python Packages

This worklow demonstrates the creation of Geo Distance Component that uses geopy python package for distance calculation given the GPS coordinates.

The Python Script node uses the python package geopy for distance calculation. The conda environment propagation node makes sure the python environment required for the execution of the Python Script node is made available at the user's system.

The geopy package is not included in the Bundled environment that comes with the Python Script node, which is why we create a new environment with geopy package and ship this environment using the Conda Environment Propagation node.



Read and Manipulate Location Data Compute Distances Workflow Inside of Component Geo Distance (Using GeoPy)(Displayed here for KNIME Hub Inspection) Compute Distances and Visualize Confiuration Dialog Uses GeoPy python packageto calculate distance with GPS CoordinatesDistance CalculationShow Distancein tablesRound offSelect Longitude ColumnConvert lat and longto numericalTrip DetailsLocation CoordinatesSelect Latitude ColumnPython EnvSelect TripComponent Input Geo DistanceCalculator Python Script Table View Round Double Column SelectionConfiguration Joiner String To Number Merge Variables CSV Reader CSV Reader Column SelectionConfiguration Conda EnvironmentPropagation Column SelectionConfiguration Text Output Widget Table Creator Read and Manipulate Location Data Compute Distances Workflow Inside of Component Geo Distance (Using GeoPy)(Displayed here for KNIME Hub Inspection) Compute Distances and Visualize Confiuration Dialog Uses GeoPy python packageto calculate distance with GPS CoordinatesDistance CalculationShow Distancein tablesRound offSelect Longitude ColumnConvert lat and longto numericalTrip DetailsLocation CoordinatesSelect Latitude ColumnPython EnvSelect TripComponent Input Geo DistanceCalculator Python Script Table View Round Double Column SelectionConfiguration Joiner String To Number Merge Variables CSV Reader CSV Reader Column SelectionConfiguration Conda EnvironmentPropagation Column SelectionConfiguration Text Output Widget Table Creator

Nodes

Extensions

Links