shivareddyiirs / QRealTime

This is a QGIS plugin which enables automatic survey form creation from GIS layers and uploading to ODK aggregate server. User can import existing data into GIS layers or enable sync with regular interval.
http://shivareddyiirs.github.io/QRealTime
GNU General Public License v2.0
19 stars 35 forks source link

Importing data with repeat groups #52

Open walking-the-talk opened 4 years ago

walking-the-talk commented 4 years ago

I have successfully imported a form from Kobotoolbox which has geopoints, but when trying to import a second form which uses a geopoint within a Repeat Group the plugin fails to import the data.

QRT appears to be able to read the schema and create a 'flattened' table in QGIS and correctly identifies the geofield within the form - taken from the plugin log:

2020-09-14T15:03:47 INFO {'nodeset': '/data/Work/Location', 'type': 'geopoint', 'required': 'false()'}None 2020-09-14T15:03:47 INFO geometry field is =Location

However when reading the dataset the plugin fails to find the geofield and doesn't import the rows.

Kobotoolbox server cannot display geo-data that is within repeat groups, so I wonder if this is a problem for QRT as well? I don't want to post this as a bug if it is simply not supported, but it might be a feature request!

I have upgraded to the experimental plugin 3.15 on QGIS 3.14 (windows 10)

Many thanks.

shivareddyiirs commented 3 years ago

Hi @walking-the-talk can you share a sample form to recreate the bug you reported. would help me in quick debugging.