-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: mongodb-2.4
-
Component/s: None
-
Labels:None
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 ] }}}} )