[DOCS-1160] GeoIntersects example is incorrect Created: 25/Feb/13 Updated: 26/Feb/13 Resolved: 26/Feb/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | mongodb-2.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Heckmann | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 10 years, 51 weeks, 2 days ago |
| 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 ] }}}} ) |
| Comments |
| Comment by auto [ 26/Feb/13 ] |
|
Author: {u'date': u'2013-02-26T01:00:26Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |