IBM Cloudant Tutorials

Using the IBM Cloudant Geospatial

This tutorial shows you how to build and query using Cloudant Geospatial from the dashboard.
If you learn better by seeing a demonstration, watch these videos first:

Provision the IBM Cloudant Service in Bluemix

If you do not already have the IBM Cloudant service provisioned in Bluemix, follow these steps to provision the service. ▼More

Replicate the Sample Database

The example database showcased in this tutorial contains crime incidents data in the Boston area. ▼More

Review the HTTP API

Before we go any futher, let's review how Cloudant's HTTP API works. Cloudant employs an HTTP API, or RESTful Web service API. The Cloudant HTTP API follows this hierarchical model. ▼More

Explore Geospatial Indexes

You create a Geo Index by saving a JavaScript function in a _design document in the database. It’s a best practice to use a separate design document for Geospatial. ▼More

Explore Query Geometries

There are several types of query geometries: rectangle, point, line, circle, and polygon. ▼More

Examine an Application That Uses Cloudant Geospatial

Next, you’ll see an example of Cloudant Geospatial in action. ▼More

Build a Location Tracker Application

As a next step, try completing the Location Tracker tutorial that shows you how to build an app that records the location and movements of mobile devices and shows it all on a map in real time. ▼More