haversine_distance
Calculate distance between two coordinates using Haversine formula.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat1 | Yes | Latitude of point 1 | |
| lat2 | Yes | Latitude of point 2 | |
| lon1 | Yes | Longitude of point 1 | |
| lon2 | Yes | Longitude of point 2 | |
| unit | No | Unit: km or mi | km |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| point1 | Yes | ||
| point2 | Yes | ||
| distance | Yes |