Details
-
Task
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
-
None
Description
http://docs.mongodb.org/manual/reference/operator/nearSphere/ :
"In a 2dsphere index, a grid coordinate is interpreted as a GeoJSON point."
This is unclear. It seems to imply that a $geoNear query with a grid coordinate like [1, 2] will act the same as a $geoNear query with a GeoJSON point--that is, it will calculate $maxDistance in *meters*. This is false: $geoNear acts like other geospatial operators, interpreting $maxDistance in radians for grid coordinates and in meters for GeoJSON coordinates.
While we're here, can we standardize on either "grid coordinates" or "legacy coordinate pairs" as the term for non-GeoJSON points?