This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def vinc_pt(f, a, phi1, lembda1, alpha12, s ) : | |
import math | |
""" | |
Returns the lat and long of projected point and reverse azimuth | |
given a reference point and a distance and azimuth to project. | |
lats, longs and azimuths are passed in decimal degrees | |
Returns ( phi2, lambda2, alpha21 ) as a tuple | |
Parameters: | |
=========== | |
f: flattening of the ellipsoid |