How to determine if a latitude & longitude is within an ellipse

前端 未结 3 652
心在旅途
心在旅途 2021-01-21 00:37

I have data describing a rotated ellipse (the center of the ellipse in latitude longitude coordinates, the lengths of the major and minor axes in kilometers, and the angle that

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-21 01:09

    After some more research into my problem and posting in another forum I was able to figure out a solution. My ellipse is relatively small so I assumed it was a true (flat) ellipse. I was able to locate the lat lon of the foci of the ellipse then if the sum of the distances from the point of interest to each focus is less than 2a (the major axis radius), then it is within the ellipse. Thanks for the suggestions though. -Cody

提交回复
热议问题