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 2d Index

2d indexes let you query and perform calculations on location data on a flat surface. For examples of queries using 2d indexes, see:

  • Query for Locations Near a Point on a Flat Surface

  • Query for Locations within a Shape on a Flat Surface

Back

Location Range