Back to Developer Roadmap

Geospatial Indexes

src/data/roadmaps/mongodb/content/[email protected]

4.0824 B
Original Source

Geospatial Indexes

Geospatial indexes in MongoDB enable efficient querying of geographic coordinate data using 2d, 2dsphere, and geoHaystack index types. They support location-based queries like finding points within a specific distance, polygon intersection, and nearest neighbor searches. These indexes work with GeoJSON objects and legacy coordinate pairs for mapping applications and location services.

Visit the following resources to learn more: