Distance is lower or equal
What this tool does
This tool checks if the distance between two locations is within a specified limit. You provide two points on the map and a maximum distance, and the platform calculates whether the actual travel distance is less than or equal to that limit.
Common uses
- Verifying if a service area covers a specific customer location.
- Checking if two warehouses are close enough for same-day delivery.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
coordinates1 | Yes | 41.2522,-12.10 | The starting location as latitude and longitude, separated by a comma (e.g., '41.2522,-12.10'). This is required. |
coordinates2 | Yes | 41.2522,-12.50 | The destination location as latitude and longitude, separated by a comma (e.g., '41.2522,-12.50'). This is required. |
distance | Yes | 34 | The maximum distance in kilometers you want to check against (e.g., '34'). This is required. |
Output data
| Field | Description |
|---|---|
result | Returns 'true' if the distance is less than or equal to the limit, or 'false' if it is greater (e.g., true). |