-
Type: Task
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
-
Environment:Mongo Shell 2.6 Mac OS X 10.9
*Location*: http://docs.mongodb.org/manual/tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1440 x 900
*repo*: docs
*source*: tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes
Mongo Shell 2.6 Mac OS X 10.9 *Location*: http://docs.mongodb.org/manual/tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1440 x 900 *repo*: docs *source*: tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes
The distance multiplier seems to be incorrectly documented (at least in the example). To get results in miles I had to use .000252323 as the distance multiplier which is (1/radius of earth in miles), as against the documented 3959 (actual radius of earth in miles = 3963.1676)
https://www.google.com/search?q=radius+of+earth+in+miles&oq=radius+of+earth+in+miles