Hello!
Previously, I was able to collect GPS location metadata by adding to the XLS form a row: “audit” with parameters “location-priority=balanced location-min-interval=60-max-age=120”. Consequently, KoBo showed an error but the form could still be deployed to collect GPS data by populating the survey link.
Since a more recent, this is recognized as “audit” metadata question but GPS data is not collected anymore. This is a problem, because we need to collect GPS in the background as metadata (not as active question), obviously with informing respondents about this.
Can anyone help with enabling again the background GPS data collection? It is a center piece of our study.
Hi @Kal_Lam
Thanks so much for taking this on! You were right that with this parameters, KoBo is lets the survey being redeployed - thanks.
The survey still does not collect the metadata. I have attached a screenshot of the data table (zip download gives me an empty file) as well as the XLS. Any hint how to go about this?
What did you collect your data with (KoBoCollect android app or Enketo)? Try using the latest release of the KoBoCollect android app and it should work as expected.
I am administering the survey with a link (through a facebook chatbot), so I guess that means Enketo. We will not have any in-person data collectors, so I can’t really use the KoBoCollect android app. Maybe this is the issue?
Re @wroos I am not sure there was a syntax error but thanks for suggesting odk
Hello,
YOUR syntax was parameters:
“location-priority=balanced location-min-interval=60-max-age=120”.
A CORRECT syntax (see @Kal_Lam) was
location-priority=high-accuracy location-min-interval=180 location-max-age=300
That is what also was in the error hints (of preview and syntax check with XLSForms Online.
Thank you for updating this! Would you also mind letting us know the server you used at that moment so that it would be easy for us to track down the development that has undergone by now.
It would be very helpful if you could provide us with one additional information … could you share with us the syntax you used then. Maybe it would be helpful if you could share with us the xlsform with the metadata question for the GPS.
Hi,
When working off the facebook chatbox, I assume it triggers the web browser to use Enketo to collect the data. One thing you should note, is that the device may have its own settings that prevents browsers from collecting background GPS coordinates. Since this may be the case, the users may not be able to collect that information if they had this blocked.
Hi @Kal_Lam,
Thanks that your are willing to have a look! As a new user, I cannot share the XLS here but if you write me an email on marc.weilenmann@gmail.com, I will gladly send it to you! I can also share the survey project with you, if you give me your user name. If neither of the two works for you, below I copy pasted everything.
Kindly please be informed that you should now be able to share attachments within the forum. If it’s possible and you wish to share would you try sharing with me the following (through a private message) so that we could have a closer look at our end:
Username
Project name (that has audit gps data collected automatically via Enketo)
I just scanned the project that you had referred (through the private message). Did not see the metadata for GPS. Could you kindly share with me the name of the project which you were able to collect GPS data as metadata (using Enketo) so that we could refer to your project that it used to work previously and does not work at the moment.
Thank you so much for this solution! A quick question - are you able to query the metadata during data collection? For example check the accuracy during data collection?