> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso/6.0/documentation/actions/group-gps/gps-distance.md).

# GPS Distance

Gets the distance and bearing between two GPS coordinates.

Action available for the following operating systems:

<figure><img src="https://1102213384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6Wz3tBjSWbCweZ8NltT%2Fuploads%2FruABjDF2Z7iy255xGivq%2F01_Supported_OS.png?alt=media&amp;token=166f7395-72c9-406f-91f1-e41412516cba" alt="OS Supported: Android, iOS, Win, Win32"><figcaption></figcaption></figure>

### Parameters

* **Longitude 1** *\<unquoted string> -* The control or variable that represents the longitude coordinates of GPS from point 1.
* **Latitude 1** *\<unquoted string> -* The control or variable that represents the longitude coordinates of GPS from point 1.
* **Longitude 2** *\<unquoted string> -* The control or variable that represents the longitude coordinates of GPS from point 2.
* **Latitude 2** *\<unquoted string> -* The control or variable that represents the longitude coordinates of GPS from point 2.
* **Distance (m)** *\<unquoted string> -* The control or variable that saves the distance, in meters, between point 1 to point 2.
* **Bearing (º)** *\<unquoted string> -* The control or variable that saves the bearing, in degrees, between point 1 to point 2.
