You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
Query a 2dsphere Index
2dsphere indexes let you query and perform calculations on location data on a sphere. For examples of queries using 2dsphere indexes, see: