Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
We’ll use a US ZIP code database to demonstrate MongoDB’s spatial indexes. The data is available at http://mng.bz/dOpd. When you unzip the archive, you’ll get a JSON file that you can import using mongoimport, like so:
$ mongoimport -d geo -c zips zips.json