calculating a gps coordinate given a point, bearing and distance

前端 未结 4 392
粉色の甜心
粉色の甜心 2021-02-04 21:30

I have a problem which draws my back in some project for some time now.

I\'m basically looking to trap a polygon using x,y points drawn by some script I\'ve written. lat1

4条回答
  •  你的背包
    2021-02-04 22:04

    eumiro your code
    result is Too many values to unpack
    how fix this

    from geopy import Point
    from geopy.distance import distance, VincentyDistance
    
    # given: lat1, lon1, bearing, distMiles
    lat2, lon2 = VincentyDistance(miles=9.32057).destination(Point(52.20444, 0.3605$
    print lat2, lon2
    

提交回复
热议问题