Skip to content

Latest commit

 

History

History
175 lines (99 loc) · 7.63 KB

visualize.rst

File metadata and controls

175 lines (99 loc) · 7.63 KB

Visualizing Geographic Data

This guide helps the users to visualize the collected geodata uploaded on ODK Aggregate server. There are various options you can choose from, like Google Fusion Tables and Google Earth.

Tip

Prerequisites

  1. Make sure you have set up your :doc:`ODK Aggregate server <aggregate-install>`.
  2. You should know how :doc:`ODK Collect <collect-guide>` works.
  3. You should be familiar with form designers like :doc:`ODK Build <odk-build>`, :doc:`XLSForm <xlsform>` to create your location based forms and upload it to ODK Aggregate server.

Google Fusion Tables

:dfn:`Google Fusion Tables` is an experimental data visualization web application provided by Google for data management. Fusion tables can be used for visualizing dataset on a map.

Follow these steps to view your data using fusion tables:

  1. Login to your ODK Aggregate server.
  2. In the :guilabel:`Submissions` tab, under :guilabel:`Filter Submissions`, select the form you want to use.

Image showing location-based form

  1. If you are using Google Cloud Platform make sure you have enabled relevant APIs like Google Drive API, Fusion Tables API, and Google Maps Javascript API otherwise you may get RequestFailureException error.

Image showing an error message.

  1. To enable the APIs go to Google Cloud Platform and click on :guilabel:`Console` in the top right corner. Click on the three horizontal bars in the top left corner, now select :guilabel:`APIs & services` from the menu and then select :guilabel:`Library` option.

Image showing API and services option.

  1. You will be able to see the API Library page.

Image showing API Library.

  1. Search the APIs in the search bar.

Search box

  1. Click on :guilabel:`Enable`.

Image showing how to enable API.

  1. Now return to ODK Aggregate server and click on the :guilabel:`Publish` button.

Image showing Publish button.

  1. In :guilabel:`Publish to` field, choose the platform from the drop-down menu to which you want to publish your data, choose Google Fusion Tables. In the :guilabel:`Data to Publish` field, Select the option from the drop-down menu to define what you want to upload:

Choose :guilabel:`BOTH Upload Existing and Stream New Submission Data` and click on :guilabel:`Publish`.

Tip

If you choose :guilabel:`BOTH Upload Existing and Stream New Submission Data` option, you would be able to create a link between your data in Google Earth and Google Fusion Tables, for more information, refer this link.

Image showing options for publishing data.

  1. You will need to enter an email address and that email address will be granted access to the documents.

Image showing prompt for email.

  1. Check the inbox of the email address that you entered and there would be an email from odk-oauth2-publishing, click on :guilabel:`Open`.

Image showing email from odk-oauth2.

  1. After clicking on :guilabel:`Open` you would be redirected to Google Fusion tables website. Here you would be able to see your submissions.

Image showing submissions.

  1. Select :guilabel:`Map of location` and you should see your data points displayed on a Google Map.

Image showing data point.

Tip

If the points aren't displaying where you expect them to display, visit Help . You can also customize pop-up balloons in Google Fusion Tables using :guilabel:`Change info window` button under the :menuselection:`Feature map` option.

Image showing Change Info button.

Google Earth

:dfn:`Google Earth` is a virtual globe that accesses satellite and aerial imagery, and other geographic data over the internet to represent the Earth as a three-dimensional globe

Follow these steps to view your data using Google Earth:

  1. Login to your ODK Aggregate server.
  2. In the :guilabel:`Submissions` tab, under :guilabel:`Filter Submissions`, select the form you want to use and click on :guilabel:`Export`

Image showing how to export form.

  1. Choose the type as :file:`KML file` and click on :guilabel:`Export`.

Image showing how to export form.

  1. You don't need to change the default options, but you can select the :menuselection:`title` according to your choice. Click on :guilabel:`Export`
  2. You will be redirected to :guilabel:`Export Submissions` page where you can download your kml file.

Image showing how to download kml file.

  1. After downloading go to Google Earth website or you can download it from here. Wait for a while as Google Earth takes time to load.

Image showing Google Earth.

  1. Click on Image showing my places icon. and to enable KML import click on :guilabel:`Settings`.

Image showing settings option.

  1. In the Settings window, enable KML file import and click on :guilabel:`SAVE`.

Image showing how to enable KML file import.

  1. Click on :guilabel:`IMPORT KML FILE` and import the downloaded kml file.

Image showing import kml file option.

  1. Now you will be able to see your data in an organized manner on Google Earth.

Image showing the data on Google Earth.

Tip

  • On Google Earth, you can choose your map style, add additional points, lines and polygons to add more information for the enhancement of map. You can also try out this tutorial on how to annotate Google Earth.