code: function(docName, indexName, query, callback) {
        var path = encodeURIComponent(db) + '/_design/' +
                   encodeURIComponent(docName) + '/_geo/' +
                   encodeURIComponent(indexName);
        return nano.request({path: path, qs: query}, callback);
      }
docs: https://console.bluemix.net/docs/services/Cloudant/api/cloudant-geo.html#cloudant-geospatial