Created
January 7, 2021 00:25
-
-
Save kbrandwijk/81978eb6d9621d11b1a12a6aa9679251 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import pyproj | |
from math import sqrt | |
lon = -108.334368 | |
lat = 39.126934 | |
size = 2000 | |
endlon, endlat, _ = pyproj.Geod(ellps='WGS84').fwd(lon, lat, 135, sqrt(size**2 + size**2)) | |
print (f'{endlon:.6f}, {endlat:.6f}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment