Wrong distance calculation with MongoDB
问题 I am executing the following raw query with MongoDB: qry = {"position" : SON([("$near", [52.497309,13.39385]), ("$maxDistance", distance/111.12 )])} locations = Locations.objects(__raw__=qry) The position in the database is set to [52.473266, 13.45494] . I get a result once I set the distance to 7.3 or higher, so it seems the two locations must at least be 7.3 kilometer away from each other. When I calculate the distance of those two geo locations with Google Maps (for example going by car)