Maptitude GISDK Help

GreatCircleMidpoint()

Summary

Finds the midpoint between two coordinates.

 

Syntax

midpt = GreatCircleMidpoint(coordinate c1, coordinate c2)

 

Argument Contents
c1 First coordinate
c2 Second coordinate

 

Returns

The coordinate that is midway between the two points along the great circle route.

 

Example

loc1 = Coord(-120000000, 45000000)

loc2 = Coord(-95000000, 37500000)

midpt = GreatCircleMidpoint (loc1, loc2)

ShowArray({midpt})

 

See Also

Function Summary
GetDistance() Computes the great circle distance between two coordinates

 

 

©2025 Caliper Corporation www.caliper.com