...
Configuration at the app level | Configuration at form specific level |
---|---|
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:
Go to CommCareHQ and navigate to the form where GPS coordinates need to be captured
This should enable form builder
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
...
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’s metadata by default while some use cases require the GPS data to be saved to the case, such as features like case list maps and distance sorting (a preview feature).To save GPS data to a case, first ensure Auto Capture Location is enabled on CommCare HQ so that the GPS data is available to reference from the form’s metadata. This value can be saved on to a case with following steps :
Open the form in the CommCare HQ App Builder where you want to save the location.
Add a hidden value question and configure the calculation expression to "/data/meta/location
...
".
Save the hidden value question to the case
...
within the Case Management tab of the form settings.
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:
Go to CommCareHQ and navigate to the form where GPS coordinates need to be captured
This should enable form builder
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
...
To understand how to capture GPS coordinates using the GPS question, follow the steps described here
Understanding GPS Data
Deciphering GPS Data
...