Returns the distance between two points on the surface of the central body in meters
MeasureSurfaceDistance <ScenarioPath> <StartLat> <StartLon> <EndLat> <EndLon> [<CentralBodyName>]
The MeasureSurfaceDistance command returns the distance between two points on the surface of the central body in meters. Distance is measured along a great arc path.
<StartLat> <StartLon> are the starting geodetic latitude and longitude in degrees. <EndLat> <EndLon> are the ending geodetic latitude and longitude in degrees. <CentralBodyName> is an optional parameter used to specify the central body on which the distance is measured. The default is the current scenario central body.
To measure the distance between Philadelphia and London:
MeasureSurfaceDistance * 40.0068 -75.1347 51.4879 -0.1780 Earth
5706450.538
This command belongs to the following group(s):
5.0
STK Programming Interface 11.0.1