-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 1.7.5
-
Component/s: Geo
-
None
-
Environment:Windows 7 64 bit using latest server build downloaded 2011-01-25
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
When I run this query using the C# driver:
"{ \"Location\" : { \"$within\" :
{ \"$centerSphere\" : [[-74, 40.74], 1] }} }"
I get this error:
MongoDB.DriverOnlineTests.MongoCollectionTests.TestFindWithinCircleSphericalTrue:
MongoDB.Driver.MongoQueryException : QueryFailure flag set: Spherical distance would require wrapping, which isn't implemented yet (response:
)
Here's the same error reproduced in shell:
> use onlinetests
switched to db onlinetests
> db.testcollection.find()
> db.testcollection.find({ "Location" : { "$within" :
{ "$centerSphere" : [[-74, 40.74], 1] } } })
error: {
"$err" : "Spherical distance would require wrapping, which isn't impleme
nted yet",
"code" : 13462
}
>