Compute the distance between two lat / long points.
Declaration
LATLNGDISTANCE(latitude1, longitude1, latitude2, longitude2, measure_string) -> distance
LATLNGDISTANCE(latitude1, longitude1, latitude2, longitude2) -> distance
Parameters
- latitude1 (type: number)
- Number represenation of the latitude for first position.
- longitude1 (type: number)
- Number representation of the longitude for the first position.
- latitude2 (type: number)
- Number representation of the latitude of the second position.
- longitude2 (type: number)
- Number representation of the longitude of the second position.
- measure_string (type: string)
- What distance we should use for the measure.
Return Values
- distance (type: number)
- Number of units of the distance between the two points.
0
0
Was this article helpful?
0 out of 0 found this helpful
Add comment
Please sign in to leave a comment.