MongoDB Geospatial

Parent: MongoDB Expert Knowledge · Published reference · snapshot 2026-09-08 · skill mongodb-expert/references/mongodb-geospatial.md

↓ Facts as markdownall context files

Use when designing or troubleshooting MongoDB geospatial queries, indexes, or data models. Covers GeoJSON storage, 2dsphere and 2d index types, proximity and containment operators ($near, $geoWithin,

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Description

1. GeoJSON Object Types

2. 2dsphere Indexes

3. 2d Indexes

4. $geoNear Aggregation Stage

5. $geoWithin

6. $geoIntersects

7. $near and $nearSphere

8. Radius Queries

9. Geospatial $lookup Patterns

References

Where this helps

Project ideas

Antipatterns

Known issues

Children

Frontier under this node: GeoJSON Object Types (3.73), Geospatial $lookup Patterns (2.70), Geospatial Anti-Patterns (3.67), Radius Unit Conversions (3.67)

← the whole tree · 3D view· how to read this page