Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
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