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 Version 2
AI-generatedOverview
This node calculates the geodistance between two locations using the 'Geodistance Version 2' operation under the 'Calculate' resource. It is useful for workflows that require distance measurement between geographic points, such as logistics, travel planning, or location-based services. For example, it can calculate the distance between Berlin and Flensburg or any other specified locations.
Use Case Examples
- Calculate the distance between two cities to estimate travel time.
- Determine the distance between a user's location and a service center for delivery optimization.
Properties
| Name | Meaning |
|---|---|
| Starting Location | The starting point for the geodistance calculation, specified as a string (e.g., city name or address). |
| Ending Location | The ending point for the geodistance calculation, specified as a string (e.g., city name or address). |
| Code Variables | Optional code variables that can be defined and passed to the code editor for the selected function, allowing dynamic input values. |
Output
JSON
distance- The calculated geodistance result 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 valid geographic locations; invalid inputs may cause errors or incorrect results.
- If the node throws an error related to API access, verify that the API key credential is correctly configured and has the necessary permissions.
- Network issues or API downtime can cause request failures; retry or check the service status if errors persist.
Links
- 0CodeKit Node Documentation - Official documentation for the 0CodeKit node, which includes details on the Calculate resource and geodistance operations.