getodk / aggregate

ODK Aggregate is a Java server that stores, analyzes, and presents survey data collected using ODK Collect. Contribute and make the world a better place! ✨🗄✨
https://docs.opendatakit.org/aggregate-intro/
Other
74 stars 227 forks source link

Geotrace and Geoshape points are lost because of the maximum number of characters is 255 #471

Closed mmarciniak90 closed 5 years ago

mmarciniak90 commented 5 years ago

Software and hardware versions

Aggregate v1.20, v1.17

Problem description

Geotrace and Geoshape points are lost because of the maximum number of characters is 255

Steps to reproduce the problem

  1. The user fills the form on Collect Geo.xml.txt
  2. The user adds ~10 points to Geotrace and Geoshape (number of points depends on device accuracy)
  3. The user sends the submission to Aggregate
  4. Not all point are visible in Aggregate Screenshot from 2019-06-05 10-47-04

Expected behavior

Data loss does not occur

Other information

Problem reported on forum : https://forum.opendatakit.org/t/number-of-points-i-can-collect-when-using-geotrace-function/20244

ggalmazor commented 5 years ago

Hi, @mmarciniak90!

The attached form doesn't define odk:length attributes in the geo field bindings as instructed in https://docs.opendatakit.org/aggregate-field-length/

I've added a comment in the forum post to let the user know about this.