Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
*Location*: http://docs.mongodb.org/manual/core/2dsphere/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/applications/geospatial-indexes/
*Screen Resolution*: 1366 x 768
*repo*: docs
*source*: core/2dsphere
*Location*: http://docs.mongodb.org/manual/core/2dsphere/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/applications/geospatial-indexes/ *Screen Resolution*: 1366 x 768 *repo*: docs *source*: core/2dsphere
Description
hi,
I noticed that "MongoDB allows only one geospatial index per collection", I still want to ask if there is any solution if I want to query 2 loctions in one collection, like I have start point and end point in my collection, and I want to find the ones near a specific start point as well as near a specific end point.
Any suggestion is appreciated.