Docs Home → MongoDB Manual
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