Distance is lower or equal
What this tool does
This tool checks whether the distance between two specific locations is less than or equal to a set limit. It helps you verify if two places are close enough for your needs. It is useful for checking proximity in logistics, delivery planning, or local services.
When to use it
- Verifying if a customer address is within a delivery zone.
- Checking if a service point is nearby a customer.
- Planning local distribution routes.
- Confirming proximity for on-site service eligibility.
What to expect
A simple yes or no answer based on your input. It tells you if the measured distance meets your criteria.
Limitations
- The system uses a direct distance calculation between the given points.
- It does not account for road routes or traffic conditions.
- Accuracy depends on the precision of the location coordinates provided.
When it fails
- The coordinates are not in the correct format.
- The distance value is not a number.
Good to know
- Coordinates should be entered as latitude and longitude separated by a comma.
- Distance is measured in kilometers.
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). |