Hi @martijnr , @Kal_Lam and @Xiphware ,
Thank you for taking a bit of your time for this problem !
I’ve reproduced the error and tried to take as many info as I could.
Then I’ve immediately downloaded the data from Kobo to XLS and got :
48.81420163186936 2.378957122564316 0.0 0.0;48.81329421655844 2.3803019151091576 0.0 0.0;48.812516387392996 2.378598041832447 0.0 0.0;48.8135615856475 2.377382330596447 0.0 0.0;48.81420163186936 2.378957122564316 0.0 0.0;
(with “;” at the end)
Then I went to editing mode with Enketo :
48.81420163186936 2.378957122564316 0.0 0.0;48.81329421655844 2.3803019151091576 0.0 0.0;48.812516387392996 2.378598041832447 0.0 0.0;48.8135615856475 2.377382330596447 0.0 0.0;48.81420163186936 2.378957122564316 0.0 0.0;
Then I’ve clicked on “close polygon” and got :
48.81420163186936 2.378957122564316 0 0;48.81329421655844 2.3803019151091576 0 0;48.812516387392996 2.378598041832447 0 0;48.8135615856475 2.377382330596447 0 0;48.81420163186936 2.378957122564316 0 0;48.81420163186936 2.378957122564316 0 0
(so without “;” at the end)
Finally I’ve downloaded the data again on XLS and got :
48.81420163186936 2.378957122564316 0 0;48.81329421655844 2.3803019151091576 0 0;48.812516387392996 2.378598041832447 0 0;48.8135615856475 2.377382330596447 0 0;48.81420163186936 2.378957122564316 0 0;48.81420163186936 2.378957122564316 0 0
(Still without “;” at the end)
Hope this help to understand where the problem comes from
Thanks! As @Xiphware noted out-of-thread and @fpageot observed as well, the cause is an invalid geoshape (and geotrace) value. The trailing ; is the problem.
I did look at whether Enketo can build in tolerance for such a value but have concluded it would not be a good idea. So the solution is to:
report and fix the bug in Collect. I won’t do this because I haven’t actually tried to reproduce the issue in Collect myself. So please somebody else do this
removed the trailing ‘;’ for already submitted geoshape and geotrace data. I’m hoping KoBo has some mechanism to do this.