QRealTime: A QGIS plug-in for ODK

Thanks.

I am also using Enketo with my aggregate server. Can you help me to get enketo web form link by calling the aggregate API.

I would try to add this feature to my plugin soon.

Sure! You could use for example the offline-capable endpoint: https://apidocs.enketo.org/v2#/post-survey-offline. For that you'd need:

  • the Enketo API key,
  • the server_url e.g. youragg.appspot.com, (it seems that the plugin is already aware of this URL)
  • the form_id of the generated form

The API documentation will generate a snippet that will be useful for testing manually (just fill in the 3 fields in the top left). Just open an issue on https://github.com/kobotoolbox/enketo-express/issues if you have questions or post to https://groups.google.com/forum/#!forum/enketo-dev

Has anyone tried this with the new ODK-Central server? Or is the API of it too different for it to work?

Hey
I need access to ODK Central sandbox to test with my plugin.
Can anybody help ?

I have sent you an invite!

Thank you very much.
I have created an account.

I have created a branch of my code of QRealTime plugin to support ODK -Central and its working fine. You can test if you wish

2 Likes

Nothing constructive to add here at the moment other than this looks amazing.

Last night/early morning updated the plugin to support forms with any name given to the geometry field. This update also avoids 400 error in some servers. Use QGIS 3 for more recent updates

Hi everyone,
I have a question but yet no answer :slight_smile:

I already have an ODK Aggregate with an existing form.created without QRealTIme and I want to see the datas in QGIS
So, in QIS, I right click over any existing layer –> QRealTIme and choose import
A window open with the name of the form I have in my ODK Aggregate. So the link is ok, I suppose.
I click to ok and ... nothing happen :sleepy:

Any idea ?
Thank you

Hi,

Are you using QGIS 3?. Please use that.

Even after that if problem is not resolved.

Following is the way to identify the error .

View-->Panels-->Log Messages.

Please copy the content of QRealTime tab and send me back

I would try to resolve if any issue is with the plugin.

Hi,
Thank you for your quick answer.
Yes, I use QGIS 3.4.7, the last LTR
No message from QRealTime tab:
2019-05-07T15:03:37 INFO package already installed
And that's all :sweat:

Well I'm not sure that the geometry field is ‘GEOMETRY’,’location’ or ‘gps', but I hav'nt change the ODK aggregate configuration about that...

I have tried to Make Online and it work !
Do you think it could be a problem of projection (I use EPSG 3163 in QGIS) or because I'm leaving in south hemisphere ?

No, I don't think its a problem of projection. And definitely not because you are leaving in south.
And I am sure it is not because developer is from India :slight_smile:

But it is related to your form.
Did you check attribute table of your layer after import?
Geometry field naming is not important if you are using latest version of the plugin.

Finally if you send you form (either by url or xform xml file)

I would try to reproduce your scenario.

shiva_Reddy
Here is the form :
Verification_Poste_2.xml (20.5 KB)

I'm not sure I understand how to " check attribute table of your layer after import"...

And QRealTime is 3.5.2 installed today...

Thank you for your help (and happy that the problem is not also because I'm french :wink: )

I meant to say right click on the layer in layer panel and open attribute table.

Also confirm, if you are facing same problem with version 3.5.2 ?

Hi, firts of all it's a great work that you are doig here.

I have a question, it is possible to use QRealTime to work with KoboToolbox? I really try to get some data from kobotoolbox with QGIS 3 and it really don't do anything.

Any reply will be useful.

Hey,
Currently the published plugin version does not support koboToolbox, but I have created a branch of QRealTime project in github (Branch name : kobo)https://github.com/shivareddyiirs/QRealTime/tree/Kobo

You can try this and give your feedback.

Thank you, I will try and give you feedback

Hi.
It's great to use QRealTime.
I only have one problem:
when I create a questionnaire in QGIS and type in the possible answers (value map),
it's not possible to share the layer to anyone without loosing all the attributes (possible answers). Then the Geolocation is shown as result in QGIS but in every field it says NULL.
Any ideas why or any solutions?

Thank you!!