-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: mongodb-3.0
-
Component/s: manual
-
Labels:
Please see:
https://github.com/mongodb/mongo/pull/588
The code uses 6378.1 km as the radius of the earth. (3963.17 in miles)
https://github.com/mongodb/mongo/blob/master/src/mongo/db/geo/geoconstants.h
Could you update the documentation to reflect this value? I've found the following instances where the inconsistent value of 6371 km (3959 miles) is referenced.
http://docs.mongodb.org/manual/reference/operator/query/centerSphere/
http://docs.mongodb.org/manual/tutorial/query-a-2d-index/
http://docs.mongodb.org/manual/tutorial/query-a-2dsphere-index/
- related to
-
SERVER-12128 Inconsistent Earth radius used in tests / documentation
- Closed
- links to