Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /

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:

  • Query for Locations Bound by a Polygon

  • Query for Locations Near a Point on a Sphere

  • Query for Locations that Intersect a GeoJSON Object

  • Query for Locations within a Circle on a Sphere

Back

Create