Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
mongodb-2.4
-
None
-
None
Description
http://docs.mongodb.org/manual/release-notes/2.4/#op._S_geoIntersects
The example is missing a field. Should probably be:
db.collection.find( { loc: { $geoIntersects: { $geometry: { "type": "Point", "coordinates": [ 40, 5 ] }}}} )