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.



Annotations and comments
  • Workflow Inside of Component Geo Distance (Using GeoPy) (Displayed here for KNIME Hub Inspection)
  • Read and Manipulate Location Data
  • Compute Distances
  • Confiuration Dialog
  • Compute Distances and Visualize
  • Trip Details
  • Location Coordinates
  • Select Longitude Column
  • Select Latitude Column
  • Select Trip
  • Python Env
  • Round off
  • Convert lat and long to numerical
  • Component Input
  • Show Distance in tables

Nodes

Extensions

Links