The first command returns a document which is outside of the given circle. Decreasing the radius doesn't help.
> db.aggregates.find({position:{$within:{$center:[[46.16760025, 8.79330351666667],0.00001]}}})
The geoNear command returns the same object but calculates a distance which is higher than the radius used in the above command.
> db.runCommand(
);
{
"ns" : "myway.aggregates",
"near" : "1100100000010100101100100010000011010000101110010100",
"results" : [
{
"dis" : 0.0064640792077458676,
"obj" :
}
],
"stats" :
,
"ok" : 1
}
>