Command: GPSDistance
- Updated2024-09-12
- 2 minute(s) read
Command: GPSDistance
Command: GPSDistance
Calculates the shortest distance and the angle from the earth’s center between two coordinates taking the ellipsoidal shape of the Earth into account.
Input Parameters
![]() |
Specifies the latitude of the first coordinate. |
![]() |
Specifies the longitude of the first coordinate. |
![]() |
Specifies the latitude of the second coordinate. |
![]() |
Specifies the longitude of the second coordinate. |
![]() |
Specifies whether DIAdem assumes that the Earth is a sphere or ellipsoid according to the 1984 World Geodetic System (WGS 84). |
![]() |
Receives the distance in m. |
![]() |
Receives the angle in degrees. |