Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
mongodb-3.0
-
2
-
Docs Sprint 17 - Ending 4/3
Description
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/
Attachments
Issue Links
- related to
-
SERVER-12128 Inconsistent Earth radius used in tests / documentation
-
- Closed
-
- links to