在给定纬度和经度的情况下计算地球凸包多边形面积 [英] Calculate Earth convex hull polygon area given latitude and longitude
问题描述
我搜索了有关如何计算地球多边形表面积的解释和算法.我发现此和
I have searched for explanations and algorhitms how to calculate Earth's polygon surface area. I've found this and this
Lets say I got already convex hull points
[56.992666,24.126051], [58.00282,25.930147], [58.787955,25.565078], [59.4997,24.861427], [59.463678,24.711365], [59.395767,24.599837], [56.992666,24.126051]
从第二个链接开始,第一个答案使用Python库,即使我们假设地球是球形,第二个答案的方法也无法给出精确的区域(我是对的)吗? 如果我们假设地球是球形,我可以采取什么方法来计算面积(便宜些)?
From second link the first answers uses Python library and second answer approach won't give quite precise area even if we assume that Earth is sphere (am I right)? What approaches could I take for calculating the area (less expensive) if we assume that Earth is sphere?
此外,我寻找了不同的库(geotools.org等),但是在它们有关面积计算的文档中找不到.
In addition, I have looked for different libraries (geotools.org etc) but haven't found in their documentation about area calculation.
推荐答案
The algorithm for finding the area of a polygon on a sphere can be found here:
Thread: A method to compute the area of a spherical polygon
您还可以将此NASA JPL论文用于某些算法:
You could also use this NASA JPL paper for some algorithms:
这篇关于在给定纬度和经度的情况下计算地球凸包多边形面积的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!