[SERVER-12128] Inconsistent Earth radius used in tests / documentation Created: 16/Dec/13 Updated: 19/Sep/15 Resolved: 23/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.1 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Rich Parrish | Assignee: | Matt Kangas |
| Resolution: | Done | Votes: | 0 |
| Labels: | pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
MongoDB tests and documentation utilize mean Earth radius (6371km) rather than equatorial radius (6378.1km). Because Earth is not a perfect sphere, mean radius may be a more appropriate constant. The constant within MongoDB source code is 6378.1 km (equatorial). |
| Comments |
| Comment by Githook User [ 23/Mar/15 ] |
|
Author: {u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}Message: Resolves #580 |
| Comment by Greg Studer [ 28/Apr/14 ] |
|
Current indexes mean we can't change this value easily - but in the future one might see a use for spherical indexes with different radii as a parameter. |