Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuration at the app level

Configuration at form specific level

956b5b84-285a-46b0-909a-5e7fa2c21bf3.png

f537f74a-9923-4f07-9185-7a12fd9aaec2.png

Manual GPS Capture

To enable the manual GPS capture the first step is to add a GPS question to the form. To do that follow the steps below:

  1. Go to CommCareHQ and navigate to the form where GPS coordinates need to be captured

    1. This should enable form builder

  2. In the middle section of the form builder, go to the top right corner and click Add Question, move the cursor over the Advanced submenu and select GPS

...

  1. To understand how to capture GPS coordinates using the GPS question, follow the steps described here

Saving GPS data to the case

...

Saving Automatic GPS data to case

Automatic GPS data is saved to the form by default and some use cases require the GPS data to be saved to case such as features like case list maps and distance sorting (a preview feature).To save GPS data to a case, just add first ensure Auto Capture Location is enabled on CommCare HQ. Open the form in HQ where the location is saved.

  1. Add a hidden value question and set the calculate expression to /data/meta/location.

...

  1. image-20240729-130441.pngImage Added

  2. Save the hidden value question to the case

...

  1. on the Case Management tab.

image-20240729-130923.pngImage Added

Exporting Automatically Captured GPS Data

One can use the standard Export Forms routine to export GPS data. To do so, select Show Advanced Settings in the Export Settings page and then include the Location field. To further break down the location and include latitude, longitude, altitude and accuracy in separate columns of the export, tick the Expand Checkbox Questions box.

Manual GPS Capture

To enable the manual GPS capture the first step is to add a GPS question to the form. To do that follow the steps below:

  1. Go to CommCareHQ and navigate to the form where GPS coordinates need to be captured

    1. This should enable form builder

  2. In the middle section of the form builder, go to the top right corner and click Add Question, move the cursor over the Advanced submenu and select GPS

...

  1. To understand how to capture GPS coordinates using the GPS question, follow the steps described here

Understanding GPS Data

Deciphering GPS Data

...