-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Here's an example of a function I wrote using Pygeodesy. Given two lat/longs and a bearing direction from each, I find the intersection point.
def intersection_point(lat_long_1, bearing_1, lat_long_2, bearing_2):
vector1 = pygeodesy.sphericalNvector.LatLon(*lat_long_1)
vector2 = pygeodesy.sphericalNvector.LatLon(*lat_long_2)
return vector1.intersection(bearing_1, vector2, bearing_2)The docstring for this function says bearing is measured relative to "North". Is it safe to say this is true north, not magnetic north?
Also, can I expect this function to be accurate in-real life? I just don't really understand all the jargon in the READMe. For my use case, I would walk onto a large field, get a GPS location and a bearing, walk 30 meters to another point and bearing, and then the intersection of the two lines would have a location. Would the result of my function be that location?
Metadata
Metadata
Assignees
Labels
No labels