This document provides commands for adding spatial data to MongoDB. It shows how to import a JSON file containing coordinate data into a MongoDB collection called "opencloud" using mongoimport. It then creates indexes on the "pos" field to support spatial queries, and demonstrates various spatial queries including near, within a bounding box, and geoNear queries. It also creates a new collection "clouduserloc" and inserts and updates documents with location coordinates to the new collection.