Check if Geographic $1.00 / 1,000 calls

Distance is lower

What this tool does

This tool checks if the actual distance in kilometers between two points on Earth is shorter than a specific reference value.

The distance is calculated using the provided coordinates (latitude and longitude). The result is a simple yes or no based on whether the calculated distance is less than the limit you set.

Common uses

  • Checking if two locations are within a certain radius of each other.
  • Validating geographic data to ensure distances do not exceed expected limits.

Input data

Parameter Required Example Description
coordinates1 Yes 41.2522,-12.10 Enter the first location as latitude and longitude separated by a comma, for example '41.2522,-12.10'.
coordinates2 Yes 41.2522,-12.50 Enter the second location as latitude and longitude separated by a comma, for example '41.2522,-12.50'.
distance Yes 50 Enter the maximum distance in kilometers as a number, for example '50'.

Output data

Field Description
result Returns a yes/no indicator. 'True' means the distance between the two coordinates is shorter than the reference distance you provided; 'False' means it is not shorter.