Calculates the distance between two points on the globe, in kilometers Category:Documentation Index
Fetch the complete documentation index at: https://docs.anlytic.com/llms.txt
Use this file to discover all available pages before exploring further.
math
Syntax:
Float
Context Filtering: ✓ Yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
lat1 | number or column | ✓ Yes | The latitude of the first point |
lon1 | number or column | ✓ Yes | The longitude of the first point |
lat2 | number or column | ✓ Yes | The latitude of the second point |
lon2 | number or column | ✓ Yes | The longitude of the second point |
lat1: INT, FLOAT, DECIMAL
Allowed Column Types for lon1: INT, FLOAT, DECIMAL
Allowed Column Types for lat2: INT, FLOAT, DECIMAL
Allowed Column Types for lon2: INT, FLOAT, DECIMAL
Validation
- Minimum parameters: 4
- Maximum parameters: 4
Examples
3944.0