Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Calculate → Geodistance
AI-generatedOverview
This node calculates the geographical distance between two locations specified by the user. It is useful in scenarios where you need to determine the distance between two points, such as in logistics, travel planning, or location-based services. For example, you can input a starting city and an ending city to get the distance between them.
Use Case Examples
- Calculate the distance between Berlin and Flensburg to estimate travel time.
- Determine the distance between a user's current location and a destination for delivery services.
Properties
| Name | Meaning |
|---|---|
| Starting Location | The starting point for the distance calculation, specified as a string (e.g., city name or address). |
| Ending Location | The ending point for the distance calculation, specified as a string (e.g., city name or address). |
| Code Variables | Optional code variables that can be used within the node's code editor for advanced customization. Users can specify variable names or IDs and their corresponding values. |
Output
JSON
distance- The calculated geographical distance between the starting and ending locations.
Dependencies
- Requires an API key credential for the CodeKit API to perform the calculation.
Troubleshooting
- Ensure that both Starting Location and Ending Location are provided and correctly formatted as strings.
- If the node fails, check that the API key credential is valid and has the necessary permissions.
- Common errors may include invalid location names or network issues; verify the input data and network connectivity.
Links
- 0CodeKit Node Documentation - Official documentation for the 0CodeKit node, which includes the Calculate resource and Geodistance operation.