QgisODK icon indicating copy to clipboard operation
QgisODK copied to clipboard

cannot import lines and polygons

Open valery-c opened this issue 8 years ago • 2 comments

I have an issue importing lines and polygons features. The error I get in QGIS 2.18.7 is the following:

QgisODK_mod_collect.py, line 382, in guessWKTGeomType coordinatesList.append([decodeCoord[0],decodeCoord[1]]) IndexError: list index out of range

I'm importing from Google Docs and it works fine for points, but not lines or polys...

Thanks,

Val

valery-c avatar Sep 28 '17 20:09 valery-c

ODK Collect inserts semicolon ; at the end of coordinate sting for both geotrace (line) and geoshape (polygon) and this messes up the list index. I removed the semicolon manually in GoogleSheet and geoshape imported properly. Maybe the addon needs updating...?

valery-c avatar Sep 29 '17 21:09 valery-c

I would investigate issue. Could you share the table with me as test? [email protected] Thanks

enricofer avatar Jan 13 '18 09:01 enricofer