jjzjj

Vincenty

全部标签

c++ - 为什么 boost::geometry 地理 Vincenty 距离在赤道附近不准确?

我需要一个函数来计算一对WGS84之间的距离定位到高精度,我计划使用boostgeometry中的geographic函数.boostgeometryDesignRational状态:ThereistheAndoyermethod,fastandprecise,andthereistheVincentymethod,slowerandmoreprecise..但是,当使用Andoyer和Vincenty策略测试boost::geometry::distance函数时,我得到了以下结果:WGS84values(metres)Semimajoraxis:6378137.000000Flat