Distance
distanceGreat-circle (haversine) distance between two lat/lon points. Returns the distance in km, miles, nautical miles, meters & feet, plus the initial compass bearing from point 1 to point 2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat1 | Yes | Latitude of point 1 (decimal degrees). | |
| lat2 | Yes | Latitude of point 2. | |
| lon1 | Yes | Longitude of point 1. | |
| lon2 | Yes | Longitude of point 2. |