MongoDB’s geospatial indexing lets you use a collection as a map. It works differently than “normal” indexing, but there’s actually a nice, visual way to see what geospatial indexing does. Let’s say we have a 16×16 map; something that looks like this: All of the coordinates in our map (as described above) are somewhere betweenContinue reading “Mongo in Flatland”