Geoshape (polygon) and geoline widget: request for comments & collaboration

Trung, any update on the coding for these geo-widgets in ODK Collect and Formhub?

··· On Wednesday, June 11, 2014 2:54:43 AM UTC-4, Trung Dang Le wrote: > Hi All, > We have updated and tested the next version of ODK collect that has widgets for geoline and geoshape. The new version can be download here: https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk > (again, a form to test can be downloaded here: https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml) > > > We hope the version is good enough. And we're ready to share the code so that the CORE team can incorporate into the next release. > > > Cheers, > Trung. > > > On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote: > Hi, Trung. > > > I'm looking forward to get this feature in the next version of ODK Collect. Will you contribute this feature? > > > Regards > > On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote: > Dear Yaw, > Many thanks for your useful comments. Our team is working on them. > And the next version will also include map-based inputs. > > > > On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:Trung, > > > > I tried it a bit and the functionality is there. Thanks for building it! > > > > Icons weren't intuitive to me. X is for removing the last point, but > > it could also be cancel and close window. Save saves the current point > > but it could also be save the form. Maybe a place mark with a plus for > > add and a minus to remove. Maybe use text labels so it's clear (and > > localizable). Also maybe move the buttons down so they don't cover up > > the gray bar at top. > > > > Do you have a plan for supporting map based input? That is, users will > > probably want to select a place on the map and add a pin there. > > > > Yaw > > -- > > Need ODK services? http://nafundi.com provides form design, server > > setup, professional support, and software development for ODK. > > > > On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le wrote: > > > Anyone has tested the Collect version with geoshape and geoline yet? > > > > > > > > > On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote: > > >> > > >> That's great to hear Trung. > > >> > > >> The feature has now officially launched in Enketo too: > > >> http://blog.enketo.org/geo/ > > >> > > >> On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote: > > >> > > >> Hi all, > > >> I'm happy to announce that folks at RT Lab (RTA) has built a version of > > >> ODK collect that is able to capture geoline and geoshape. We have tested and > > >> everything seems fine but it would be great that the community tests it and > > >> gives us feedback. Once everything is alright, we will contribute the codes > > >> to the Core team so that it can be integrated in the official ODK Collect. > > >> > > >> Please download the ODK Collect version here: > > >> https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk > > >> Some forms we use to test the functionality: > > >> - > > >> https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml > > >> - https://www.dropbox.com/s/tvsqrvk5gx0bbbd/ODK%20-%20geo.xml > > >> > > >> Thanks, > > >> Trung. > > >> > > >> On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote: > > >> > > >> Dear Trung, > > >> > > >> Any progress on this. Capturing polygons and polyline is really much > > >> needed requirement. It will ease geo-data collection. > > >> > > >> Thanks > > >> > > >> On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote: > > >> > Dear Mitch, > > >> > > > >> > > > >> > > > >> > I wrote to you yesterday saying that our team at Real-Time Analytics in > > >> > Vietnam has committed to writing widgets for taking polygon and polyline. We > > >> > are happy to contribute the code to the team. I said we needed a week to get > > >> > it done but likely we will finalize it faster. > > >> > > > >> > > > >> > > > >> > Please let me know. > > >> > > > >> > Best, > > >> > > > >> > Trung. > > >> > > > >> > > > >> > > > >> > On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote: > > >> > > > >> > > Dear Yaw and Martijn, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Thanks for this explanation. Very clear and good to hear that one can > > >> > > help building the tool. Pretty logical of course with open source, but now > > >> > > the process is a bit more clear. I will certainly look for ways how our > > >> > > organisation can contribute to the development of the ODK functionality. > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Kind regards, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Ed > > >> > > > >> > > > > >> > > > >> > > On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote: > > >> > > > >> > > Hi Ed, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Up to now, implementing your tool for testing seems quite technical > > >> > > and only accessible to programming experts that are acquintanced with > > >> > > Xforms. Am I correct? As an end-user I am only working with XLSForms, not > > >> > > within Xforms directly > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > No, it won't be technical at all once the new datatypes (geoshape and > > >> > > geotrace) have been added to XLSForm (and once the next ODK Aggregate > > >> > > version is released, I believe). A company called Ona has committed to do > > >> > > the XLSForm work. After that implementing it is the same as any other type > > >> > > of question (type=text, type=geoshape, type=integer, etc). > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > However, note that Enketo and ODK Collect are 2 different applications > > >> > > that do more or less the same. It will initially only work in Enketo (as Yaw > > >> > > mentioned implementing this in ODK Collect means hiring someone (like the > > >> > > good folks at Nafundi) or developing it yourself.) > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Cheers, > > >> > > > >> > > Martijn > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > In general if you want something added to ODK you shouldn't wait for > > >> > > > >> > > > > >> > > > >> > > the core team to do it. You should building (yourself or by funding a > > >> > > > >> > > > > >> > > > >> > > developer) and the core team will most certainly merge it into the > > >> > > > >> > > > > >> > > > >> > > core. > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Yaw > > >> > > > >> > > > > >> > > > >> > > -- > > >> > > > >> > > > > >> > > > >> > > Need ODK services? http://nafundi.com provides form design, server > > >> > > > >> > > > > >> > > > >> > > setup, professional support, and software development for ODK. > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert wrote: > > >> > > > >> > > > > >> > > > >> > > > I'll just mention this since it's somewhat related to this > > >> > > > discussion: we > > >> > > > >> > > > > >> > > > >> > > > just added two new functions to SurveyCTO, for our upcoming 1.21 > > >> > > > release: > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > distance-between(geopointfield1, geopointfield2): Returns the > > >> > > > distance, in > > >> > > > >> > > > > >> > > > >> > > > meters, between two geopoint fields (as in the calculate expression > > >> > > > >> > > > > >> > > > >> > > > "distance-between(${start_gps}, ${end_gps})"). (Keep in mind that > > >> > > > the > > >> > > > >> > > > > >> > > > >> > > > accuracy of the distance calculated will depend on the accuracy of > > >> > > > the GPS > > >> > > > >> > > > > >> > > > >> > > > readings, so try to be sure to get accurate GPS readings.) > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > enclosed-area(repeatedgeopointfield): Returns the area enclosed, in > > >> > > > >> > > > > >> > > > >> > > > square-meters, within a series of repeated geopoint fields (as in > > >> > > > the > > >> > > > >> > > > > >> > > > >> > > > calculate expression "enclosed-area(${gps_reading})", called outside > > >> > > > a > > >> > > > >> > > > > >> > > > >> > > > repeat group that includes the gps_reading field). (Keep in mind > > >> > > > that the > > >> > > > >> > > > > >> > > > >> > > > accuracy of the area calculated will depend on the accuracy of the > > >> > > > GPS > > >> > > > >> > > > > >> > > > >> > > > readings, so try to be sure to get accurate GPS readings.) > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > For the latter function, it is a series of repeated geopoint fields > > >> > > > rather > > >> > > > >> > > > > >> > > > >> > > > than a single geoshape; and for the former it is two individual > > >> > > > geopoint > > >> > > > >> > > > > >> > > > >> > > > fields rather than a single geoline. We implemented these on the > > >> > > > spur of the > > >> > > > >> > > > > >> > > > >> > > > moment to support an existing customer, and they seemed potentially > > >> > > > useful > > >> > > > >> > > > > >> > > > >> > > > for other SurveyCTO customers as well. > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > As geoline and geoshape become supported throughout the toolset, we > > >> > > > can > > >> > > > >> > > > > >> > > > >> > > > easily convert these functions to take those field types as > > >> > > > parameters. > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > Best, > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > Chris > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > On Mon, Apr 14, 2014 at 7:24 AM, <4est...@gmail.com> wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Hi Martijn, > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Very glad to hear that this application becomes open source. As > > >> > > >> explained, > > >> > > > >> > > > > >> > > > >> > > >> I am an end-user, trying to dig into this technical XML en ODK > > >> > > >> stuff because > > >> > > > >> > > > > >> > > > >> > > >> it is very useful to me and my workfield. I am planning to try to > > >> > > >> find some > > >> > > > >> > > > > >> > > > >> > > >> financing so that the community can build in extra ODK > > >> > > >> functionality for > > >> > > > >> > > > > >> > > > >> > > >> support sustainable land use projects. I have clear ideas for what > > >> > > >> is needed > > >> > > > >> > > > > >> > > > >> > > >> within the sustainable land use community. As said before, one of > > >> > > >> the most > > >> > > > >> > > > > >> > > > >> > > >> important things here is that you can map an area automatically (by > > >> > > >> walking > > >> > > > >> > > > > >> > > > >> > > >> around a parcel, just as the tracking mode with GPS, taking a > > >> > > >> coordinate > > >> > > > >> > > > > >> > > > >> > > >> based on a time period or distance setting) and add attributes to > > >> > > >> that area. > > >> > > > >> > > > > >> > > > >> > > >> Up to now, implementing your tool for testing seems qiete technical > > >> > > >> and only > > >> > > > >> > > > > >> > > > >> > > >> accessible to programming experts that are acquintanced with > > >> > > >> Xforms. Am I > > >> > > > >> > > > > >> > > > >> > > >> correct? As an end-user I am only working with XLSForms, not within > > >> > > >> Xforms > > >> > > > >> > > > > >> > > > >> > > >> directly. So at the moment the matter remains too technical for me. > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> For both Mitch and you: > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> How could we start a traject for making this tool user friendly > > >> > > >> within ODK > > >> > > > >> > > > > >> > > > >> > > >> so that everyone who used ODK collect/ODK-build (XLSForms) and > > >> > > >> Aggregate > > >> > > > >> > > > > >> > > > >> > > >> could use this tool? Would additional financing speed things up or > > >> > > >> do I just > > >> > > > >> > > > > >> > > > >> > > >> have to be more pacient with ODK...? So how does this work if I > > >> > > >> find some > > >> > > > >> > > > > >> > > > >> > > >> financing for further development: Can I just apply to build this > > >> > > > >> > > > > >> > > > >> > > >> application within ODK (collect/build/aggregate)? > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Good to discuss this so that I can take it into account. Thanks > > >> > > >> again for > > >> > > > >> > > > > >> > > > >> > > >> the feedback and look forward to see all this evolve...:-) > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Kind regards, > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Ed > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote: > > >> > > > >> > > > > >> > > > >> > > >> > Hi Ed, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Thanks! > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > This feature is now finished and deployed but we're waiting for > > >> > > >> > support > > >> > > > >> > > > > >> > > > >> > > >> > in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form > > >> > > >> > builder > > >> > > > >> > > > > >> > > > >> > > >> > (XLSForm) before it can actually be used. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Latest version is here: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > >> > https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Yes, enketo.org is available as a paid service (with a free > > >> > > >> > level) or > > >> > > > >> > > > > >> > > > >> > > >> > for free on formhub.org. The code for this widget is here: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > >> > https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Cheers, > > >> > > > >> > > > > >> > > > >> > > >> > Martijn > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > On Tue, Apr 8, 2014 at 5:10 AM, <4est...@gmail.com> wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Dear Martijn, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > I looked at the early preview and it looks existing! In your mail > > >> > > >> > you > > >> > > > >> > > > > >> > > > >> > > >> > are referring to Enketo which is partly a paid service. Will this > > >> > > >> > tool > > >> > > > >> > > > > >> > > > >> > > >> > (geoshape/geoline) also become available as opensource (ODK > > >> > > >> > collect and ODK > > >> > > > >> > > > > >> > > > >> > > >> > aggregate)? If so, can you indicate when this will be available? > > >> > > >> > I am busy > > >> > > > >> > > > > >> > > > >> > > >> > setting up a large fieldwork campaign for sustainable agriculture > > >> > > >> > projects > > >> > > > >> > > > > >> > > > >> > > >> > with small holder farmers in Afrika and South America for which > > >> > > >> > this tool > > >> > > > >> > > > > >> > > > >> > > >> > would be very valuable. Would be good to know if I can implement > > >> > > >> > these > > >> > > > >> > > > > >> > > > >> > > >> > features (polygons and polylines) in my ODK forms and aggregate > > >> > > >> > service. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > FYI: The link between Enketo and ODK is not yet entirely clear to > > >> > > >> > me > > >> > > > >> > > > > >> > > > >> > > >> > that is also why I am asking. Thanks for the feedback! > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Kind regards, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Ed > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > An early preview for those interested. Feedback welcome > > >> > > >> > > (especially on > > >> > > > >> > > > > >> > > > >> > > >> > > UX). http://goo.gl/z1yCdo > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > Hi, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > A dedicated polygon (geoshape) widget will be built-in to > > >> > > >> > > Enketo and > > >> > > > >> > > > > >> > > > >> > > >> > > is planned to become available next month. Read more details > > >> > > >> > > here: > > >> > > > >> > > > > >> > > > >> > > >> > > https://github.com/MartijnR/enketo-core/issues/89. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > Cheers, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > Martijn > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > On Saturday, March 15, 2014 8:49:09 AM UTC-6, 4est...@gmail.com > > >> > > > >> > > > > >> > > > >> > > >> > > wrote:Dear developers, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > I am not a technical expert but I am working in sustainable > > >> > > >> > > land use > > >> > > > >> > > > > >> > > > >> > > >> > > in development countries. I am using ODK for our small holder > > >> > > >> > > projects to > > >> > > > >> > > > > >> > > > >> > > >> > > collect field data in an efficient manner. In my work field we > > >> > > >> > > work with > > >> > > > >> > > > > >> > > > >> > > >> > > areas (polygons); many of the field data is related to an area > > >> > > >> > > unit rather > > >> > > > >> > > > > >> > > > >> > > >> > > than to a single point. Hence, a polygon option in ODK and > > >> > > >> > > connecting > > >> > > > >> > > > > >> > > > >> > > >> > > attribute data to these polygons would be ideal for my work. I > > >> > > >> > > am sure that > > >> > > > >> > > > > >> > > > >> > > >> > > many my colleagues work...

Dear Trung,

I tested it. Looks great already. Indeed, the buttons are not yet very
intuitive, so this could maybe improved a bit. Ideally, there would be a
track button in it where you just have to push a "start GPS record"- button
and a "stop GPS-record" button. After stopping, you get the option to
select a line or a polygon (it automatically closes the line then).
However, I don't want to be negative, this is already a very good and
promising start! Any news when this functionality will be build in XLSForms
so that I can add this button to my forms?

Thanks for the feedback.

regards,

Eddy

··· On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote: > > Hi All, > We have updated and tested the next version of ODK collect that has > widgets for geoline and geoshape. The new version can be download here: > https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk > (again, a form to test can be downloaded here: > https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml) > > We hope the version is good enough. And we're ready to share the code so > that the CORE team can incorporate into the next release. > > Cheers, > Trung. > > > On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote: > > Hi, Trung. > > I'm looking forward to get this feature in the next version of ODK > Collect. Will you contribute this feature? > > Regards > > On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote: > > Dear Yaw, > Many thanks for your useful comments. Our team is working on them. > And the next version will also include map-based inputs. > > > On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote: > > Trung, > > I tried it a bit and the functionality is there. Thanks for building it! > > Icons weren't intuitive to me. X is for removing the last point, but > it could also be cancel and close window. Save saves the current point > but it could also be save the form. Maybe a place mark with a plus for > add and a minus to remove. Maybe use text labels so it's clear (and > localizable). Also maybe move the buttons down so they don't cover up > the gray bar at top. > > Do you have a plan for supporting map based input? That is, users will > probably want to select a place on the map and add a pin there. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le wrote: > > Anyone has tested the Collect version with geoshape and geoline yet? > > > > > > On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote: > >> > >> That's great to hear Trung. > >> > >> The feature has now officially launched in Enketo too: > >> http://blog.enketo.org/geo/ > >> > >> On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote: > >> > >> Hi all, > >> I'm happy to announce that folks at RT Lab (RTA) has built a version of > >> ODK collect that is able to capture geoline and geoshape. We have > tested and > >> everything seems fine but it would be great that the community tests it > and > >> gives us feedback. Once everything is alright, we will contribute the > codes > >> to the Core team so that it can be integrated in the official ODK > Collect. > >> > >> Please download the ODK Collect version here: > >> https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk > >> Some forms we use to test the functionality: > >> - > >> > https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml > >> - https://www.dropbox.com/s/tvsqrvk5gx0bbbd/ODK%20-%20geo.xml > >> > >> Thanks, > >> Trung. > >> > >> On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote: > >> > >> Dear Trung, > >> > >> Any progress on this. Capturing polygons and polyline is really much > >> needed requirement. It will ease geo-data collection. > >> > >> Thanks > >> > >> On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote: > >> > Dear Mitch, > >> > > >> > > >> > > >> > I wrote to you yesterday saying that our team at Real-Time Analytics > in > >> > Vietnam has committed to writing widgets for taking polygon and > polyline. We > >> > are happy to contribute the code to the team. I said we needed a week > to get > >> > it done but likely we will finalize it faster. > >> > > >> > > >> > > >> > Please let me know. > >> > > >> > Best, > >> > > >> > Trung. > >> > > >> > > >> > > >> > On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote: > >> > > >> > > Dear Yaw and Martijn, > >> > > >> > > > >> > > >> > > > >> > > >> > > Thanks for this explanation. Very clear and good to hear that one > can > >> > > help building the tool. Pretty logical of course with open source, > but now > >> > > the process is a bit more clear. I will certainly look for ways how > our > >> > > organisation can contribute to the development of the ODK > functionality. > >> > > >> > > > >> > > >> > > > >> > > >> > > Kind regards, > >> > > >> > > > >> > > >> > > > >> > > >> > > Ed > >> > > >> > > > >> > > >> > > On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > Hi Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > Up to now, implementing your tool for testing seems quite technical > >> > > and only accessible to programming experts that are acquintanced > with > >> > > Xforms. Am I correct? As an end-user I am only working with > XLSForms, not > >> > > within Xforms directly > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > No, it won't be technical at all once the new datatypes (geoshape > and > >> > > geotrace) have been added to XLSForm (and once the next ODK > Aggregate > >> > > version is released, I believe). A company called Ona has committed > to do > >> > > the XLSForm work. After that implementing it is the same as any > other type > >> > > of question (type=text, type=geoshape, type=integer, etc). > >> > > >> > > > >> > > >> > > > >> > > >> > > However, note that Enketo and ODK Collect are 2 different > applications > >> > > that do more or less the same. It will initially only work in > Enketo (as Yaw > >> > > mentioned implementing this in ODK Collect means hiring someone > (like the > >> > > good folks at Nafundi) or developing it yourself.) > >> > > >> > > > >> > > >> > > > >> > > >> > > Cheers, > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > > >> > > >> > > On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > In general if you want something added to ODK you shouldn't wait > for > >> > > >> > > > >> > > >> > > the core team to do it. You should building (yourself or by funding > a > >> > > >> > > > >> > > >> > > developer) and the core team will most certainly merge it into the > >> > > >> > > > >> > > >> > > core. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > Yaw > >> > > >> > > > >> > > >> > > -- > >> > > >> > > > >> > > >> > > Need ODK services? http://nafundi.com provides form design, server > >> > > >> > > > >> > > >> > > setup, professional support, and software development for ODK. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert wrote: > >> > > >> > > > >> > > >> > > > I'll just mention this since it's somewhat related to this > >> > > > discussion: we > >> > > >> > > > >> > > >> > > > just added two new functions to SurveyCTO, for our upcoming 1.21 > >> > > > release: > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > distance-between(geopointfield1, geopointfield2): Returns the > >> > > > distance, in > >> > > >> > > > >> > > >> > > > meters, between two geopoint fields (as in the calculate > expression > >> > > >> > > > >> > > >> > > > "distance-between(${start_gps}, ${end_gps})"). (Keep in mind that > >> > > > the > >> > > >> > > > >> > > >> > > > accuracy of the distance calculated will depend on the accuracy > of > >> > > > the GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > enclosed-area(repeatedgeopointfield): Returns the area enclosed, > in > >> > > >> > > > >> > > >> > > > square-meters, within a series of repeated geopoint fields (as in > >> > > > the > >> > > >> > > > >> > > >> > > > calculate expression "enclosed-area(${gps_reading})", called > outside > >> > > > a > >> > > >> > > > >> > > >> > > > repeat group that includes the gps_reading field). (Keep in mind > >> > > > that the > >> > > >> > > > >> > > >> > > > accuracy of the area calculated will depend on the accuracy of > the > >> > > > GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > For the latter function, it is a series of repeated geopoint > fields > >> > > > rather > >> > > >> > > > >> > > >> > > > than a single geoshape; and for the former it is two individual > >> > > > geopoint > >> > > >> > > > >> > > >> > > > fields rather than a single geoline. We implemented these on the > >> > > > spur of the > >> > > >> > > > >> > > >> > > > moment to support an existing customer, and they seemed > potentially > >> > > > useful > >> > > >> > > > >> > > >> > > > for other SurveyCTO customers as well. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > As geoline and geoshape become supported throughout the toolset, > we > >> > > > can > >> > > >> > > > >> > > >> > > > easily convert these functions to take those field types as > >> > > > parameters. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Best, > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Chris > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > On Mon, Apr 14, 2014 at 7:24 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Hi Martijn, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Very glad to hear that this application becomes open source. As > >> > > >> explained, > >> > > >> > > > >> > > >> > > >> I am an end-user, trying to dig into this technical XML en ODK > >> > > >> stuff because > >> > > >> > > > >> > > >> > > >> it is very useful to me and my workfield. I am planning to try > to > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing so that the community can build in extra ODK > >> > > >> functionality for > >> > > >> > > > >> > > >> > > >> support sustainable land use projects. I have clear ideas for > what > >> > > >> is needed > >> > > >> > > > >> > > >> > > >> within the sustainable land use community. As said before, one > of > >> > > >> the most > >> > > >> > > > >> > > >> > > >> important things here is that you can map an area automatically > (by > >> > > >> walking > >> > > >> > > > >> > > >> > > >> around a parcel, just as the tracking mode with GPS, taking a > >> > > >> coordinate > >> > > >> > > > >> > > >> > > >> based on a time period or distance setting) and add attributes > to > >> > > >> that area. > >> > > >> > > > >> > > >> > > >> Up to now, implementing your tool for testing seems qiete > technical > >> > > >> and only > >> > > >> > > > >> > > >> > > >> accessible to programming experts that are acquintanced with > >> > > >> Xforms. Am I > >> > > >> > > > >> > > >> > > >> correct? As an end-user I am only working with XLSForms, not > within > >> > > >> Xforms > >> > > >> > > > >> > > >> > > >> directly. So at the moment the matter remains too technical for > me. > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> For both Mitch and you: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> How could we start a traject for making this tool user friendly > >> > > >> within ODK > >> > > >> > > > >> > > >> > > >> so that everyone who used ODK collect/ODK-build (XLSForms) and > >> > > >> Aggregate > >> > > >> > > > >> > > >> > > >> could use this tool? Would additional financing speed things up > or > >> > > >> do I just > >> > > >> > > > >> > > >> > > >> have to be more pacient with ODK...? So how does this work if I > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing for further development: Can I just apply to build > this > >> > > >> > > > >> > > >> > > >> application within ODK (collect/build/aggregate)? > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Good to discuss this so that I can take it into account. Thanks > >> > > >> again for > >> > > >> > > > >> > > >> > > >> the feedback and look forward to see all this evolve...:-) > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Kind regards, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Ed > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > Hi Ed, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Thanks! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > This feature is now finished and deployed but we're waiting > for > >> > > >> > support > >> > > >> > > > >> > > >> > > >> > in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form > >> > > >> > builder > >> > > >> > > > >> > > >> > > >> > (XLSForm) before it can actually be used. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Latest version is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Yes, enketo.org is available as a paid service (with a free > >> > > >> > level) or > >> > > >> > > > >> > > >> > > >> > for free on formhub.org. The code for this widget is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Cheers, > >> > > >> > > > >> > > >> > > >> > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Tue, Apr 8, 2014 at 5:10 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Dear Martijn, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > I looked at the early preview and it looks existing! In your > mail > >> > > >> > you > >> > > >> > > > >> > > >> > > >> > are referring to Enketo which is partly a paid service. Will > this > >> > > >> > tool > >> > > >> > > > >> > > >> > > >> > (geoshape/geoline) also become available as opensource (ODK > >> > > >> > collect and ODK > >> > > >> > > > >> > > >> > > >> > aggregate)? If so, can you indicate when this will be > available? > >> > > >> > I am busy > >> > > >> > > > >> > > >> > > >> > setting up a large fieldwork campaign for sustainable > agriculture > >> > > >> > projects > >> > > >> > > > >> > > >> > > >> > with small holder farmers in Afrika and South America for > which > >> > > >> > this tool > >> > > >> > > > >> > > >> > > >> > would be very valuable. Would be good to know if I can > implement > >> > > >> > these > >> > > >> > > > >> > > >> > > >> > features (polygons and polylines) in my ODK forms and > aggregate > >> > > >> > service. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > FYI: The link between Enketo and ODK is not yet entirely clear > to > >> > > >> > me > >> > > >> > > > >> > > >> > > >> > that is also why I am asking. Thanks for the feedback! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Kind regards, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Ed > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > An early preview for those interested. Feedback welcome > >> > > >> > > (especially on > >> > > >> > > > >> > > >> > > >> > > UX). http://goo.gl/z1yCdo > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Hi, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > A dedicated polygon (geoshape) widget will be built-in to > >> > > >> > > Enketo and > >> > > >> > > > >> > > >> > > >> > > is planned to become available next month. Read more details > >> > > >> > > here: > >> > > >> > > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/issues/89. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Cheers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Saturday, March 15, 2014 8:49:09 AM UTC-6, > 4est...@gmail.com > >> > > >> > > > >> > > >> > > >> > > wrote:Dear developers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > I am not a technical expert but I am working in sustainable > >> > > >> > > land use > >> > > >> > > > >> > > >> > > >> > > in development countries. I am using ODK for our small > holder > >> > > >> > > projects to > >> > > >> > > > >> > > >> > > >> > > collect field data in an efficient manner. In my work field > we > >> > > >> > > work with > >> > > >> > > > >> > > >> > > >> > > areas (polygons); many of the field data is related to an > area > >> > > >> > > unit rather > >> > > >> > > > >> > > >> > > >> > > than to a single point. Hence, a polygon option in ODK and > >> > > >> > > connecting > >> > > >> > > > >> > > >> > > >> > > attribute data to these polygons would be ideal for my work. > I > >> > > >> > > am sure that > >> > > >> > > > >> > > >> > > >> > > many my colleagues work > > ...

Hello Trung,

I am working on some custom functional for some of our projects. I started
developing a widget for my ODK Collect build and the GeoShape data type, im
having a bit of trouble getting the IAnswerData getAnswer() function to
save and except the new data type. Is it possible to look at the src for
these widgets, I tried the APK and it would be great to uses these widgets
you have created.

Jon

··· On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote: > > Hi All, > We have updated and tested the next version of ODK collect that has > widgets for geoline and geoshape. The new version can be download here: > https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk > (again, a form to test can be downloaded here: > https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml) > > We hope the version is good enough. And we're ready to share the code so > that the CORE team can incorporate into the next release. > > Cheers, > Trung. > > > On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote: > > Hi, Trung. > > I'm looking forward to get this feature in the next version of ODK > Collect. Will you contribute this feature? > > Regards > > On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote: > > Dear Yaw, > Many thanks for your useful comments. Our team is working on them. > And the next version will also include map-based inputs. > > > On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote: > > Trung, > > I tried it a bit and the functionality is there. Thanks for building it! > > Icons weren't intuitive to me. X is for removing the last point, but > it could also be cancel and close window. Save saves the current point > but it could also be save the form. Maybe a place mark with a plus for > add and a minus to remove. Maybe use text labels so it's clear (and > localizable). Also maybe move the buttons down so they don't cover up > the gray bar at top. > > Do you have a plan for supporting map based input? That is, users will > probably want to select a place on the map and add a pin there. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le wrote: > > Anyone has tested the Collect version with geoshape and geoline yet? > > > > > > On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote: > >> > >> That's great to hear Trung. > >> > >> The feature has now officially launched in Enketo too: > >> http://blog.enketo.org/geo/ > >> > >> On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote: > >> > >> Hi all, > >> I'm happy to announce that folks at RT Lab (RTA) has built a version of > >> ODK collect that is able to capture geoline and geoshape. We have > tested and > >> everything seems fine but it would be great that the community tests it > and > >> gives us feedback. Once everything is alright, we will contribute the > codes > >> to the Core team so that it can be integrated in the official ODK > Collect. > >> > >> Please download the ODK Collect version here: > >> https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk > >> Some forms we use to test the functionality: > >> - > >> > https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml > >> - https://www.dropbox.com/s/tvsqrvk5gx0bbbd/ODK%20-%20geo.xml > >> > >> Thanks, > >> Trung. > >> > >> On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote: > >> > >> Dear Trung, > >> > >> Any progress on this. Capturing polygons and polyline is really much > >> needed requirement. It will ease geo-data collection. > >> > >> Thanks > >> > >> On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote: > >> > Dear Mitch, > >> > > >> > > >> > > >> > I wrote to you yesterday saying that our team at Real-Time Analytics > in > >> > Vietnam has committed to writing widgets for taking polygon and > polyline. We > >> > are happy to contribute the code to the team. I said we needed a week > to get > >> > it done but likely we will finalize it faster. > >> > > >> > > >> > > >> > Please let me know. > >> > > >> > Best, > >> > > >> > Trung. > >> > > >> > > >> > > >> > On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote: > >> > > >> > > Dear Yaw and Martijn, > >> > > >> > > > >> > > >> > > > >> > > >> > > Thanks for this explanation. Very clear and good to hear that one > can > >> > > help building the tool. Pretty logical of course with open source, > but now > >> > > the process is a bit more clear. I will certainly look for ways how > our > >> > > organisation can contribute to the development of the ODK > functionality. > >> > > >> > > > >> > > >> > > > >> > > >> > > Kind regards, > >> > > >> > > > >> > > >> > > > >> > > >> > > Ed > >> > > >> > > > >> > > >> > > On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > Hi Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > Up to now, implementing your tool for testing seems quite technical > >> > > and only accessible to programming experts that are acquintanced > with > >> > > Xforms. Am I correct? As an end-user I am only working with > XLSForms, not > >> > > within Xforms directly > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > No, it won't be technical at all once the new datatypes (geoshape > and > >> > > geotrace) have been added to XLSForm (and once the next ODK > Aggregate > >> > > version is released, I believe). A company called Ona has committed > to do > >> > > the XLSForm work. After that implementing it is the same as any > other type > >> > > of question (type=text, type=geoshape, type=integer, etc). > >> > > >> > > > >> > > >> > > > >> > > >> > > However, note that Enketo and ODK Collect are 2 different > applications > >> > > that do more or less the same. It will initially only work in > Enketo (as Yaw > >> > > mentioned implementing this in ODK Collect means hiring someone > (like the > >> > > good folks at Nafundi) or developing it yourself.) > >> > > >> > > > >> > > >> > > > >> > > >> > > Cheers, > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > > >> > > >> > > On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > In general if you want something added to ODK you shouldn't wait > for > >> > > >> > > > >> > > >> > > the core team to do it. You should building (yourself or by funding > a > >> > > >> > > > >> > > >> > > developer) and the core team will most certainly merge it into the > >> > > >> > > > >> > > >> > > core. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > Yaw > >> > > >> > > > >> > > >> > > -- > >> > > >> > > > >> > > >> > > Need ODK services? http://nafundi.com provides form design, server > >> > > >> > > > >> > > >> > > setup, professional support, and software development for ODK. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert wrote: > >> > > >> > > > >> > > >> > > > I'll just mention this since it's somewhat related to this > >> > > > discussion: we > >> > > >> > > > >> > > >> > > > just added two new functions to SurveyCTO, for our upcoming 1.21 > >> > > > release: > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > distance-between(geopointfield1, geopointfield2): Returns the > >> > > > distance, in > >> > > >> > > > >> > > >> > > > meters, between two geopoint fields (as in the calculate > expression > >> > > >> > > > >> > > >> > > > "distance-between(${start_gps}, ${end_gps})"). (Keep in mind that > >> > > > the > >> > > >> > > > >> > > >> > > > accuracy of the distance calculated will depend on the accuracy > of > >> > > > the GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > enclosed-area(repeatedgeopointfield): Returns the area enclosed, > in > >> > > >> > > > >> > > >> > > > square-meters, within a series of repeated geopoint fields (as in > >> > > > the > >> > > >> > > > >> > > >> > > > calculate expression "enclosed-area(${gps_reading})", called > outside > >> > > > a > >> > > >> > > > >> > > >> > > > repeat group that includes the gps_reading field). (Keep in mind > >> > > > that the > >> > > >> > > > >> > > >> > > > accuracy of the area calculated will depend on the accuracy of > the > >> > > > GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > For the latter function, it is a series of repeated geopoint > fields > >> > > > rather > >> > > >> > > > >> > > >> > > > than a single geoshape; and for the former it is two individual > >> > > > geopoint > >> > > >> > > > >> > > >> > > > fields rather than a single geoline. We implemented these on the > >> > > > spur of the > >> > > >> > > > >> > > >> > > > moment to support an existing customer, and they seemed > potentially > >> > > > useful > >> > > >> > > > >> > > >> > > > for other SurveyCTO customers as well. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > As geoline and geoshape become supported throughout the toolset, > we > >> > > > can > >> > > >> > > > >> > > >> > > > easily convert these functions to take those field types as > >> > > > parameters. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Best, > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Chris > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > On Mon, Apr 14, 2014 at 7:24 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Hi Martijn, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Very glad to hear that this application becomes open source. As > >> > > >> explained, > >> > > >> > > > >> > > >> > > >> I am an end-user, trying to dig into this technical XML en ODK > >> > > >> stuff because > >> > > >> > > > >> > > >> > > >> it is very useful to me and my workfield. I am planning to try > to > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing so that the community can build in extra ODK > >> > > >> functionality for > >> > > >> > > > >> > > >> > > >> support sustainable land use projects. I have clear ideas for > what > >> > > >> is needed > >> > > >> > > > >> > > >> > > >> within the sustainable land use community. As said before, one > of > >> > > >> the most > >> > > >> > > > >> > > >> > > >> important things here is that you can map an area automatically > (by > >> > > >> walking > >> > > >> > > > >> > > >> > > >> around a parcel, just as the tracking mode with GPS, taking a > >> > > >> coordinate > >> > > >> > > > >> > > >> > > >> based on a time period or distance setting) and add attributes > to > >> > > >> that area. > >> > > >> > > > >> > > >> > > >> Up to now, implementing your tool for testing seems qiete > technical > >> > > >> and only > >> > > >> > > > >> > > >> > > >> accessible to programming experts that are acquintanced with > >> > > >> Xforms. Am I > >> > > >> > > > >> > > >> > > >> correct? As an end-user I am only working with XLSForms, not > within > >> > > >> Xforms > >> > > >> > > > >> > > >> > > >> directly. So at the moment the matter remains too technical for > me. > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> For both Mitch and you: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> How could we start a traject for making this tool user friendly > >> > > >> within ODK > >> > > >> > > > >> > > >> > > >> so that everyone who used ODK collect/ODK-build (XLSForms) and > >> > > >> Aggregate > >> > > >> > > > >> > > >> > > >> could use this tool? Would additional financing speed things up > or > >> > > >> do I just > >> > > >> > > > >> > > >> > > >> have to be more pacient with ODK...? So how does this work if I > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing for further development: Can I just apply to build > this > >> > > >> > > > >> > > >> > > >> application within ODK (collect/build/aggregate)? > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Good to discuss this so that I can take it into account. Thanks > >> > > >> again for > >> > > >> > > > >> > > >> > > >> the feedback and look forward to see all this evolve...:-) > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Kind regards, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Ed > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > Hi Ed, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Thanks! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > This feature is now finished and deployed but we're waiting > for > >> > > >> > support > >> > > >> > > > >> > > >> > > >> > in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form > >> > > >> > builder > >> > > >> > > > >> > > >> > > >> > (XLSForm) before it can actually be used. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Latest version is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Yes, enketo.org is available as a paid service (with a free > >> > > >> > level) or > >> > > >> > > > >> > > >> > > >> > for free on formhub.org. The code for this widget is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Cheers, > >> > > >> > > > >> > > >> > > >> > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Tue, Apr 8, 2014 at 5:10 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Dear Martijn, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > I looked at the early preview and it looks existing! In your > mail > >> > > >> > you > >> > > >> > > > >> > > >> > > >> > are referring to Enketo which is partly a paid service. Will > this > >> > > >> > tool > >> > > >> > > > >> > > >> > > >> > (geoshape/geoline) also become available as opensource (ODK > >> > > >> > collect and ODK > >> > > >> > > > >> > > >> > > >> > aggregate)? If so, can you indicate when this will be > available? > >> > > >> > I am busy > >> > > >> > > > >> > > >> > > >> > setting up a large fieldwork campaign for sustainable > agriculture > >> > > >> > projects > >> > > >> > > > >> > > >> > > >> > with small holder farmers in Afrika and South America for > which > >> > > >> > this tool > >> > > >> > > > >> > > >> > > >> > would be very valuable. Would be good to know if I can > implement > >> > > >> > these > >> > > >> > > > >> > > >> > > >> > features (polygons and polylines) in my ODK forms and > aggregate > >> > > >> > service. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > FYI: The link between Enketo and ODK is not yet entirely clear > to > >> > > >> > me > >> > > >> > > > >> > > >> > > >> > that is also why I am asking. Thanks for the feedback! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Kind regards, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Ed > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > An early preview for those interested. Feedback welcome > >> > > >> > > (especially on > >> > > >> > > > >> > > >> > > >> > > UX). http://goo.gl/z1yCdo > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Hi, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > A dedicated polygon (geoshape) widget will be built-in to > >> > > >> > > Enketo and > >> > > >> > > > >> > > >> > > >> > > is planned to become available next month. Read more details > >> > > >> > > here: > >> > > >> > > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/issues/89. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Cheers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Saturday, March 15, 2014 8:49:09 AM UTC-6, > 4est...@gmail.com > >> > > >> > > > >> > > >> > > >> > > wrote:Dear developers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > I am not a technical expert but I am working in sustainable > >> > > >> > > land use > >> > > >> > > > >> > > >> > > >> > > in development countries. I am using ODK for our small > holder > >> > > >> > > projects to > >> > > >> > > > >> > > >> > > >> > > collect field data in an efficient manner. In my work field > we > >> > > >> > > work with > >> > > >> > > > >> > > >> > > >> > > areas (polygons); many of the field data is related to an > area > >> > > >> > > unit rather > >> > > >> > > > >> > > >> > > >> > > than to a single point. Hence, a polygon option in ODK and > >> > > >> > > connecting > >> > > >> > > > >> > > >> > > >> > > attribute data to these polygons would be ideal for my work. > I > >> > > >> > > am sure that > >> > > >> > > > >> > > >> > > >> > > many my colleagues work > > ...

ODK Collect does not have a geoshape / geotrace capture widget. Trung's
team has created one, but it hasn't been stabilized and contributed back to
the main codebase.

··· On Fri, Jun 27, 2014 at 1:35 PM, wrote:

Hi all, do we have support from Formhub for the new geoshape and geotrace
widgets along with the newest release of ODK Collect?

Thanks!

On Wednesday, June 11, 2014 2:54:43 AM UTC-4, Trung Dang Le wrote:

Hi All,
We have updated and tested the next version of ODK collect that has
widgets for geoline and geoshape. The new version can be download here:
https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk
(again, a form to test can be downloaded here:
https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml)

We hope the version is good enough. And we're ready to share the code so
that the CORE team can incorporate into the next release.

Cheers,
Trung.

On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote:
Hi, Trung.

I'm looking forward to get this feature in the next version of ODK
Collect. Will you contribute this feature?

Regards

On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote:
Dear Yaw,
Many thanks for your useful comments. Our team is working on them.
And the next version will also include map-based inputs.

On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:Trung,

I tried it a bit and the functionality is there. Thanks for building it!

Icons weren't intuitive to me. X is for removing the last point, but

it could also be cancel and close window. Save saves the current point

but it could also be save the form. Maybe a place mark with a plus for

add and a minus to remove. Maybe use text labels so it's clear (and

localizable). Also maybe move the buttons down so they don't cover up

the gray bar at top.

Do you have a plan for supporting map based input? That is, users will

probably want to select a place on the map and add a pin there.

Yaw

--

Need ODK services? http://nafundi.com provides form design, server

setup, professional support, and software development for ODK.

On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le trung...@gmail.com wrote:

Anyone has tested the Collect version with geoshape and geoline yet?

On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote:

That's great to hear Trung.

The feature has now officially launched in Enketo too:

http://blog.enketo.org/geo/

On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote:

Hi all,

I'm happy to announce that folks at RT Lab (RTA) has built a version
of

ODK collect that is able to capture geoline and geoshape. We have
tested and

everything seems fine but it would be great that the community tests
it and

gives us feedback. Once everything is alright, we will contribute the
codes

to the Core team so that it can be integrated in the official ODK
Collect.

Please download the ODK Collect version here:

https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk

Some forms we use to test the functionality:

https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml

Thanks,

Trung.

On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote:

Dear Trung,

Any progress on this. Capturing polygons and polyline is really much

needed requirement. It will ease geo-data collection.

Thanks

On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote:

Dear Mitch,

I wrote to you yesterday saying that our team at Real-Time
Analytics in

Vietnam has committed to writing widgets for taking polygon and
polyline. We

are happy to contribute the code to the team. I said we needed a
week to get

it done but likely we will finalize it faster.

Please let me know.

Best,

Trung.

On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote:

Dear Yaw and Martijn,

Thanks for this explanation. Very clear and good to hear that one
can

help building the tool. Pretty logical of course with open
source, but now

the process is a bit more clear. I will certainly look for ways
how our

organisation can contribute to the development of the ODK
functionality.

Kind regards,

Ed

On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Up to now, implementing your tool for testing seems quite
technical

and only accessible to programming experts that are acquintanced
with

Xforms. Am I correct? As an end-user I am only working with
XLSForms, not

within Xforms directly

No, it won't be technical at all once the new datatypes (geoshape
and

geotrace) have been added to XLSForm (and once the next ODK
Aggregate

version is released, I believe). A company called Ona has
committed to do

the XLSForm work. After that implementing it is the same as any
other type

of question (type=text, type=geoshape, type=integer, etc).

However, note that Enketo and ODK Collect are 2 different
applications

that do more or less the same. It will initially only work in
Enketo (as Yaw

mentioned implementing this in ODK Collect means hiring someone
(like the

good folks at Nafundi) or developing it yourself.)

Cheers,

Martijn

On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed,

In general if you want something added to ODK you shouldn't wait
for

the core team to do it. You should building (yourself or by
funding a

developer) and the core team will most certainly merge it into the

core.

Yaw

--

Need ODK services? http://nafundi.com provides form design,
server

setup, professional support, and software development for ODK.

On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert cro...@surveycto.com wrote:

I'll just mention this since it's somewhat related to this

discussion: we

just added two new functions to SurveyCTO, for our upcoming 1.21

release:

distance-between(geopointfield1, geopointfield2): Returns the

distance, in

meters, between two geopoint fields (as in the calculate
expression

"distance-between(${start_gps}, ${end_gps})"). (Keep in mind
that

the

accuracy of the distance calculated will depend on the accuracy
of

the GPS

readings, so try to be sure to get accurate GPS readings.)

enclosed-area(repeatedgeopointfield): Returns the area
enclosed, in

square-meters, within a series of repeated geopoint fields (as
in

the

calculate expression "enclosed-area(${gps_reading})", called
outside

a

repeat group that includes the gps_reading field). (Keep in mind

that the

accuracy of the area calculated will depend on the accuracy of
the

GPS

readings, so try to be sure to get accurate GPS readings.)

For the latter function, it is a series of repeated geopoint
fields

rather

than a single geoshape; and for the former it is two individual

geopoint

fields rather than a single geoline. We implemented these on the

spur of the

moment to support an existing customer, and they seemed
potentially

useful

for other SurveyCTO customers as well.

As geoline and geoshape become supported throughout the
toolset, we

can

easily convert these functions to take those field types as

parameters.

Best,

Chris

On Mon, Apr 14, 2014 at 7:24 AM, 4est...@gmail.com wrote:

Hi Martijn,

Very glad to hear that this application becomes open source. As

explained,

I am an end-user, trying to dig into this technical XML en ODK

stuff because

it is very useful to me and my workfield. I am planning to try
to

find some

financing so that the community can build in extra ODK

functionality for

support sustainable land use projects. I have clear ideas for
what

is needed

within the sustainable land use community. As said before, one
of

the most

important things here is that you can map an area
automatically (by

walking

around a parcel, just as the tracking mode with GPS, taking a

coordinate

based on a time period or distance setting) and add attributes
to

that area.

Up to now, implementing your tool for testing seems qiete
technical

and only

accessible to programming experts that are acquintanced with

Xforms. Am I

correct? As an end-user I am only working with XLSForms, not
within

Xforms

directly. So at the moment the matter remains too technical
for me.

For both Mitch and you:

How could we start a traject for making this tool user friendly

within ODK

so that everyone who used ODK collect/ODK-build (XLSForms) and

Aggregate

could use this tool? Would additional financing speed things
up or

do I just

have to be more pacient with ODK...? So how does this work if I

find some

financing for further development: Can I just apply to build
this

application within ODK (collect/build/aggregate)?

Good to discuss this so that I can take it into account. Thanks

again for

the feedback and look forward to see all this evolve...:slight_smile:

Kind regards,

Ed

On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Thanks!

This feature is now finished and deployed but we're waiting
for

support

in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form

builder

(XLSForm) before it can actually be used.

Latest version is here:

https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml

Yes, enketo.org is available as a paid service (with a free

level) or

for free on formhub.org. The code for this widget is here:

https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo.

Cheers,

Martijn

On Tue, Apr 8, 2014 at 5:10 AM, 4est...@gmail.com wrote:

Dear Martijn,

I looked at the early preview and it looks existing! In your
mail

you

are referring to Enketo which is partly a paid service. Will
this

tool

(geoshape/geoline) also become available as opensource (ODK

collect and ODK

aggregate)? If so, can you indicate when this will be
available?

I am busy

setting up a large fieldwork campaign for sustainable
agriculture

projects

with small holder farmers in Afrika and South America for
which

this tool

would be very valuable. Would be good to know if I can
implement

these

features (polygons and polylines) in my ODK forms and
aggregate

service.

FYI: The link between Enketo and ODK is not yet entirely
clear to

me

that is also why I am asking. Thanks for the feedback!

Kind regards,

Ed

On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote:

An early preview for those interested. Feedback welcome

(especially on

UX). http://goo.gl/z1yCdo

On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote:

Hi,

A dedicated polygon (geoshape) widget will be built-in to

Enketo and

is planned to become available next month. Read more
details

here:

https://github.com/MartijnR/enketo-core/issues/89.

Cheers,

Martijn

On Saturday, March 15, 2014 8:49:09 AM UTC-6,
4est...@gmail.com

wrote:Dear developers,

I am not a technical expert but I am working in sustainable

land use

in development countries. I am using ODK for our small
holder

projects to

collect field data in an efficient manner. In my work
field we

work with

areas (polygons); many of the field data is related to an
area

unit rather

than to a single point. Hence, a polygon option in ODK and

connecting

attribute data to these polygons would be ideal for my
work. I

am sure that

many my colleagues work...

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Eddy and Isaac,
What Eddy has just suggested is a way that coordinates are obtained
automatically. We actually have to deal with, for instance, how frequently
the coordinates should be taken. I guess we won't support it this time.

We have been waiting for feedback from the communicity since the last
communication. In terms of shareing the code, we are more than happy
sharing and already ready to share. If the community thinks it's good
enough, let us share with the core team.

Please let us know.
Thanks,
Trung.

··· On Friday, July 11, 2014 4:25:56 PM UTC+7, Eddy Rellum wrote: > > Dear Trung, > > I tested it. Looks great already. Indeed, the buttons are not yet very > intuitive, so this could maybe improved a bit. Ideally, there would be a > track button in it where you just have to push a "start GPS record"- button > and a "stop GPS-record" button. After stopping, you get the option to > select a line or a polygon (it automatically closes the line then). > However, I don't want to be negative, this is already a very good and > promising start! Any news when this functionality will be build in XLSForms > so that I can add this button to my forms? > > Thanks for the feedback. > > regards, > > Eddy > > On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote: > > Hi All, > We have updated and tested the next version of ODK collect that has > widgets for geoline and geoshape. The new version can be download here: > https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk > (again, a form to test can be downloaded here: > https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml) > > We hope the version is good enough. And we're ready to share the code so > that the CORE team can incorporate into the next release. > > Cheers, > Trung. > > > On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote: > > Hi, Trung. > > I'm looking forward to get this feature in the next version of ODK > Collect. Will you contribute this feature? > > Regards > > On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote: > > Dear Yaw, > Many thanks for your useful comments. Our team is working on them. > And the next version will also include map-based inputs. > > > On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote: > > Trung, > > I tried it a bit and the functionality is there. Thanks for building it! > > Icons weren't intuitive to me. X is for removing the last point, but > it could also be cancel and close window. Save saves the current point > but it could also be save the form. Maybe a place mark with a plus for > add and a minus to remove. Maybe use text labels so it's clear (and > localizable). Also maybe move the buttons down so they don't cover up > the gray bar at top. > > Do you have a plan for supporting map based input? That is, users will > probably want to select a place on the map and add a pin there. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le wrote: > > Anyone has tested the Collect version with geoshape and geoline yet? > > > > > > On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote: > >> > >> That's great to hear Trung. > >> > >> The feature has now officially launched in Enketo too: > >> http://blog.enketo.org/geo/ > >> > >> On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote: > >> > >> Hi all, > >> I'm happy to announce that folks at RT Lab (RTA) has built a version of > >> ODK collect that is able to capture geoline and geoshape. We have > tested and > >> everything seems fine but it would be great that the community tests it > and > >> gives us feedback. Once everything is alright, we will contribute the > codes > >> to the Core team so that it can be integrated in the official ODK > Collect. > >> > >> Please download the ODK Collect version here: > >> https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk > >> Some forms we use to test the functionality: > >> - > >> > https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml > >> - https://www.dropbox.com/s/tvsqrvk5gx0bbbd/ODK%20-%20geo.xml > >> > >> Thanks, > >> Trung. > >> > >> On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote: > >> > >> Dear Trung, > >> > >> Any progress on this. Capturing polygons and polyline is really much > >> needed requirement. It will ease geo-data collection. > >> > >> Thanks > >> > >> On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote: > >> > Dear Mitch, > >> > > >> > > >> > > >> > I wrote to you yesterday saying that our team at Real-Time Analytics > in > >> > Vietnam has committed to writing widgets for taking polygon and > polyline. We > >> > are happy to contribute the code to the team. I said we needed a week > to get > >> > it done but likely we will finalize it faster. > >> > > >> > > >> > > >> > Please let me know. > >> > > >> > Best, > >> > > >> > Trung. > >> > > >> > > >> > > >> > On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote: > >> > > >> > > Dear Yaw and Martijn, > >> > > >> > > > >> > > >> > > > >> > > >> > > Thanks for this explanation. Very clear and good to hear that one > can > >> > > help building the tool. Pretty logical of course with open source, > but now > >> > > the process is a bit more clear. I will certainly look for ways how > our > >> > > organisation can contribute to the development of the ODK > functionality. > >> > > >> > > > >> > > >> > > > >> > > >> > > Kind regards, > >> > > >> > > > >> > > >> > > > >> > > >> > > Ed > >> > > >> > > > >> > > >> > > On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > Hi Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > Up to now, implementing your tool for testing seems quite technical > >> > > and only accessible to programming experts that are acquintanced > with > >> > > Xforms. Am I correct? As an end-user I am only working with > XLSForms, not > >> > > within Xforms directly > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > No, it won't be technical at all once the new datatypes (geoshape > and > >> > > geotrace) have been added to XLSForm (and once the next ODK > Aggregate > >> > > version is released, I believe). A company called Ona has committed > to do > >> > > the XLSForm work. After that implementing it is the same as any > other type > >> > > of question (type=text, type=geoshape, type=integer, etc). > >> > > >> > > > >> > > >> > > > >> > > >> > > However, note that Enketo and ODK Collect are 2 different > applications > >> > > that do more or less the same. It will initially only work in > Enketo (as Yaw > >> > > mentioned implementing this in ODK Collect means hiring someone > (like the > >> > > good folks at Nafundi) or developing it yourself.) > >> > > >> > > > >> > > >> > > > >> > > >> > > Cheers, > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > > >> > > >> > > On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > In general if you want something added to ODK you shouldn't wait > for > >> > > >> > > > >> > > >> > > the core team to do it. You should building (yourself or by funding > a > >> > > >> > > > >> > > >> > > developer) and the core team will most certainly merge it into the > >> > > >> > > > >> > > >> > > core. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > Yaw > >> > > >> > > > >> > > >> > > -- > >> > > >> > > > >> > > >> > > Need ODK services? http://nafundi.com provides form design, server > >> > > >> > > > >> > > >> > > setup, professional support, and software development for ODK. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert wrote: > >> > > >> > > > >> > > >> > > > I'll just mention this since it's somewhat related to this > >> > > > discussion: we > >> > > >> > > > >> > > >> > > > just added two new functions to SurveyCTO, for our upcoming 1.21 > >> > > > release: > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > distance-between(geopointfield1, geopointfield2): Returns the > >> > > > distance, in > >> > > >> > > > >> > > >> > > > meters, between two geopoint fields (as in the calculate > expression > >> > > >> > > > >> > > >> > > > "distance-between(${start_gps}, ${end_gps})"). (Keep in mind that > >> > > > the > >> > > >> > > > >> > > >> > > > accuracy of the distance calculated will depend on the accuracy > of > >> > > > the GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > enclosed-area(repeatedgeopointfield): Returns the area enclosed, > in > >> > > >> > > > >> > > >> > > > square-meters, within a series of repeated geopoint fields (as in > >> > > > the > >> > > >> > > > >> > > >> > > > calculate expression "enclosed-area(${gps_reading})", called > outside > >> > > > a > >> > > >> > > > >> > > >> > > > repeat group that includes the gps_reading field). (Keep in mind > >> > > > that the > >> > > >> > > > >> > > >> > > > accuracy of the area calculated will depend on the accuracy of > the > >> > > > GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > For the latter function, it is a series of repeated geopoint > fields > >> > > > rather > >> > > >> > > > >> > > >> > > > than a single geoshape; and for the former it is two individual > >> > > > geopoint > >> > > >> > > > >> > > >> > > > fields rather than a single geoline. We implemented these on the > >> > > > spur of the > >> > > >> > > > >> > > >> > > > moment to support an existing customer, and they seemed > potentially > >> > > > useful > >> > > >> > > > >> > > >> > > > for other SurveyCTO customers as well. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > As geoline and geoshape become supported throughout the toolset, > we > >> > > > can > >> > > >> > > > >> > > >> > > > easily convert these functions to take those field types as > >> > > > parameters. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Best, > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Chris > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > On Mon, Apr 14, 2014 at 7:24 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Hi Martijn, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Very glad to hear that this application becomes open source. As > >> > > >> explained, > >> > > >> > > > >> > > >> > > >> I am an end-user, trying to dig into this technical XML en ODK > >> > > >> stuff because > >> > > >> > > > >> > > >> > > >> it is very useful to me and my workfield. I am planning to try > to > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing so that the community can build in extra ODK > >> > > >> functionality for > >> > > >> > > > >> > > >> > > >> support sustainable land use projects. I have clear ideas for > what > >> > > >> is needed > >> > > >> > > > >> > > >> > > >> within the sustainable land use community. As said before, one > of > >> > > >> the most > >> > > >> > > > >> > > >> > > >> important things here is that you can map an area automatically > (by > >> > > >> walking > >> > > >> > > > >> > > >> > > >> around a parcel, just as the tracking mode with GPS, taking a > >> > > >> coordinate > >> > > >> > > > >> > > >> > > >> based on a time period or distance setting) and add attributes > to > >> > > >> that area. > >> > > >> > > > >> > > >> > > >> Up to now, implementing your tool for testing seems qiete > technical > >> > > >> and only > >> > > >> > > > >> > > >> > > >> accessible to programming experts that are acquintanced with > >> > > >> Xforms. Am I > >> > > >> > > > >> > > >> > > >> correct? As an end-user I am only working with XLSForms, not > within > >> > > >> Xforms > >> > > >> > > > >> > > >> > > >> directly. So at the moment the matter remains too technical for > me. > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> For both Mitch and you: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> How could we start a traject for making this tool user friendly > >> > > >> within ODK > >> > > >> > > > >> > > >> > > >> so that everyone who used ODK collect/ODK-build (XLSForms) and > >> > > >> Aggregate > >> > > >> > > > >> > > >> > > >> could use this tool? Would additional financing speed things up > or > >> > > >> do I just > >> > > >> > > > >> > > >> > > >> have to be more pacient with ODK...? So how does this work if I > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing for further development: Can I just apply to build > this > >> > > >> > > > >> > > >> > > >> application within ODK (collect/build/aggregate)? > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Good to discuss this so that I can take it into account. Thanks > >> > > >> again for > >> > > >> > > > >> > > >> > > >> the feedback and look forward to see all this evolve...:-) > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Kind regards, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Ed > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > Hi Ed, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Thanks! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > This feature is now finished and deployed but we're waiting > for > >> > > >> > support > >> > > >> > > > >> > > >> > > >> > in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form > >> > > >> > builder > >> > > >> > > > >> > > >> > > >> > (XLSForm) before it can actually be used. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Latest version is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Yes, enketo.org is available as a paid service (with a free > >> > > >> > level) or > >> > > >> > > > >> > > >> > > >> > for free on formhub.org. The code for this widget is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Cheers, > >> > > >> > > > >> > > >> > > >> > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Tue, Apr 8, 2014 at 5:10 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Dear Martijn, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > I looked at the early preview and it looks existing! In your > mail > >> > > >> > you > >> > > >> > > > >> > > >> > > >> > are referring to Enketo which is partly a paid service. Will > this > >> > > >> > tool > >> > > >> > > > >> > > >> > > >> > (geoshape/geoline) also become available as opensource (ODK > >> > > >> > collect and ODK > >> > > >> > > > >> > > >> > > >> > aggregate)? If so, can you indicate when this will be > available? > >> > > >> > I am busy > >> > > >> > > > >> > > >> > > >> > setting up a large fieldwork campaign for sustainable > agriculture > >> > > >> > projects > >> > > >> > > > >> > > >> > > >> > with small holder farmers in Afrika and South America for > which > >> > > >> > this tool > >> > > >> > > > >> > > >> > > >> > would be very valuable. Would be good to know if I can > implement > >> > > >> > these > >> > > >> > > > >> > > >> > > >> > features (polygons and polylines) in my ODK forms and > aggregate > >> > > >> > service. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > FYI: The link between Enketo and ODK is not yet entirely clear > to > >> > > >> > me > >> > > >> > > > >> > > >> > > >> > that is also why I am asking. Thanks for the feedback! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Kind regards, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Ed > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > An early preview for those interested. Feedback welcome > >> > > >> > > (especially on > >> > > >> > > > >> > > >> > > >> > > UX). http://goo.gl/z1yCdo > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Hi, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > A dedicated polygon (geoshape) widget will be built-in to > >> > > >> > > Enketo and > >> > > >> > > > >> > > >> > > >> > > is planned to become available next month. Read more details > >> > > >> > > here: > >> > > >> > > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/issues/89. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Cheers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Saturday, March 15, 2014 8:49:09 AM UTC-6, > 4est...@gmail.com > >> > > >> > > > >> > > >> > > >> > > wrote:Dear developers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >& > > ...

I have successfully returned the GeoShapeData object data to the ODK widget
however it does not seem to save. When I move the the next screen (or
question) and then back the data has been removed and was not saved to the
instance. Im not sure what or where the problem is.

it gets passed a string like this 36.15524344399181 -81.80068351328373 0.0
0.0; 37.092621633465136 -98.3268303796649 0.0 0.0; 31.962375302600794
-92.09862772375345 0.0 0.0; 36.15524344399181 -81.80068351328373 0.0 0.0;
Any suggestion?

In the GeoShapeWidget the answer is generated looking like:
public IAnswerData getAnswer() {
// TODO Auto-generated method stub
GeoShapeData data = new GeoShapeData();
ArrayList<double> list = new ArrayList<double>();
String s = mStringAnswer.getText().toString();
if (s == null || s.equals("")) {
return null;
} else {
try {
String sa = s.split(";");
for (int i=0;i<sa.length;i++){
String sp = sa[i].split(" ");
double gp = new double[4];
gp[0] = Double.valueOf(sp[0]).doubleValue();
gp[1] = Double.valueOf(sp[1]).doubleValue();
gp[2] = Double.valueOf(sp[2]).doubleValue();
gp[3] = Double.valueOf(sp[3]).doubleValue();
list.add(gp);
}
GeoShape shape = new GeoShape(list);
return new GeoShapeData(shape);
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return null;
}
}
}

··· On Thursday, July 31, 2014 1:25:51 PM UTC+2, Jon Nordling wrote: > > Hello Trung, > > I am working on some custom functional for some of our projects. I started > developing a widget for my ODK Collect build and the GeoShape data type, im > having a bit of trouble getting the IAnswerData getAnswer() function to > save and except the new data type. Is it possible to look at the src for > these widgets, I tried the APK and it would be great to uses these widgets > you have created. > > Jon > > On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote: > > Hi All, > We have updated and tested the next version of ODK collect that has > widgets for geoline and geoshape. The new version can be download here: > https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk > (again, a form to test can be downloaded here: > https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml) > > We hope the version is good enough. And we're ready to share the code so > that the CORE team can incorporate into the next release. > > Cheers, > Trung. > > > On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote: > > Hi, Trung. > > I'm looking forward to get this feature in the next version of ODK > Collect. Will you contribute this feature? > > Regards > > On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote: > > Dear Yaw, > Many thanks for your useful comments. Our team is working on them. > And the next version will also include map-based inputs. > > > On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote: > > Trung, > > I tried it a bit and the functionality is there. Thanks for building it! > > Icons weren't intuitive to me. X is for removing the last point, but > it could also be cancel and close window. Save saves the current point > but it could also be save the form. Maybe a place mark with a plus for > add and a minus to remove. Maybe use text labels so it's clear (and > localizable). Also maybe move the buttons down so they don't cover up > the gray bar at top. > > Do you have a plan for supporting map based input? That is, users will > probably want to select a place on the map and add a pin there. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le wrote: > > Anyone has tested the Collect version with geoshape and geoline yet? > > > > > > On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote: > >> > >> That's great to hear Trung. > >> > >> The feature has now officially launched in Enketo too: > >> http://blog.enketo.org/geo/ > >> > >> On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote: > >> > >> Hi all, > >> I'm happy to announce that folks at RT Lab (RTA) has built a version of > >> ODK collect that is able to capture geoline and geoshape. We have > tested and > >> everything seems fine but it would be great that the community tests it > and > >> gives us feedback. Once everything is alright, we will contribute the > codes > >> to the Core team so that it can be integrated in the official ODK > Collect. > >> > >> Please download the ODK Collect version here: > >> https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk > >> Some forms we use to test the functionality: > >> - > >> > https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml > >> - https://www.dropbox.com/s/tvsqrvk5gx0bbbd/ODK%20-%20geo.xml > >> > >> Thanks, > >> Trung. > >> > >> On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote: > >> > >> Dear Trung, > >> > >> Any progress on this. Capturing polygons and polyline is really much > >> needed requirement. It will ease geo-data collection. > >> > >> Thanks > >> > >> On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote: > >> > Dear Mitch, > >> > > >> > > >> > > >> > I wrote to you yesterday saying that our team at Real-Time Analytics > in > >> > Vietnam has committed to writing widgets for taking polygon and > polyline. We > >> > are happy to contribute the code to the team. I said we needed a week > to get > >> > it done but likely we will finalize it faster. > >> > > >> > > >> > > >> > Please let me know. > >> > > >> > Best, > >> > > >> > Trung. > >> > > >> > > >> > > >> > On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote: > >> > > >> > > Dear Yaw and Martijn, > >> > > >> > > > >> > > >> > > > >> > > >> > > Thanks for this explanation. Very clear and good to hear that one > can > >> > > help building the tool. Pretty logical of course with open source, > but now > >> > > the process is a bit more clear. I will certainly look for ways how > our > >> > > organisation can contribute to the development of the ODK > functionality. > >> > > >> > > > >> > > >> > > > >> > > >> > > Kind regards, > >> > > >> > > > >> > > >> > > > >> > > >> > > Ed > >> > > >> > > > >> > > >> > > On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > Hi Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > Up to now, implementing your tool for testing seems quite technical > >> > > and only accessible to programming experts that are acquintanced > with > >> > > Xforms. Am I correct? As an end-user I am only working with > XLSForms, not > >> > > within Xforms directly > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > No, it won't be technical at all once the new datatypes (geoshape > and > >> > > geotrace) have been added to XLSForm (and once the next ODK > Aggregate > >> > > version is released, I believe). A company called Ona has committed > to do > >> > > the XLSForm work. After that implementing it is the same as any > other type > >> > > of question (type=text, type=geoshape, type=integer, etc). > >> > > >> > > > >> > > >> > > > >> > > >> > > However, note that Enketo and ODK Collect are 2 different > applications > >> > > that do more or less the same. It will initially only work in > Enketo (as Yaw > >> > > mentioned implementing this in ODK Collect means hiring someone > (like the > >> > > good folks at Nafundi) or developing it yourself.) > >> > > >> > > > >> > > >> > > > >> > > >> > > Cheers, > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > > >> > > >> > > On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > In general if you want something added to ODK you shouldn't wait > for > >> > > >> > > > >> > > >> > > the core team to do it. You should building (yourself or by funding > a > >> > > >> > > > >> > > >> > > developer) and the core team will most certainly merge it into the > >> > > >> > > > >> > > >> > > core. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > Yaw > >> > > >> > > > >> > > >> > > -- > >> > > >> > > > >> > > >> > > Need ODK services? http://nafundi.com provides form design, server > >> > > >> > > > >> > > >> > > setup, professional support, and software development for ODK. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert wrote: > >> > > >> > > > >> > > >> > > > I'll just mention this since it's somewhat related to this > >> > > > discussion: we > >> > > >> > > > >> > > >> > > > just added two new functions to SurveyCTO, for our upcoming 1.21 > >> > > > release: > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > distance-between(geopointfield1, geopointfield2): Returns the > >> > > > distance, in > >> > > >> > > > >> > > >> > > > meters, between two geopoint fields (as in the calculate > expression > >> > > >> > > > >> > > >> > > > "distance-between(${start_gps}, ${end_gps})"). (Keep in mind that > >> > > > the > >> > > >> > > > >> > > >> > > > accuracy of the distance calculated will depend on the accuracy > of > >> > > > the GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > enclosed-area(repeatedgeopointfield): Returns the area enclosed, > in > >> > > >> > > > >> > > >> > > > square-meters, within a series of repeated geopoint fields (as in > >> > > > the > >> > > >> > > > >> > > >> > > > calculate expression "enclosed-area(${gps_reading})", called > outside > >> > > > a > >> > > >> > > > >> > > >> > > > repeat group that includes the gps_reading field). (Keep in mind > >> > > > that the > >> > > >> > > > >> > > >> > > > accuracy of the area calculated will depend on the accuracy of > the > >> > > > GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > For the latter function, it is a series of repeated geopoint > fields > >> > > > rather > >> > > >> > > > >> > > >> > > > than a single geoshape; and for the former it is two individual > >> > > > geopoint > >> > > >> > > > >> > > >> > > > fields rather than a single geoline. We implemented these on the > >> > > > spur of the > >> > > >> > > > >> > > >> > > > moment to support an existing customer, and they seemed > potentially > >> > > > useful > >> > > >> > > > >> > > >> > > > for other SurveyCTO customers as well. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > As geoline and geoshape become supported throughout the toolset, > we > >> > > > can > >> > > >> > > > >> > > >> > > > easily convert these functions to take those field types as > >> > > > parameters. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Best, > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Chris > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > On Mon, Apr 14, 2014 at 7:24 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Hi Martijn, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Very glad to hear that this application becomes open source. As > >> > > >> explained, > >> > > >> > > > >> > > >> > > >> I am an end-user, trying to dig into this technical XML en ODK > >> > > >> stuff because > >> > > >> > > > >> > > >> > > >> it is very useful to me and my workfield. I am planning to try > to > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing so that the community can build in extra ODK > >> > > >> functionality for > >> > > >> > > > >> > > >> > > >> support sustainable land use projects. I have clear ideas for > what > >> > > >> is needed > >> > > >> > > > >> > > >> > > >> within the sustainable land use community. As said before, one > of > >> > > >> the most > >> > > >> > > > >> > > >> > > >> important things here is that you can map an area automatically > (by > >> > > >> walking > >> > > >> > > > >> > > >> > > >> around a parcel, just as the tracking mode with GPS, taking a > >> > > >> coordinate > >> > > >> > > > >> > > >> > > >> based on a time period or distance setting) and add attributes > to > >> > > >> that area. > >> > > >> > > > >> > > >> > > >> Up to now, implementing your tool for testing seems qiete > technical > >> > > >> and only > >> > > >> > > > >> > > >> > > >> accessible to programming experts that are acquintanced with > >> > > >> Xforms. Am I > >> > > >> > > > >> > > >> > > >> correct? As an end-user I am only working with XLSForms, not > within > >> > > >> Xforms > >> > > >> > > > >> > > >> > > >> directly. So at the moment the matter remains too technical for > me. > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> For both Mitch and you: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> How could we start a traject for making this tool user friendly > >> > > >> within ODK > >> > > >> > > > >> > > >> > > >> so that everyone who used ODK collect/ODK-build (XLSForms) and > >> > > >> Aggregate > >> > > >> > > > >> > > >> > > >> could use this tool? Would additional financing speed things up > or > >> > > >> do I just > >> > > >> > > > >> > > >> > > >> have to be more pacient with ODK...? So how does this work if I > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing for further development: Can I just apply to build > this > >> > > >> > > > >> > > >> > > >> application within ODK (collect/build/aggregate)? > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Good to discuss this so that I can take it into account. Thanks > >> > > >> again for > >> > > >> > > > >> > > >> > > >> the feedback and look forward to see all this evolve...:-) > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Kind regards, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Ed > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > Hi Ed, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Thanks! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > This feature is now finished and deployed but we're waiting > for > >> > > >> > support > >> > > >> > > > >> > > >> > > >> > in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form > >> > > >> > builder > >> > > >> > > > >> > > >> > > >> > (XLSForm) before it can actually be used. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Latest version is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Yes, enketo.org is available as a paid service (with a free > >> > > >> > level) or > >> > > >> > > > >> > > >> > > >> > for free on formhub.org. The code for this widget is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Cheers, > >> > > >> > > > >> > > >> > > >> > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Tue, Apr 8, 2014 at 5:10 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Dear Martijn, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > I looked at the early preview and it looks existing! In your > mail > >> > > >> > you > >> > > >> > > > >> > > >> > > >> > are referring to Enketo which is partly a paid service. Will > this > >> > > >> > tool > >> > > >> > > > >> > > >> > > >> > (geoshape/geoline) also become available as opensource (ODK > >> > > >> > collect and ODK > >> > > >> > > > >> > > >> > > >> > aggregate)? If so, can you indicate when this will be > available? > >> > > >> > I am busy > >> > > >> > > > >> > > >> > > >> > setting up a large fieldwork campaign for sustainable > agriculture > >> > > >> > projects > >> > > >> > > > >> > > >> > > >> > with small holder farmers in Afrika and South America for > which > >> > > >> > this tool > >> > > >> > > > >> > > >> > > >> > would be very valuable. Would be good to know if I can > implement > >> > > >> > these > >> > > >> > > > >> > > >> > > >> > features (polygons and polylines) in my ODK forms and > aggregate > >> > > >> > service. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > FYI: The link between Enketo and ODK is not yet entirely clear > to > >> > > >> > me > >> > > >> > > > >> > > >> > > >> > that is also why I am asking. Thanks for the feedback! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Kind regards, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Ed > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > An early preview for those interested. Feedback welcome > >> > > >> > > (especially on > >> > > >> > > > >> > > >> > > >> > > UX). http://goo.gl/z1yCdo > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Hi, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > A dedicated polygon (geoshape) widget will be built-in to > >> > > >> > > Enketo and > >> > > >> > > > >> > > >> > > >> > > is planned to become available next month. Read more details > >> > > >> > > here: > >> > > >> > > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/issues/89. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Cheers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Saturday, March 15, 2014 8:49:09 AM UTC-6, > 4est...@gmail.com > >> > > >> > > > >> > > >> > > >> > > wrote:Dear developers, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > ...

thanks for getting back to me, Mitch.

is there a timeline for these widgets to be coded into ODK Collect /
Formhub?

··· On Mon, Jun 30, 2014 at 4:22 PM, Mitch Sundt wrote:

ODK Collect does not have a geoshape / geotrace capture widget. Trung's
team has created one, but it hasn't been stabilized and contributed back to
the main codebase.

On Fri, Jun 27, 2014 at 1:35 PM, igardner@tns.org wrote:

Hi all, do we have support from Formhub for the new geoshape and geotrace
widgets along with the newest release of ODK Collect?

Thanks!

On Wednesday, June 11, 2014 2:54:43 AM UTC-4, Trung Dang Le wrote:

Hi All,
We have updated and tested the next version of ODK collect that has
widgets for geoline and geoshape. The new version can be download here:
https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk
(again, a form to test can be downloaded here:
https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml)

We hope the version is good enough. And we're ready to share the code
so that the CORE team can incorporate into the next release.

Cheers,
Trung.

On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote:
Hi, Trung.

I'm looking forward to get this feature in the next version of ODK
Collect. Will you contribute this feature?

Regards

On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote:
Dear Yaw,
Many thanks for your useful comments. Our team is working on them.
And the next version will also include map-based inputs.

On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:Trung,

I tried it a bit and the functionality is there. Thanks for building it!

Icons weren't intuitive to me. X is for removing the last point, but

it could also be cancel and close window. Save saves the current point

but it could also be save the form. Maybe a place mark with a plus for

add and a minus to remove. Maybe use text labels so it's clear (and

localizable). Also maybe move the buttons down so they don't cover up

the gray bar at top.

Do you have a plan for supporting map based input? That is, users will

probably want to select a place on the map and add a pin there.

Yaw

--

Need ODK services? http://nafundi.com provides form design, server

setup, professional support, and software development for ODK.

On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le trung...@gmail.com wrote:

Anyone has tested the Collect version with geoshape and geoline yet?

On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote:

That's great to hear Trung.

The feature has now officially launched in Enketo too:

http://blog.enketo.org/geo/

On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote:

Hi all,

I'm happy to announce that folks at RT Lab (RTA) has built a version
of

ODK collect that is able to capture geoline and geoshape. We have
tested and

everything seems fine but it would be great that the community tests
it and

gives us feedback. Once everything is alright, we will contribute
the codes

to the Core team so that it can be integrated in the official ODK
Collect.

Please download the ODK Collect version here:

https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk

Some forms we use to test the functionality:

https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml

Thanks,

Trung.

On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote:

Dear Trung,

Any progress on this. Capturing polygons and polyline is really much

needed requirement. It will ease geo-data collection.

Thanks

On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote:

Dear Mitch,

I wrote to you yesterday saying that our team at Real-Time
Analytics in

Vietnam has committed to writing widgets for taking polygon and
polyline. We

are happy to contribute the code to the team. I said we needed a
week to get

it done but likely we will finalize it faster.

Please let me know.

Best,

Trung.

On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote:

Dear Yaw and Martijn,

Thanks for this explanation. Very clear and good to hear that
one can

help building the tool. Pretty logical of course with open
source, but now

the process is a bit more clear. I will certainly look for ways
how our

organisation can contribute to the development of the ODK
functionality.

Kind regards,

Ed

On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Up to now, implementing your tool for testing seems quite
technical

and only accessible to programming experts that are acquintanced
with

Xforms. Am I correct? As an end-user I am only working with
XLSForms, not

within Xforms directly

No, it won't be technical at all once the new datatypes
(geoshape and

geotrace) have been added to XLSForm (and once the next ODK
Aggregate

version is released, I believe). A company called Ona has
committed to do

the XLSForm work. After that implementing it is the same as any
other type

of question (type=text, type=geoshape, type=integer, etc).

However, note that Enketo and ODK Collect are 2 different
applications

that do more or less the same. It will initially only work in
Enketo (as Yaw

mentioned implementing this in ODK Collect means hiring someone
(like the

good folks at Nafundi) or developing it yourself.)

Cheers,

Martijn

On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed,

In general if you want something added to ODK you shouldn't wait
for

the core team to do it. You should building (yourself or by
funding a

developer) and the core team will most certainly merge it into
the

core.

Yaw

--

Need ODK services? http://nafundi.com provides form design,
server

setup, professional support, and software development for ODK.

On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert cro...@surveycto.com wrote:

I'll just mention this since it's somewhat related to this

discussion: we

just added two new functions to SurveyCTO, for our upcoming
1.21

release:

distance-between(geopointfield1, geopointfield2): Returns the

distance, in

meters, between two geopoint fields (as in the calculate
expression

"distance-between(${start_gps}, ${end_gps})"). (Keep in mind
that

the

accuracy of the distance calculated will depend on the
accuracy of

the GPS

readings, so try to be sure to get accurate GPS readings.)

enclosed-area(repeatedgeopointfield): Returns the area
enclosed, in

square-meters, within a series of repeated geopoint fields (as
in

the

calculate expression "enclosed-area(${gps_reading})", called
outside

a

repeat group that includes the gps_reading field). (Keep in
mind

that the

accuracy of the area calculated will depend on the accuracy of
the

GPS

readings, so try to be sure to get accurate GPS readings.)

For the latter function, it is a series of repeated geopoint
fields

rather

than a single geoshape; and for the former it is two individual

geopoint

fields rather than a single geoline. We implemented these on
the

spur of the

moment to support an existing customer, and they seemed
potentially

useful

for other SurveyCTO customers as well.

As geoline and geoshape become supported throughout the
toolset, we

can

easily convert these functions to take those field types as

parameters.

Best,

Chris

On Mon, Apr 14, 2014 at 7:24 AM, 4est...@gmail.com wrote:

Hi Martijn,

Very glad to hear that this application becomes open source.
As

explained,

I am an end-user, trying to dig into this technical XML en ODK

stuff because

it is very useful to me and my workfield. I am planning to
try to

find some

financing so that the community can build in extra ODK

functionality for

support sustainable land use projects. I have clear ideas for
what

is needed

within the sustainable land use community. As said before,
one of

the most

important things here is that you can map an area
automatically (by

walking

around a parcel, just as the tracking mode with GPS, taking a

coordinate

based on a time period or distance setting) and add
attributes to

that area.

Up to now, implementing your tool for testing seems qiete
technical

and only

accessible to programming experts that are acquintanced with

Xforms. Am I

correct? As an end-user I am only working with XLSForms, not
within

Xforms

directly. So at the moment the matter remains too technical
for me.

For both Mitch and you:

How could we start a traject for making this tool user
friendly

within ODK

so that everyone who used ODK collect/ODK-build (XLSForms) and

Aggregate

could use this tool? Would additional financing speed things
up or

do I just

have to be more pacient with ODK...? So how does this work if
I

find some

financing for further development: Can I just apply to build
this

application within ODK (collect/build/aggregate)?

Good to discuss this so that I can take it into account.
Thanks

again for

the feedback and look forward to see all this evolve...:slight_smile:

Kind regards,

Ed

On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Thanks!

This feature is now finished and deployed but we're waiting
for

support

in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form

builder

(XLSForm) before it can actually be used.

Latest version is here:

https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml

Yes, enketo.org is available as a paid service (with a free

level) or

for free on formhub.org. The code for this widget is here:

https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo.

Cheers,

Martijn

On Tue, Apr 8, 2014 at 5:10 AM, 4est...@gmail.com wrote:

Dear Martijn,

I looked at the early preview and it looks existing! In
your mail

you

are referring to Enketo which is partly a paid service.
Will this

tool

(geoshape/geoline) also become available as opensource (ODK

collect and ODK

aggregate)? If so, can you indicate when this will be
available?

I am busy

setting up a large fieldwork campaign for sustainable
agriculture

projects

with small holder farmers in Afrika and South America for
which

this tool

would be very valuable. Would be good to know if I can
implement

these

features (polygons and polylines) in my ODK forms and
aggregate

service.

FYI: The link between Enketo and ODK is not yet entirely
clear to

me

that is also why I am asking. Thanks for the feedback!

Kind regards,

Ed

On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote:

An early preview for those interested. Feedback welcome

(especially on

UX). http://goo.gl/z1yCdo

On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote:

Hi,

A dedicated polygon (geoshape) widget will be built-in to

Enketo and

is planned to become available next month. Read more
details

here:

https://github.com/MartijnR/enketo-core/issues/89.

Cheers,

Martijn

On Saturday, March 15, 2014 8:49:09 AM UTC-6,
4est...@gmail.com

wrote:Dear developers,

I am not a technical expert but I am working in
sustainable

land use

in development countries. I am using ODK for our small
holder

projects to

collect field data in an efficient manner. In my work
field we

work with

areas (polygons); many of the field data is related to an
area

unit rather

than to a single point. Hence, a polygon option in ODK and

connecting

attribute data to these polygons would be ideal for my
work. I

am sure that

many my colleagues work...

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/AfVgKcpE6Jk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Isaac Gardner
Field Manager - Mango | TechnoServe Haiti
igardner@tns.org | +509 31548879

Dear Trung,
I am using the RT version of odk collect. For some reason it crashes when I try to click record geoshape or geotrace.
I have tried on two different phones. Can you please help. It is working fine for ordinary forms, only geoshape crashes it.
Please support

Hey Trung, I'd love to get in on the "testing" of this build but, alas, I'm not too savvy with .xml as all my ODK/Formhub experience is with xlsform. Is there a crash course on how to get this on my device to test. I'll be more than happy to provide any feedback I come across as well! Thanks in advance..

··· On Friday, July 11, 2014 6:57:41 AM UTC-4, Trung Dang Le wrote: > Hi Eddy and Isaac, > What Eddy has just suggested is a way that coordinates are obtained automatically. We actually have to deal with, for instance, how frequently the coordinates should be taken. I guess we won't support it this time. > > > > We have been waiting for feedback from the communicity since the last communication. In terms of shareing the code, we are more than happy sharing and already ready to share. If the community thinks it's good enough, let us share with the core team. > > > Please let us know. > Thanks, > Trung. > > > > On Friday, July 11, 2014 4:25:56 PM UTC+7, Eddy Rellum wrote: > Dear Trung, > > I tested it. Looks great already. Indeed, the buttons are not yet very intuitive, so this could maybe improved a bit. Ideally, there would be a track button in it where you just have to push a "start GPS record"- button and a "stop GPS-record" button. After stopping, you get the option to select a line or a polygon (it automatically closes the line then). However, I don't want to be negative, this is already a very good and promising start! Any news when this functionality will be build in XLSForms so that I can add this button to my forms? > > Thanks for the feedback. > > regards, > > Eddy > > On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote: > Hi All, > We have updated and tested the next version of ODK collect that has widgets for geoline and geoshape. The new version can be download here: https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk > (again, a form to test can be downloaded here: https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml) > > > We hope the version is good enough. And we're ready to share the code so that the CORE team can incorporate into the next release. > > > Cheers, > Trung. > > > On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote: > Hi, Trung. > > > I'm looking forward to get this feature in the next version of ODK Collect. Will you contribute this feature? > > > Regards > > On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote: > Dear Yaw, > Many thanks for your useful comments. Our team is working on them. > And the next version will also include map-based inputs. > > > > On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:Trung, > > > > I tried it a bit and the functionality is there. Thanks for building it! > > > > Icons weren't intuitive to me. X is for removing the last point, but > > it could also be cancel and close window. Save saves the current point > > but it could also be save the form. Maybe a place mark with a plus for > > add and a minus to remove. Maybe use text labels so it's clear (and > > localizable). Also maybe move the buttons down so they don't cover up > > the gray bar at top. > > > > Do you have a plan for supporting map based input? That is, users will > > probably want to select a place on the map and add a pin there. > > > > Yaw > > -- > > Need ODK services? http://nafundi.com provides form design, server > > setup, professional support, and software development for ODK. > > > > On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le wrote: > > > Anyone has tested the Collect version with geoshape and geoline yet? > > > > > > > > > On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote: > > >> > > >> That's great to hear Trung. > > >> > > >> The feature has now officially launched in Enketo too: > > >> http://blog.enketo.org/geo/ > > >> > > >> On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote: > > >> > > >> Hi all, > > >> I'm happy to announce that folks at RT Lab (RTA) has built a version of > > >> ODK collect that is able to capture geoline and geoshape. We have tested and > > >> everything seems fine but it would be great that the community tests it and > > >> gives us feedback. Once everything is alright, we will contribute the codes > > >> to the Core team so that it can be integrated in the official ODK Collect. > > >> > > >> Please download the ODK Collect version here: > > >> https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk > > >> Some forms we use to test the functionality: > > >> - > > >> https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml > > >> - https://www.dropbox.com/s/tvsqrvk5gx0bbbd/ODK%20-%20geo.xml > > >> > > >> Thanks, > > >> Trung. > > >> > > >> On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote: > > >> > > >> Dear Trung, > > >> > > >> Any progress on this. Capturing polygons and polyline is really much > > >> needed requirement. It will ease geo-data collection. > > >> > > >> Thanks > > >> > > >> On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote: > > >> > Dear Mitch, > > >> > > > >> > > > >> > > > >> > I wrote to you yesterday saying that our team at Real-Time Analytics in > > >> > Vietnam has committed to writing widgets for taking polygon and polyline. We > > >> > are happy to contribute the code to the team. I said we needed a week to get > > >> > it done but likely we will finalize it faster. > > >> > > > >> > > > >> > > > >> > Please let me know. > > >> > > > >> > Best, > > >> > > > >> > Trung. > > >> > > > >> > > > >> > > > >> > On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote: > > >> > > > >> > > Dear Yaw and Martijn, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Thanks for this explanation. Very clear and good to hear that one can > > >> > > help building the tool. Pretty logical of course with open source, but now > > >> > > the process is a bit more clear. I will certainly look for ways how our > > >> > > organisation can contribute to the development of the ODK functionality. > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Kind regards, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Ed > > >> > > > >> > > > > >> > > > >> > > On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote: > > >> > > > >> > > Hi Ed, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Up to now, implementing your tool for testing seems quite technical > > >> > > and only accessible to programming experts that are acquintanced with > > >> > > Xforms. Am I correct? As an end-user I am only working with XLSForms, not > > >> > > within Xforms directly > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > No, it won't be technical at all once the new datatypes (geoshape and > > >> > > geotrace) have been added to XLSForm (and once the next ODK Aggregate > > >> > > version is released, I believe). A company called Ona has committed to do > > >> > > the XLSForm work. After that implementing it is the same as any other type > > >> > > of question (type=text, type=geoshape, type=integer, etc). > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > However, note that Enketo and ODK Collect are 2 different applications > > >> > > that do more or less the same. It will initially only work in Enketo (as Yaw > > >> > > mentioned implementing this in ODK Collect means hiring someone (like the > > >> > > good folks at Nafundi) or developing it yourself.) > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Cheers, > > >> > > > >> > > Martijn > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed, > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > In general if you want something added to ODK you shouldn't wait for > > >> > > > >> > > > > >> > > > >> > > the core team to do it. You should building (yourself or by funding a > > >> > > > >> > > > > >> > > > >> > > developer) and the core team will most certainly merge it into the > > >> > > > >> > > > > >> > > > >> > > core. > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > Yaw > > >> > > > >> > > > > >> > > > >> > > -- > > >> > > > >> > > > > >> > > > >> > > Need ODK services? http://nafundi.com provides form design, server > > >> > > > >> > > > > >> > > > >> > > setup, professional support, and software development for ODK. > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert wrote: > > >> > > > >> > > > > >> > > > >> > > > I'll just mention this since it's somewhat related to this > > >> > > > discussion: we > > >> > > > >> > > > > >> > > > >> > > > just added two new functions to SurveyCTO, for our upcoming 1.21 > > >> > > > release: > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > distance-between(geopointfield1, geopointfield2): Returns the > > >> > > > distance, in > > >> > > > >> > > > > >> > > > >> > > > meters, between two geopoint fields (as in the calculate expression > > >> > > > >> > > > > >> > > > >> > > > "distance-between(${start_gps}, ${end_gps})"). (Keep in mind that > > >> > > > the > > >> > > > >> > > > > >> > > > >> > > > accuracy of the distance calculated will depend on the accuracy of > > >> > > > the GPS > > >> > > > >> > > > > >> > > > >> > > > readings, so try to be sure to get accurate GPS readings.) > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > enclosed-area(repeatedgeopointfield): Returns the area enclosed, in > > >> > > > >> > > > > >> > > > >> > > > square-meters, within a series of repeated geopoint fields (as in > > >> > > > the > > >> > > > >> > > > > >> > > > >> > > > calculate expression "enclosed-area(${gps_reading})", called outside > > >> > > > a > > >> > > > >> > > > > >> > > > >> > > > repeat group that includes the gps_reading field). (Keep in mind > > >> > > > that the > > >> > > > >> > > > > >> > > > >> > > > accuracy of the area calculated will depend on the accuracy of the > > >> > > > GPS > > >> > > > >> > > > > >> > > > >> > > > readings, so try to be sure to get accurate GPS readings.) > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > For the latter function, it is a series of repeated geopoint fields > > >> > > > rather > > >> > > > >> > > > > >> > > > >> > > > than a single geoshape; and for the former it is two individual > > >> > > > geopoint > > >> > > > >> > > > > >> > > > >> > > > fields rather than a single geoline. We implemented these on the > > >> > > > spur of the > > >> > > > >> > > > > >> > > > >> > > > moment to support an existing customer, and they seemed potentially > > >> > > > useful > > >> > > > >> > > > > >> > > > >> > > > for other SurveyCTO customers as well. > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > As geoline and geoshape become supported throughout the toolset, we > > >> > > > can > > >> > > > >> > > > > >> > > > >> > > > easily convert these functions to take those field types as > > >> > > > parameters. > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > Best, > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > Chris > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > > > >> > > > >> > > > > >> > > > >> > > > On Mon, Apr 14, 2014 at 7:24 AM, <4est...@gmail.com> wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Hi Martijn, > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Very glad to hear that this application becomes open source. As > > >> > > >> explained, > > >> > > > >> > > > > >> > > > >> > > >> I am an end-user, trying to dig into this technical XML en ODK > > >> > > >> stuff because > > >> > > > >> > > > > >> > > > >> > > >> it is very useful to me and my workfield. I am planning to try to > > >> > > >> find some > > >> > > > >> > > > > >> > > > >> > > >> financing so that the community can build in extra ODK > > >> > > >> functionality for > > >> > > > >> > > > > >> > > > >> > > >> support sustainable land use projects. I have clear ideas for what > > >> > > >> is needed > > >> > > > >> > > > > >> > > > >> > > >> within the sustainable land use community. As said before, one of > > >> > > >> the most > > >> > > > >> > > > > >> > > > >> > > >> important things here is that you can map an area automatically (by > > >> > > >> walking > > >> > > > >> > > > > >> > > > >> > > >> around a parcel, just as the tracking mode with GPS, taking a > > >> > > >> coordinate > > >> > > > >> > > > > >> > > > >> > > >> based on a time period or distance setting) and add attributes to > > >> > > >> that area. > > >> > > > >> > > > > >> > > > >> > > >> Up to now, implementing your tool for testing seems qiete technical > > >> > > >> and only > > >> > > > >> > > > > >> > > > >> > > >> accessible to programming experts that are acquintanced with > > >> > > >> Xforms. Am I > > >> > > > >> > > > > >> > > > >> > > >> correct? As an end-user I am only working with XLSForms, not within > > >> > > >> Xforms > > >> > > > >> > > > > >> > > > >> > > >> directly. So at the moment the matter remains too technical for me. > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> For both Mitch and you: > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> How could we start a traject for making this tool user friendly > > >> > > >> within ODK > > >> > > > >> > > > > >> > > > >> > > >> so that everyone who used ODK collect/ODK-build (XLSForms) and > > >> > > >> Aggregate > > >> > > > >> > > > > >> > > > >> > > >> could use this tool? Would additional financing speed things up or > > >> > > >> do I just > > >> > > > >> > > > > >> > > > >> > > >> have to be more pacient with ODK...? So how does this work if I > > >> > > >> find some > > >> > > > >> > > > > >> > > > >> > > >> financing for further development: Can I just apply to build this > > >> > > > >> > > > > >> > > > >> > > >> application within ODK (collect/build/aggregate)? > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Good to discuss this so that I can take it into account. Thanks > > >> > > >> again for > > >> > > > >> > > > > >> > > > >> > > >> the feedback and look forward to see all this evolve...:-) > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Kind regards, > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> Ed > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> > > >> > > > >> > > > > >> > > > >> > > >> On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote: > > >> > > > >> > > > > >> > > > >> > > >> > Hi Ed, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Thanks! > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > This feature is now finished and deployed but we're waiting for > > >> > > >> > support > > >> > > > >> > > > > >> > > > >> > > >> > in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form > > >> > > >> > builder > > >> > > > >> > > > > >> > > > >> > > >> > (XLSForm) before it can actually be used. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Latest version is here: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > >> > https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Yes, enketo.org is available as a paid service (with a free > > >> > > >> > level) or > > >> > > > >> > > > > >> > > > >> > > >> > for free on formhub.org. The code for this widget is here: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > >> > https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Cheers, > > >> > > > >> > > > > >> > > > >> > > >> > Martijn > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > On Tue, Apr 8, 2014 at 5:10 AM, <4est...@gmail.com> wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Dear Martijn, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > I looked at the early preview and it looks existing! In your mail > > >> > > >> > you > > >> > > > >> > > > > >> > > > >> > > >> > are referring to Enketo which is partly a paid service. Will this > > >> > > >> > tool > > >> > > > >> > > > > >> > > > >> > > >> > (geoshape/geoline) also become available as opensource (ODK > > >> > > >> > collect and ODK > > >> > > > >> > > > > >> > > > >> > > >> > aggregate)? If so, can you indicate when this will be available? > > >> > > >> > I am busy > > >> > > > >> > > > > >> > > > >> > > >> > setting up a large fieldwork campaign for sustainable agriculture > > >> > > >> > projects > > >> > > > >> > > > > >> > > > >> > > >> > with small holder farmers in Afrika and South America for which > > >> > > >> > this tool > > >> > > > >> > > > > >> > > > >> > > >> > would be very valuable. Would be good to know if I can implement > > >> > > >> > these > > >> > > > >> > > > > >> > > > >> > > >> > features (polygons and polylines) in my ODK forms and aggregate > > >> > > >> > service. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > FYI: The link between Enketo and ODK is not yet entirely clear to > > >> > > >> > me > > >> > > > >> > > > > >> > > > >> > > >> > that is also why I am asking. Thanks for the feedback! > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Kind regards, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > Ed > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > An early preview for those interested. Feedback welcome > > >> > > >> > > (especially on > > >> > > > >> > > > > >> > > > >> > > >> > > UX). http://goo.gl/z1yCdo > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote: > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > Hi, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > A dedicated polygon (geoshape) widget will be built-in to > > >> > > >> > > Enketo and > > >> > > > >> > > > > >> > > > >> > > >> > > is planned to become available next month. Read more details > > >> > > >> > > here: > > >> > > > >> > > > > >> > > > >> > > >> > > https://github.com/MartijnR/enketo-core/issues/89. > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > Cheers, > > >> > > > >> > > > > >> > > > >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > Martijn > > >> > > > >> > > > > >> > > > >> > > >> > > > >>...

Never mind I got it. I needed to return the string as a new StringData(s);

Thanks!!!

··· On Thursday, July 31, 2014 4:24:14 PM UTC+2, Jon Nordling wrote: > > I have successfully returned the GeoShapeData object data to the ODK > widget however it does not seem to save. When I move the the next screen > (or question) and then back the data has been removed and was not saved to > the instance. Im not sure what or where the problem is. > > it gets passed a string like this 36.15524344399181 -81.80068351328373 0.0 > 0.0; 37.092621633465136 -98.3268303796649 0.0 0.0; 31.962375302600794 > -92.09862772375345 0.0 0.0; 36.15524344399181 -81.80068351328373 0.0 0.0; > Any suggestion? > > In the GeoShapeWidget the answer is generated looking like: > public IAnswerData getAnswer() { > // TODO Auto-generated method stub > GeoShapeData data = new GeoShapeData(); > ArrayList list = new ArrayList(); > String s = mStringAnswer.getText().toString(); > if (s == null || s.equals("")) { > return null; > } else { > try { > String[] sa = s.split(";"); > for (int i=0;i String[] sp = sa[i].split(" "); > double gp[] = new double[4]; > gp[0] = Double.valueOf(sp[0]).doubleValue(); > gp[1] = Double.valueOf(sp[1]).doubleValue(); > gp[2] = Double.valueOf(sp[2]).doubleValue(); > gp[3] = Double.valueOf(sp[3]).doubleValue(); > list.add(gp); > } > GeoShape shape = new GeoShape(list); > return new GeoShapeData(shape); > } catch (NumberFormatException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > return null; > } > } > } > > On Thursday, July 31, 2014 1:25:51 PM UTC+2, Jon Nordling wrote: > > Hello Trung, > > I am working on some custom functional for some of our projects. I started > developing a widget for my ODK Collect build and the GeoShape data type, im > having a bit of trouble getting the IAnswerData getAnswer() function to > save and except the new data type. Is it possible to look at the src for > these widgets, I tried the APK and it would be great to uses these widgets > you have created. > > Jon > > On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote: > > Hi All, > We have updated and tested the next version of ODK collect that has > widgets for geoline and geoshape. The new version can be download here: > https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk > (again, a form to test can be downloaded here: > https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml) > > We hope the version is good enough. And we're ready to share the code so > that the CORE team can incorporate into the next release. > > Cheers, > Trung. > > > On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote: > > Hi, Trung. > > I'm looking forward to get this feature in the next version of ODK > Collect. Will you contribute this feature? > > Regards > > On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote: > > Dear Yaw, > Many thanks for your useful comments. Our team is working on them. > And the next version will also include map-based inputs. > > > On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote: > > Trung, > > I tried it a bit and the functionality is there. Thanks for building it! > > Icons weren't intuitive to me. X is for removing the last point, but > it could also be cancel and close window. Save saves the current point > but it could also be save the form. Maybe a place mark with a plus for > add and a minus to remove. Maybe use text labels so it's clear (and > localizable). Also maybe move the buttons down so they don't cover up > the gray bar at top. > > Do you have a plan for supporting map based input? That is, users will > probably want to select a place on the map and add a pin there. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le wrote: > > Anyone has tested the Collect version with geoshape and geoline yet? > > > > > > On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote: > >> > >> That's great to hear Trung. > >> > >> The feature has now officially launched in Enketo too: > >> http://blog.enketo.org/geo/ > >> > >> On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote: > >> > >> Hi all, > >> I'm happy to announce that folks at RT Lab (RTA) has built a version of > >> ODK collect that is able to capture geoline and geoshape. We have > tested and > >> everything seems fine but it would be great that the community tests it > and > >> gives us feedback. Once everything is alright, we will contribute the > codes > >> to the Core team so that it can be integrated in the official ODK > Collect. > >> > >> Please download the ODK Collect version here: > >> https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk > >> Some forms we use to test the functionality: > >> - > >> > https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml > >> - https://www.dropbox.com/s/tvsqrvk5gx0bbbd/ODK%20-%20geo.xml > >> > >> Thanks, > >> Trung. > >> > >> On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote: > >> > >> Dear Trung, > >> > >> Any progress on this. Capturing polygons and polyline is really much > >> needed requirement. It will ease geo-data collection. > >> > >> Thanks > >> > >> On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote: > >> > Dear Mitch, > >> > > >> > > >> > > >> > I wrote to you yesterday saying that our team at Real-Time Analytics > in > >> > Vietnam has committed to writing widgets for taking polygon and > polyline. We > >> > are happy to contribute the code to the team. I said we needed a week > to get > >> > it done but likely we will finalize it faster. > >> > > >> > > >> > > >> > Please let me know. > >> > > >> > Best, > >> > > >> > Trung. > >> > > >> > > >> > > >> > On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote: > >> > > >> > > Dear Yaw and Martijn, > >> > > >> > > > >> > > >> > > > >> > > >> > > Thanks for this explanation. Very clear and good to hear that one > can > >> > > help building the tool. Pretty logical of course with open source, > but now > >> > > the process is a bit more clear. I will certainly look for ways how > our > >> > > organisation can contribute to the development of the ODK > functionality. > >> > > >> > > > >> > > >> > > > >> > > >> > > Kind regards, > >> > > >> > > > >> > > >> > > > >> > > >> > > Ed > >> > > >> > > > >> > > >> > > On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > Hi Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > Up to now, implementing your tool for testing seems quite technical > >> > > and only accessible to programming experts that are acquintanced > with > >> > > Xforms. Am I correct? As an end-user I am only working with > XLSForms, not > >> > > within Xforms directly > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > No, it won't be technical at all once the new datatypes (geoshape > and > >> > > geotrace) have been added to XLSForm (and once the next ODK > Aggregate > >> > > version is released, I believe). A company called Ona has committed > to do > >> > > the XLSForm work. After that implementing it is the same as any > other type > >> > > of question (type=text, type=geoshape, type=integer, etc). > >> > > >> > > > >> > > >> > > > >> > > >> > > However, note that Enketo and ODK Collect are 2 different > applications > >> > > that do more or less the same. It will initially only work in > Enketo (as Yaw > >> > > mentioned implementing this in ODK Collect means hiring someone > (like the > >> > > good folks at Nafundi) or developing it yourself.) > >> > > >> > > > >> > > >> > > > >> > > >> > > Cheers, > >> > > >> > > Martijn > >> > > >> > > > >> > > >> > > > >> > > >> > > On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed, > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > In general if you want something added to ODK you shouldn't wait > for > >> > > >> > > > >> > > >> > > the core team to do it. You should building (yourself or by funding > a > >> > > >> > > > >> > > >> > > developer) and the core team will most certainly merge it into the > >> > > >> > > > >> > > >> > > core. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > Yaw > >> > > >> > > > >> > > >> > > -- > >> > > >> > > > >> > > >> > > Need ODK services? http://nafundi.com provides form design, server > >> > > >> > > > >> > > >> > > setup, professional support, and software development for ODK. > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert wrote: > >> > > >> > > > >> > > >> > > > I'll just mention this since it's somewhat related to this > >> > > > discussion: we > >> > > >> > > > >> > > >> > > > just added two new functions to SurveyCTO, for our upcoming 1.21 > >> > > > release: > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > distance-between(geopointfield1, geopointfield2): Returns the > >> > > > distance, in > >> > > >> > > > >> > > >> > > > meters, between two geopoint fields (as in the calculate > expression > >> > > >> > > > >> > > >> > > > "distance-between(${start_gps}, ${end_gps})"). (Keep in mind that > >> > > > the > >> > > >> > > > >> > > >> > > > accuracy of the distance calculated will depend on the accuracy > of > >> > > > the GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > enclosed-area(repeatedgeopointfield): Returns the area enclosed, > in > >> > > >> > > > >> > > >> > > > square-meters, within a series of repeated geopoint fields (as in > >> > > > the > >> > > >> > > > >> > > >> > > > calculate expression "enclosed-area(${gps_reading})", called > outside > >> > > > a > >> > > >> > > > >> > > >> > > > repeat group that includes the gps_reading field). (Keep in mind > >> > > > that the > >> > > >> > > > >> > > >> > > > accuracy of the area calculated will depend on the accuracy of > the > >> > > > GPS > >> > > >> > > > >> > > >> > > > readings, so try to be sure to get accurate GPS readings.) > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > For the latter function, it is a series of repeated geopoint > fields > >> > > > rather > >> > > >> > > > >> > > >> > > > than a single geoshape; and for the former it is two individual > >> > > > geopoint > >> > > >> > > > >> > > >> > > > fields rather than a single geoline. We implemented these on the > >> > > > spur of the > >> > > >> > > > >> > > >> > > > moment to support an existing customer, and they seemed > potentially > >> > > > useful > >> > > >> > > > >> > > >> > > > for other SurveyCTO customers as well. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > As geoline and geoshape become supported throughout the toolset, > we > >> > > > can > >> > > >> > > > >> > > >> > > > easily convert these functions to take those field types as > >> > > > parameters. > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Best, > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > Chris > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > On Mon, Apr 14, 2014 at 7:24 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Hi Martijn, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Very glad to hear that this application becomes open source. As > >> > > >> explained, > >> > > >> > > > >> > > >> > > >> I am an end-user, trying to dig into this technical XML en ODK > >> > > >> stuff because > >> > > >> > > > >> > > >> > > >> it is very useful to me and my workfield. I am planning to try > to > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing so that the community can build in extra ODK > >> > > >> functionality for > >> > > >> > > > >> > > >> > > >> support sustainable land use projects. I have clear ideas for > what > >> > > >> is needed > >> > > >> > > > >> > > >> > > >> within the sustainable land use community. As said before, one > of > >> > > >> the most > >> > > >> > > > >> > > >> > > >> important things here is that you can map an area automatically > (by > >> > > >> walking > >> > > >> > > > >> > > >> > > >> around a parcel, just as the tracking mode with GPS, taking a > >> > > >> coordinate > >> > > >> > > > >> > > >> > > >> based on a time period or distance setting) and add attributes > to > >> > > >> that area. > >> > > >> > > > >> > > >> > > >> Up to now, implementing your tool for testing seems qiete > technical > >> > > >> and only > >> > > >> > > > >> > > >> > > >> accessible to programming experts that are acquintanced with > >> > > >> Xforms. Am I > >> > > >> > > > >> > > >> > > >> correct? As an end-user I am only working with XLSForms, not > within > >> > > >> Xforms > >> > > >> > > > >> > > >> > > >> directly. So at the moment the matter remains too technical for > me. > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> For both Mitch and you: > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> How could we start a traject for making this tool user friendly > >> > > >> within ODK > >> > > >> > > > >> > > >> > > >> so that everyone who used ODK collect/ODK-build (XLSForms) and > >> > > >> Aggregate > >> > > >> > > > >> > > >> > > >> could use this tool? Would additional financing speed things up > or > >> > > >> do I just > >> > > >> > > > >> > > >> > > >> have to be more pacient with ODK...? So how does this work if I > >> > > >> find some > >> > > >> > > > >> > > >> > > >> financing for further development: Can I just apply to build > this > >> > > >> > > > >> > > >> > > >> application within ODK (collect/build/aggregate)? > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Good to discuss this so that I can take it into account. Thanks > >> > > >> again for > >> > > >> > > > >> > > >> > > >> the feedback and look forward to see all this evolve...:-) > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Kind regards, > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> Ed > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> > >> > > >> > > > >> > > >> > > >> On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > Hi Ed, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Thanks! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > This feature is now finished and deployed but we're waiting > for > >> > > >> > support > >> > > >> > > > >> > > >> > > >> > in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form > >> > > >> > builder > >> > > >> > > > >> > > >> > > >> > (XLSForm) before it can actually be used. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Latest version is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Yes, enketo.org is available as a paid service (with a free > >> > > >> > level) or > >> > > >> > > > >> > > >> > > >> > for free on formhub.org. The code for this widget is here: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Cheers, > >> > > >> > > > >> > > >> > > >> > Martijn > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Tue, Apr 8, 2014 at 5:10 AM, <4est...@gmail.com> wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Dear Martijn, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > I looked at the early preview and it looks existing! In your > mail > >> > > >> > you > >> > > >> > > > >> > > >> > > >> > are referring to Enketo which is partly a paid service. Will > this > >> > > >> > tool > >> > > >> > > > >> > > >> > > >> > (geoshape/geoline) also become available as opensource (ODK > >> > > >> > collect and ODK > >> > > >> > > > >> > > >> > > >> > aggregate)? If so, can you indicate when this will be > available? > >> > > >> > I am busy > >> > > >> > > > >> > > >> > > >> > setting up a large fieldwork campaign for sustainable > agriculture > >> > > >> > projects > >> > > >> > > > >> > > >> > > >> > with small holder farmers in Afrika and South America for > which > >> > > >> > this tool > >> > > >> > > > >> > > >> > > >> > would be very valuable. Would be good to know if I can > implement > >> > > >> > these > >> > > >> > > > >> > > >> > > >> > features (polygons and polylines) in my ODK forms and > aggregate > >> > > >> > service. > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > FYI: The link between Enketo and ODK is not yet entirely clear > to > >> > > >> > me > >> > > >> > > > >> > > >> > > >> > that is also why I am asking. Thanks for the feedback! > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Kind regards, > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > Ed > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote: > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > An early preview for those interested. Feedback welcome > >> > > >> > > (especially on > >> > > >> > > > >> > > >> > > >> > > UX). http://goo.gl/z1yCdo > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote: > >> > > >> > &g > > ...

No. Contact Trung to see where his team is and when they might contribute
them back to the main codebase.

··· On Tue, Jul 1, 2014 at 7:34 PM, Isaac Gardner - TNS-Haiti wrote:

thanks for getting back to me, Mitch.

is there a timeline for these widgets to be coded into ODK Collect /
Formhub?

On Mon, Jun 30, 2014 at 4:22 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

ODK Collect does not have a geoshape / geotrace capture widget. Trung's
team has created one, but it hasn't been stabilized and contributed back to
the main codebase.

On Fri, Jun 27, 2014 at 1:35 PM, igardner@tns.org wrote:

Hi all, do we have support from Formhub for the new geoshape and
geotrace widgets along with the newest release of ODK Collect?

Thanks!

On Wednesday, June 11, 2014 2:54:43 AM UTC-4, Trung Dang Le wrote:

Hi All,
We have updated and tested the next version of ODK collect that has
widgets for geoline and geoshape. The new version can be download here:
https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk
(again, a form to test can be downloaded here:
https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml)

We hope the version is good enough. And we're ready to share the code
so that the CORE team can incorporate into the next release.

Cheers,
Trung.

On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote:
Hi, Trung.

I'm looking forward to get this feature in the next version of ODK
Collect. Will you contribute this feature?

Regards

On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote:
Dear Yaw,
Many thanks for your useful comments. Our team is working on them.
And the next version will also include map-based inputs.

On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:Trung,

I tried it a bit and the functionality is there. Thanks for building
it!

Icons weren't intuitive to me. X is for removing the last point, but

it could also be cancel and close window. Save saves the current point

but it could also be save the form. Maybe a place mark with a plus for

add and a minus to remove. Maybe use text labels so it's clear (and

localizable). Also maybe move the buttons down so they don't cover up

the gray bar at top.

Do you have a plan for supporting map based input? That is, users will

probably want to select a place on the map and add a pin there.

Yaw

--

Need ODK services? http://nafundi.com provides form design, server

setup, professional support, and software development for ODK.

On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le trung...@gmail.com wrote:

Anyone has tested the Collect version with geoshape and geoline yet?

On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote:

That's great to hear Trung.

The feature has now officially launched in Enketo too:

http://blog.enketo.org/geo/

On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote:

Hi all,

I'm happy to announce that folks at RT Lab (RTA) has built a
version of

ODK collect that is able to capture geoline and geoshape. We have
tested and

everything seems fine but it would be great that the community
tests it and

gives us feedback. Once everything is alright, we will contribute
the codes

to the Core team so that it can be integrated in the official ODK
Collect.

Please download the ODK Collect version here:

https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk

Some forms we use to test the functionality:

https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml

Thanks,

Trung.

On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote:

Dear Trung,

Any progress on this. Capturing polygons and polyline is really much

needed requirement. It will ease geo-data collection.

Thanks

On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote:

Dear Mitch,

I wrote to you yesterday saying that our team at Real-Time
Analytics in

Vietnam has committed to writing widgets for taking polygon and
polyline. We

are happy to contribute the code to the team. I said we needed a
week to get

it done but likely we will finalize it faster.

Please let me know.

Best,

Trung.

On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote:

Dear Yaw and Martijn,

Thanks for this explanation. Very clear and good to hear that
one can

help building the tool. Pretty logical of course with open
source, but now

the process is a bit more clear. I will certainly look for ways
how our

organisation can contribute to the development of the ODK
functionality.

Kind regards,

Ed

On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Up to now, implementing your tool for testing seems quite
technical

and only accessible to programming experts that are
acquintanced with

Xforms. Am I correct? As an end-user I am only working with
XLSForms, not

within Xforms directly

No, it won't be technical at all once the new datatypes
(geoshape and

geotrace) have been added to XLSForm (and once the next ODK
Aggregate

version is released, I believe). A company called Ona has
committed to do

the XLSForm work. After that implementing it is the same as any
other type

of question (type=text, type=geoshape, type=integer, etc).

However, note that Enketo and ODK Collect are 2 different
applications

that do more or less the same. It will initially only work in
Enketo (as Yaw

mentioned implementing this in ODK Collect means hiring someone
(like the

good folks at Nafundi) or developing it yourself.)

Cheers,

Martijn

On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed,

In general if you want something added to ODK you shouldn't
wait for

the core team to do it. You should building (yourself or by
funding a

developer) and the core team will most certainly merge it into
the

core.

Yaw

--

Need ODK services? http://nafundi.com provides form design,
server

setup, professional support, and software development for ODK.

On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert cro...@surveycto.com wrote:

I'll just mention this since it's somewhat related to this

discussion: we

just added two new functions to SurveyCTO, for our upcoming
1.21

release:

distance-between(geopointfield1, geopointfield2): Returns the

distance, in

meters, between two geopoint fields (as in the calculate
expression

"distance-between(${start_gps}, ${end_gps})"). (Keep in mind
that

the

accuracy of the distance calculated will depend on the
accuracy of

the GPS

readings, so try to be sure to get accurate GPS readings.)

enclosed-area(repeatedgeopointfield): Returns the area
enclosed, in

square-meters, within a series of repeated geopoint fields
(as in

the

calculate expression "enclosed-area(${gps_reading})", called
outside

a

repeat group that includes the gps_reading field). (Keep in
mind

that the

accuracy of the area calculated will depend on the accuracy
of the

GPS

readings, so try to be sure to get accurate GPS readings.)

For the latter function, it is a series of repeated geopoint
fields

rather

than a single geoshape; and for the former it is two
individual

geopoint

fields rather than a single geoline. We implemented these on
the

spur of the

moment to support an existing customer, and they seemed
potentially

useful

for other SurveyCTO customers as well.

As geoline and geoshape become supported throughout the
toolset, we

can

easily convert these functions to take those field types as

parameters.

Best,

Chris

On Mon, Apr 14, 2014 at 7:24 AM, 4est...@gmail.com wrote:

Hi Martijn,

Very glad to hear that this application becomes open source.
As

explained,

I am an end-user, trying to dig into this technical XML en
ODK

stuff because

it is very useful to me and my workfield. I am planning to
try to

find some

financing so that the community can build in extra ODK

functionality for

support sustainable land use projects. I have clear ideas
for what

is needed

within the sustainable land use community. As said before,
one of

the most

important things here is that you can map an area
automatically (by

walking

around a parcel, just as the tracking mode with GPS, taking a

coordinate

based on a time period or distance setting) and add
attributes to

that area.

Up to now, implementing your tool for testing seems qiete
technical

and only

accessible to programming experts that are acquintanced with

Xforms. Am I

correct? As an end-user I am only working with XLSForms, not
within

Xforms

directly. So at the moment the matter remains too technical
for me.

For both Mitch and you:

How could we start a traject for making this tool user
friendly

within ODK

so that everyone who used ODK collect/ODK-build (XLSForms)
and

Aggregate

could use this tool? Would additional financing speed things
up or

do I just

have to be more pacient with ODK...? So how does this work
if I

find some

financing for further development: Can I just apply to build
this

application within ODK (collect/build/aggregate)?

Good to discuss this so that I can take it into account.
Thanks

again for

the feedback and look forward to see all this evolve...:slight_smile:

Kind regards,

Ed

On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Thanks!

This feature is now finished and deployed but we're
waiting for

support

in the servers (Aggregate, Formhub, Ona, SurveyCTO) and
form

builder

(XLSForm) before it can actually be used.

Latest version is here:

https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml

Yes, enketo.org is available as a paid service (with a
free

level) or

for free on formhub.org. The code for this widget is here:

https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo.

Cheers,

Martijn

On Tue, Apr 8, 2014 at 5:10 AM, 4est...@gmail.com wrote:

Dear Martijn,

I looked at the early preview and it looks existing! In
your mail

you

are referring to Enketo which is partly a paid service.
Will this

tool

(geoshape/geoline) also become available as opensource (ODK

collect and ODK

aggregate)? If so, can you indicate when this will be
available?

I am busy

setting up a large fieldwork campaign for sustainable
agriculture

projects

with small holder farmers in Afrika and South America for
which

this tool

would be very valuable. Would be good to know if I can
implement

these

features (polygons and polylines) in my ODK forms and
aggregate

service.

FYI: The link between Enketo and ODK is not yet entirely
clear to

me

that is also why I am asking. Thanks for the feedback!

Kind regards,

Ed

On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote:

An early preview for those interested. Feedback welcome

(especially on

UX). http://goo.gl/z1yCdo

On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote:

Hi,

A dedicated polygon (geoshape) widget will be built-in to

Enketo and

is planned to become available next month. Read more
details

here:

https://github.com/MartijnR/enketo-core/issues/89.

Cheers,

Martijn

On Saturday, March 15, 2014 8:49:09 AM UTC-6,
4est...@gmail.com

wrote:Dear developers,

I am not a technical expert but I am working in
sustainable

land use

in development countries. I am using ODK for our small
holder

projects to

collect field data in an efficient manner. In my work
field we

work with

areas (polygons); many of the field data is related to
an area

unit rather

than to a single point. Hence, a polygon option in ODK
and

connecting

attribute data to these polygons would be ideal for my
work. I

am sure that

many my colleagues work...

--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/AfVgKcpE6Jk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
Isaac Gardner
Field Manager - Mango | TechnoServe Haiti
igardner@tns.org | +509 31548879

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

The error appears like this

The application ODK Collect (process.odk.collect.android) has stopped unexpectedly. Please try again

··· On Sunday, July 20, 2014 10:50:44 AM UTC+5, planne...@gmail.com wrote: > Dear Trung, > I am using the RT version of odk collect. For some reason it crashes when I try to click record geoshape or geotrace. > I have tried on two different phones. Can you please help. It is working fine for ordinary forms, only geoshape crashes it. > Please support

You could upload the XLSForm that is linked at the top of this form to
Aggregate or Ona: https://geo.enketo.org/webform. Then download it to
Trung's version of ODK Collect to load it.

··· On Tue, Jul 22, 2014 at 4:12 PM, wrote:

Hey Trung, I'd love to get in on the "testing" of this build but, alas,
I'm not too savvy with .xml as all my ODK/Formhub experience is with
xlsform. Is there a crash course on how to get this on my device to test.
I'll be more than happy to provide any feedback I come across as well!
Thanks in advance..

On Friday, July 11, 2014 6:57:41 AM UTC-4, Trung Dang Le wrote:

Hi Eddy and Isaac,
What Eddy has just suggested is a way that coordinates are obtained
automatically. We actually have to deal with, for instance, how frequently
the coordinates should be taken. I guess we won't support it this time.

We have been waiting for feedback from the communicity since the last
communication. In terms of shareing the code, we are more than happy
sharing and already ready to share. If the community thinks it's good
enough, let us share with the core team.

Please let us know.
Thanks,
Trung.

On Friday, July 11, 2014 4:25:56 PM UTC+7, Eddy Rellum wrote:
Dear Trung,

I tested it. Looks great already. Indeed, the buttons are not yet very
intuitive, so this could maybe improved a bit. Ideally, there would be a
track button in it where you just have to push a "start GPS record"- button
and a "stop GPS-record" button. After stopping, you get the option to
select a line or a polygon (it automatically closes the line then).
However, I don't want to be negative, this is already a very good and
promising start! Any news when this functionality will be build in XLSForms
so that I can add this button to my forms?

Thanks for the feedback.

regards,

Eddy

On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote:
Hi All,
We have updated and tested the next version of ODK collect that has
widgets for geoline and geoshape. The new version can be download here:
https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk
(again, a form to test can be downloaded here:
https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml)

We hope the version is good enough. And we're ready to share the code so
that the CORE team can incorporate into the next release.

Cheers,
Trung.

On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote:
Hi, Trung.

I'm looking forward to get this feature in the next version of ODK
Collect. Will you contribute this feature?

Regards

On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote:
Dear Yaw,
Many thanks for your useful comments. Our team is working on them.
And the next version will also include map-based inputs.

On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:Trung,

I tried it a bit and the functionality is there. Thanks for building it!

Icons weren't intuitive to me. X is for removing the last point, but

it could also be cancel and close window. Save saves the current point

but it could also be save the form. Maybe a place mark with a plus for

add and a minus to remove. Maybe use text labels so it's clear (and

localizable). Also maybe move the buttons down so they don't cover up

the gray bar at top.

Do you have a plan for supporting map based input? That is, users will

probably want to select a place on the map and add a pin there.

Yaw

--

Need ODK services? http://nafundi.com provides form design, server

setup, professional support, and software development for ODK.

On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le trung...@gmail.com wrote:

Anyone has tested the Collect version with geoshape and geoline yet?

On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote:

That's great to hear Trung.

The feature has now officially launched in Enketo too:

http://blog.enketo.org/geo/

On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote:

Hi all,

I'm happy to announce that folks at RT Lab (RTA) has built a version
of

ODK collect that is able to capture geoline and geoshape. We have
tested and

everything seems fine but it would be great that the community tests
it and

gives us feedback. Once everything is alright, we will contribute the
codes

to the Core team so that it can be integrated in the official ODK
Collect.

Please download the ODK Collect version here:

https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk

Some forms we use to test the functionality:

https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml

Thanks,

Trung.

On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote:

Dear Trung,

Any progress on this. Capturing polygons and polyline is really much

needed requirement. It will ease geo-data collection.

Thanks

On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote:

Dear Mitch,

I wrote to you yesterday saying that our team at Real-Time
Analytics in

Vietnam has committed to writing widgets for taking polygon and
polyline. We

are happy to contribute the code to the team. I said we needed a
week to get

it done but likely we will finalize it faster.

Please let me know.

Best,

Trung.

On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote:

Dear Yaw and Martijn,

Thanks for this explanation. Very clear and good to hear that one
can

help building the tool. Pretty logical of course with open
source, but now

the process is a bit more clear. I will certainly look for ways
how our

organisation can contribute to the development of the ODK
functionality.

Kind regards,

Ed

On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Up to now, implementing your tool for testing seems quite
technical

and only accessible to programming experts that are acquintanced
with

Xforms. Am I correct? As an end-user I am only working with
XLSForms, not

within Xforms directly

No, it won't be technical at all once the new datatypes (geoshape
and

geotrace) have been added to XLSForm (and once the next ODK
Aggregate

version is released, I believe). A company called Ona has
committed to do

the XLSForm work. After that implementing it is the same as any
other type

of question (type=text, type=geoshape, type=integer, etc).

However, note that Enketo and ODK Collect are 2 different
applications

that do more or less the same. It will initially only work in
Enketo (as Yaw

mentioned implementing this in ODK Collect means hiring someone
(like the

good folks at Nafundi) or developing it yourself.)

Cheers,

Martijn

On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed,

In general if you want something added to ODK you shouldn't wait
for

the core team to do it. You should building (yourself or by
funding a

developer) and the core team will most certainly merge it into the

core.

Yaw

--

Need ODK services? http://nafundi.com provides form design,
server

setup, professional support, and software development for ODK.

On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert cro...@surveycto.com wrote:

I'll just mention this since it's somewhat related to this

discussion: we

just added two new functions to SurveyCTO, for our upcoming 1.21

release:

distance-between(geopointfield1, geopointfield2): Returns the

distance, in

meters, between two geopoint fields (as in the calculate
expression

"distance-between(${start_gps}, ${end_gps})"). (Keep in mind
that

the

accuracy of the distance calculated will depend on the accuracy
of

the GPS

readings, so try to be sure to get accurate GPS readings.)

enclosed-area(repeatedgeopointfield): Returns the area
enclosed, in

square-meters, within a series of repeated geopoint fields (as
in

the

calculate expression "enclosed-area(${gps_reading})", called
outside

a

repeat group that includes the gps_reading field). (Keep in mind

that the

accuracy of the area calculated will depend on the accuracy of
the

GPS

readings, so try to be sure to get accurate GPS readings.)

For the latter function, it is a series of repeated geopoint
fields

rather

than a single geoshape; and for the former it is two individual

geopoint

fields rather than a single geoline. We implemented these on the

spur of the

moment to support an existing customer, and they seemed
potentially

useful

for other SurveyCTO customers as well.

As geoline and geoshape become supported throughout the
toolset, we

can

easily convert these functions to take those field types as

parameters.

Best,

Chris

On Mon, Apr 14, 2014 at 7:24 AM, 4est...@gmail.com wrote:

Hi Martijn,

Very glad to hear that this application becomes open source. As

explained,

I am an end-user, trying to dig into this technical XML en ODK

stuff because

it is very useful to me and my workfield. I am planning to try
to

find some

financing so that the community can build in extra ODK

functionality for

support sustainable land use projects. I have clear ideas for
what

is needed

within the sustainable land use community. As said before, one
of

the most

important things here is that you can map an area
automatically (by

walking

around a parcel, just as the tracking mode with GPS, taking a

coordinate

based on a time period or distance setting) and add attributes
to

that area.

Up to now, implementing your tool for testing seems qiete
technical

and only

accessible to programming experts that are acquintanced with

Xforms. Am I

correct? As an end-user I am only working with XLSForms, not
within

Xforms

directly. So at the moment the matter remains too technical
for me.

For both Mitch and you:

How could we start a traject for making this tool user friendly

within ODK

so that everyone who used ODK collect/ODK-build (XLSForms) and

Aggregate

could use this tool? Would additional financing speed things
up or

do I just

have to be more pacient with ODK...? So how does this work if I

find some

financing for further development: Can I just apply to build
this

application within ODK (collect/build/aggregate)?

Good to discuss this so that I can take it into account. Thanks

again for

the feedback and look forward to see all this evolve...:slight_smile:

Kind regards,

Ed

On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Thanks!

This feature is now finished and deployed but we're waiting
for

support

in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form

builder

(XLSForm) before it can actually be used.

Latest version is here:

https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml

Yes, enketo.org is available as a paid service (with a free

level) or

for free on formhub.org. The code for this widget is here:

https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo.

Cheers,

Martijn

On Tue, Apr 8, 2014 at 5:10 AM, 4est...@gmail.com wrote:

Dear Martijn,

I looked at the early preview and it looks existing! In your
mail

you

are referring to Enketo which is partly a paid service. Will
this

tool

(geoshape/geoline) also become available as opensource (ODK

collect and ODK

aggregate)? If so, can you indicate when this will be
available?

I am busy

setting up a large fieldwork campaign for sustainable
agriculture

projects

with small holder farmers in Afrika and South America for
which

this tool

would be very valuable. Would be good to know if I can
implement

these

features (polygons and polylines) in my ODK forms and
aggregate

service.

FYI: The link between Enketo and ODK is not yet entirely
clear to

me

that is also why I am asking. Thanks for the feedback!

Kind regards,

Ed

On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote:

An early preview for those interested. Feedback welcome

(especially on

UX). http://goo.gl/z1yCdo

On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote:

Hi,

A dedicated polygon (geoshape) widget will be built-in to

Enketo and

is planned to become available next month. Read more
details

here:

https://github.com/MartijnR/enketo-core/issues/89.

Cheers,

Martijn

...

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/AfVgKcpE6Jk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Did you know that Enketo Smart Paper has now become the #1 tool for data
collection? Don't fall behind. Use it!

Enketo https://enketo.org | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/MartijnR | Twitter https://twitter.com/enketo

I believe you also don't want to end the list with a semicolon -- it should
be semi-colon separated, not semi-colon terminated.

··· On Thu, Jul 31, 2014 at 7:37 AM, Jon Nordling wrote:

Never mind I got it. I needed to return the string as a new StringData(s);

Thanks!!!

On Thursday, July 31, 2014 4:24:14 PM UTC+2, Jon Nordling wrote:

I have successfully returned the GeoShapeData object data to the ODK
widget however it does not seem to save. When I move the the next screen
(or question) and then back the data has been removed and was not saved to
the instance. Im not sure what or where the problem is.

it gets passed a string like this 36.15524344399181 -81.80068351328373
0.0 0.0; 37.092621633465136 -98.3268303796649 0.0 0.0; 31.962375302600794
-92.09862772375345 0.0 0.0; 36.15524344399181 -81.80068351328373 0.0 0.0;
Any suggestion?

In the GeoShapeWidget the answer is generated looking like:
public IAnswerData getAnswer() {
// TODO Auto-generated method stub
GeoShapeData data = new GeoShapeData();
ArrayList<double> list = new ArrayList<double>();
String s = mStringAnswer.getText().toString();
if (s == null || s.equals("")) {
return null;
} else {
try {
String sa = s.split(";");
for (int i=0;i<sa.length;i++){
String sp = sa[i].split(" ");
double gp = new double[4];
gp[0] = Double.valueOf(sp[0]).doubleValue();
gp[1] = Double.valueOf(sp[1]).doubleValue();
gp[2] = Double.valueOf(sp[2]).doubleValue();
gp[3] = Double.valueOf(sp[3]).doubleValue();
list.add(gp);
}
GeoShape shape = new GeoShape(list);
return new GeoShapeData(shape);
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return null;
}
}
}

On Thursday, July 31, 2014 1:25:51 PM UTC+2, Jon Nordling wrote:

Hello Trung,

I am working on some custom functional for some of our projects. I
started developing a widget for my ODK Collect build and the GeoShape data
type, im having a bit of trouble getting the IAnswerData getAnswer()
function to save and except the new data type. Is it possible to look at
the src for these widgets, I tried the APK and it would be great to uses
these widgets you have created.

Jon

On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote:

Hi All,
We have updated and tested the next version of ODK collect that has
widgets for geoline and geoshape. The new version can be download here:
https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk
(again, a form to test can be downloaded here: https://www.dropbox.com/
s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml)

We hope the version is good enough. And we're ready to share the code so
that the CORE team can incorporate into the next release.

Cheers,
Trung.

On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote:

Hi, Trung.

I'm looking forward to get this feature in the next version of ODK
Collect. Will you contribute this feature?

Regards

On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote:

Dear Yaw,
Many thanks for your useful comments. Our team is working on them.
And the next version will also include map-based inputs.

On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:

Trung,

I tried it a bit and the functionality is there. Thanks for building it!

Icons weren't intuitive to me. X is for removing the last point, but
it could also be cancel and close window. Save saves the current point
but it could also be save the form. Maybe a place mark with a plus for
add and a minus to remove. Maybe use text labels so it's clear (and
localizable). Also maybe move the buttons down so they don't cover up
the gray bar at top.

Do you have a plan for supporting map based input? That is, users will
probably want to select a place on the map and add a pin there.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le trung...@gmail.com wrote:

Anyone has tested the Collect version with geoshape and geoline yet?

On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote:

That's great to hear Trung.

The feature has now officially launched in Enketo too:
http://blog.enketo.org/geo/

On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote:

Hi all,
I'm happy to announce that folks at RT Lab (RTA) has built a version
of
ODK collect that is able to capture geoline and geoshape. We have
tested and
everything seems fine but it would be great that the community tests
it and
gives us feedback. Once everything is alright, we will contribute the
codes
to the Core team so that it can be integrated in the official ODK
Collect.

Please download the ODK Collect version here:
https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk
Some forms we use to test the functionality:

https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%
20-%20SAMPLE_GEO_POINT.xml

Thanks,
Trung.

On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote:

Dear Trung,

Any progress on this. Capturing polygons and polyline is really much
needed requirement. It will ease geo-data collection.

Thanks

On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote:

Dear Mitch,

I wrote to you yesterday saying that our team at Real-Time Analytics
in
Vietnam has committed to writing widgets for taking polygon and
polyline. We
are happy to contribute the code to the team. I said we needed a
week to get
it done but likely we will finalize it faster.

Please let me know.

Best,

Trung.

On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote:

Dear Yaw and Martijn,

Thanks for this explanation. Very clear and good to hear that one
can
help building the tool. Pretty logical of course with open source,
but now
the process is a bit more clear. I will certainly look for ways
how our
organisation can contribute to the development of the ODK
functionality.

Kind regards,

Ed

On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Up to now, implementing your tool for testing seems quite
technical
and only accessible to programming experts that are acquintanced
with
Xforms. Am I correct? As an end-user I am only working with
XLSForms, not
within Xforms directly

No, it won't be technical at all once the new datatypes (geoshape
and
geotrace) have been added to XLSForm (and once the next ODK
Aggregate
version is released, I believe). A company called Ona has
committed to do
the XLSForm work. After that implementing it is the same as any
other type
of question (type=text, type=geoshape, type=integer, etc).

However, note that Enketo and ODK Collect are 2 different
applications
that do more or less the same. It will initially only work in
Enketo (as Yaw
mentioned implementing this in ODK Collect means hiring someone
(like the
good folks at Nafundi) or developing it yourself.)

Cheers,

Martijn

On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed,

In general if you want something added to ODK you shouldn't wait
for

the core team to do it. You should building (yourself or by
funding a

developer) and the core team will most certainly merge it into the

core.

Yaw

--

Need ODK services? http://nafundi.com provides form design,
server

setup, professional support, and software development for ODK.

On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert cro...@surveycto.com wrote:

I'll just mention this since it's somewhat related to this
discussion: we

just added two new functions to SurveyCTO, for our upcoming 1.21
release:

distance-between(geopointfield1, geopointfield2): Returns the
distance, in

meters, between two geopoint fields (as in the calculate
expression

"distance-between(${start_gps}, ${end_gps})"). (Keep in mind
that
the

accuracy of the distance calculated will depend on the accuracy
of
the GPS

readings, so try to be sure to get accurate GPS readings.)

enclosed-area(repeatedgeopointfield): Returns the area
enclosed, in

square-meters, within a series of repeated geopoint fields (as
in
the

calculate expression "enclosed-area(${gps_reading})", called
outside
a

repeat group that includes the gps_reading field). (Keep in mind
that the

accuracy of the area calculated will depend on the accuracy of
the
GPS

readings, so try to be sure to get accurate GPS readings.)

For the latter function, it is a series of repeated geopoint
fields
rather

than a single geoshape; and for the former it is two individual
geopoint

fields rather than a single geoline. We implemented these on the
spur of the

moment to support an existing customer, and they seemed
potentially
useful

for other SurveyCTO customers as well.

As geoline and geoshape become supported throughout the toolset,
we
can

easily convert these functions to take those field types as
parameters.

Best,

Chris

On Mon, Apr 14, 2014 at 7:24 AM, 4est...@gmail.com wrote:

Hi Martijn,

Very glad to hear that this application becomes open source. As
explained,

I am an end-user, trying to dig into this technical XML en ODK
stuff because

it is very useful to me and my workfield. I am planning to try
to
find some

financing so that the community can build in extra ODK
functionality for

support sustainable land use projects. I have clear ideas for
what
is needed

within the sustainable land use community. As said before, one
of
the most

important things here is that you can map an area automatically
(by
walking

around a parcel, just as the tracking mode with GPS, taking a
coordinate

based on a time period or distance setting) and add attributes
to
that area.

Up to now, implementing your tool for testing seems qiete
technical
and only

accessible to programming experts that are acquintanced with
Xforms. Am I

correct? As an end-user I am only working with XLSForms, not
within
Xforms

directly. So at the moment the matter remains too technical for
me.

For both Mitch and you:

How could we start a traject for making this tool user friendly
within ODK

so that everyone who used ODK collect/ODK-build (XLSForms) and
Aggregate

could use this tool? Would additional financing speed things up
or
do I just

have to be more pacient with ODK...? So how does this work if I
find some

financing for further development: Can I just apply to build
this

application within ODK (collect/build/aggregate)?

Good to discuss this so that I can take it into account. Thanks
again for

the feedback and look forward to see all this evolve...:slight_smile:

Kind regards,

Ed

On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Thanks!

This feature is now finished and deployed but we're waiting
for
support

in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form
builder

(XLSForm) before it can actually be used.

Latest version is here:

https://enketo.org/webform/preview?form=http://demo-
forms.enketo.org/geo.xml

Yes, enketo.org is available as a paid service (with a free
level) or

for free on formhub.org. The code for this widget is here:

https://github.com/MartijnR/enketo-core/tree/master/src/
widget/geo.

Cheers,

Martijn

On Tue, Apr 8, 2014 at 5:10 AM, 4est...@gmail.com wrote:

Dear Martijn,

I looked at the early preview and it looks existing! In your
mail
you

are referring to Enketo which is partly a paid service. Will
this
tool

(geoshape/geoline) also become available as opensource (ODK
collect and ODK

aggregate)? If so, can you indicate when this will be
available?
I am busy

setting up a large fieldwork campaign for sustainable
agriculture
projects

with small holder farmers in Afrika and South America for
which
this tool

would be very valuable. Would be good to know if I can
implement
these

features (polygons and polylines) in my ODK forms and
aggregate
service.

FYI: The link between Enketo and ODK is not yet entirely
clear to
me

that is also why I am asking. Thanks for the feedback!

Kind regards,

Ed

On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote:

An early preview for those interested. Feedback welcome
(especially on

UX). http://goo.gl/z1yCdo

On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote:

&g

...

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Guys, we have fixed this issue and pushed the new build in the last message
(the second time I pushed RTA's version). So, if you're using the right
version, could you please provide us with more details of the bug: your
hardware, android version, screenshot of error if possible…

Otherwise, in a few days we will push our version to Google Play so you can
make sure it's the right version.

Best,
Trung.

··· On Sunday, July 20, 2014 1:26:17 PM UTC+7, planne...@gmail.com wrote: > > On Sunday, July 20, 2014 10:50:44 AM UTC+5, planne...@gmail.com wrote: > > Dear Trung, > > I am using the RT version of odk collect. For some reason it crashes > when I try to click record geoshape or geotrace. > > I have tried on two different phones. Can you please help. It is working > fine for ordinary forms, only geoshape crashes it. > > Please support > > The error appears like this > > The application ODK Collect (process.odk.collect.android) has stopped > unexpectedly. Please try again > >

To clarify further: XLSForm, ODK Validate, ODK Aggegrate already support
the new datatypes.

··· On Tue, Jul 22, 2014 at 4:21 PM, Martijn van de Rijdt wrote:

You could upload the XLSForm that is linked at the top of this form to
Aggregate or Ona: https://geo.enketo.org/webform. Then download it to
Trung's version of ODK Collect to load it.

On Tue, Jul 22, 2014 at 4:12 PM, igardner@tns.org wrote:

Hey Trung, I'd love to get in on the "testing" of this build but, alas,
I'm not too savvy with .xml as all my ODK/Formhub experience is with
xlsform. Is there a crash course on how to get this on my device to test.
I'll be more than happy to provide any feedback I come across as well!
Thanks in advance..

On Friday, July 11, 2014 6:57:41 AM UTC-4, Trung Dang Le wrote:

Hi Eddy and Isaac,
What Eddy has just suggested is a way that coordinates are obtained
automatically. We actually have to deal with, for instance, how frequently
the coordinates should be taken. I guess we won't support it this time.

We have been waiting for feedback from the communicity since the last
communication. In terms of shareing the code, we are more than happy
sharing and already ready to share. If the community thinks it's good
enough, let us share with the core team.

Please let us know.
Thanks,
Trung.

On Friday, July 11, 2014 4:25:56 PM UTC+7, Eddy Rellum wrote:
Dear Trung,

I tested it. Looks great already. Indeed, the buttons are not yet very
intuitive, so this could maybe improved a bit. Ideally, there would be a
track button in it where you just have to push a "start GPS record"- button
and a "stop GPS-record" button. After stopping, you get the option to
select a line or a polygon (it automatically closes the line then).
However, I don't want to be negative, this is already a very good and
promising start! Any news when this functionality will be build in XLSForms
so that I can add this button to my forms?

Thanks for the feedback.

regards,

Eddy

On Wednesday, June 11, 2014 8:54:43 AM UTC+2, Trung Dang Le wrote:
Hi All,
We have updated and tested the next version of ODK collect that has
widgets for geoline and geoshape. The new version can be download here:
https://www.dropbox.com/s/h1dfddzbz4b9vdw/RTA%20-%20ODK%20Collect.apk
(again, a form to test can be downloaded here:
https://www.dropbox.com/s/qdqqeu5nvgop1c1/SAMPLE_GEO_POINT.xml)

We hope the version is good enough. And we're ready to share the code
so that the CORE team can incorporate into the next release.

Cheers,
Trung.

On Monday, June 9, 2014 10:44:48 AM UTC+7, Bunhann Thou wrote:
Hi, Trung.

I'm looking forward to get this feature in the next version of ODK
Collect. Will you contribute this feature?

Regards

On Wednesday, May 28, 2014 2:44:26 AM UTC+7, Trung Dang Le wrote:
Dear Yaw,
Many thanks for your useful comments. Our team is working on them.
And the next version will also include map-based inputs.

On Tuesday, May 27, 2014 3:54:32 PM UTC+1, Yaw Anokwa wrote:Trung,

I tried it a bit and the functionality is there. Thanks for building it!

Icons weren't intuitive to me. X is for removing the last point, but

it could also be cancel and close window. Save saves the current point

but it could also be save the form. Maybe a place mark with a plus for

add and a minus to remove. Maybe use text labels so it's clear (and

localizable). Also maybe move the buttons down so they don't cover up

the gray bar at top.

Do you have a plan for supporting map based input? That is, users will

probably want to select a place on the map and add a pin there.

Yaw

--

Need ODK services? http://nafundi.com provides form design, server

setup, professional support, and software development for ODK.

On Tue, May 27, 2014 at 5:44 AM, Trung Dang Le trung...@gmail.com wrote:

Anyone has tested the Collect version with geoshape and geoline yet?

On Thursday, May 22, 2014 5:44:12 PM UTC+1, Martijn van de Rijdt wrote:

That's great to hear Trung.

The feature has now officially launched in Enketo too:

http://blog.enketo.org/geo/

On Tuesday, May 20, 2014 4:30:58 AM UTC-6, Trung Dang Le wrote:

Hi all,

I'm happy to announce that folks at RT Lab (RTA) has built a version
of

ODK collect that is able to capture geoline and geoshape. We have
tested and

everything seems fine but it would be great that the community tests
it and

gives us feedback. Once everything is alright, we will contribute
the codes

to the Core team so that it can be integrated in the official ODK
Collect.

Please download the ODK Collect version here:

https://www.dropbox.com/s/6y7v2stelqlqjk0/ODK%20Collect.apk

Some forms we use to test the functionality:

https://www.dropbox.com/s/nqchljexxgfcro4/FA%20-%20NAM%20-%20SAMPLE_GEO_POINT.xml

Thanks,

Trung.

On Tuesday, May 20, 2014 12:05:31 PM UTC+7, planne...@gmail.com wrote:

Dear Trung,

Any progress on this. Capturing polygons and polyline is really much

needed requirement. It will ease geo-data collection.

Thanks

On Friday, April 18, 2014 6:30:55 AM UTC+5, Trung Dang Le wrote:

Dear Mitch,

I wrote to you yesterday saying that our team at Real-Time
Analytics in

Vietnam has committed to writing widgets for taking polygon and
polyline. We

are happy to contribute the code to the team. I said we needed a
week to get

it done but likely we will finalize it faster.

Please let me know.

Best,

Trung.

On Tuesday, April 15, 2014 2:51:15 PM UTC+7, Eddy Rellum wrote:

Dear Yaw and Martijn,

Thanks for this explanation. Very clear and good to hear that
one can

help building the tool. Pretty logical of course with open
source, but now

the process is a bit more clear. I will certainly look for ways
how our

organisation can contribute to the development of the ODK
functionality.

Kind regards,

Ed

On Tuesday, April 15, 2014 3:02:54 AM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Up to now, implementing your tool for testing seems quite
technical

and only accessible to programming experts that are acquintanced
with

Xforms. Am I correct? As an end-user I am only working with
XLSForms, not

within Xforms directly

No, it won't be technical at all once the new datatypes
(geoshape and

geotrace) have been added to XLSForm (and once the next ODK
Aggregate

version is released, I believe). A company called Ona has
committed to do

the XLSForm work. After that implementing it is the same as any
other type

of question (type=text, type=geoshape, type=integer, etc).

However, note that Enketo and ODK Collect are 2 different
applications

that do more or less the same. It will initially only work in
Enketo (as Yaw

mentioned implementing this in ODK Collect means hiring someone
(like the

good folks at Nafundi) or developing it yourself.)

Cheers,

Martijn

On Monday, April 14, 2014 5:59:38 PM UTC-6, Yaw Anokwa wrote:Ed,

In general if you want something added to ODK you shouldn't wait
for

the core team to do it. You should building (yourself or by
funding a

developer) and the core team will most certainly merge it into
the

core.

Yaw

--

Need ODK services? http://nafundi.com provides form design,
server

setup, professional support, and software development for ODK.

On Mon, Apr 14, 2014 at 4:30 AM, Christopher Robert cro...@surveycto.com wrote:

I'll just mention this since it's somewhat related to this

discussion: we

just added two new functions to SurveyCTO, for our upcoming
1.21

release:

distance-between(geopointfield1, geopointfield2): Returns the

distance, in

meters, between two geopoint fields (as in the calculate
expression

"distance-between(${start_gps}, ${end_gps})"). (Keep in mind
that

the

accuracy of the distance calculated will depend on the
accuracy of

the GPS

readings, so try to be sure to get accurate GPS readings.)

enclosed-area(repeatedgeopointfield): Returns the area
enclosed, in

square-meters, within a series of repeated geopoint fields (as
in

the

calculate expression "enclosed-area(${gps_reading})", called
outside

a

repeat group that includes the gps_reading field). (Keep in
mind

that the

accuracy of the area calculated will depend on the accuracy of
the

GPS

readings, so try to be sure to get accurate GPS readings.)

For the latter function, it is a series of repeated geopoint
fields

rather

than a single geoshape; and for the former it is two individual

geopoint

fields rather than a single geoline. We implemented these on
the

spur of the

moment to support an existing customer, and they seemed
potentially

useful

for other SurveyCTO customers as well.

As geoline and geoshape become supported throughout the
toolset, we

can

easily convert these functions to take those field types as

parameters.

Best,

Chris

On Mon, Apr 14, 2014 at 7:24 AM, 4est...@gmail.com wrote:

Hi Martijn,

Very glad to hear that this application becomes open source.
As

explained,

I am an end-user, trying to dig into this technical XML en ODK

stuff because

it is very useful to me and my workfield. I am planning to
try to

find some

financing so that the community can build in extra ODK

functionality for

support sustainable land use projects. I have clear ideas for
what

is needed

within the sustainable land use community. As said before,
one of

the most

important things here is that you can map an area
automatically (by

walking

around a parcel, just as the tracking mode with GPS, taking a

coordinate

based on a time period or distance setting) and add
attributes to

that area.

Up to now, implementing your tool for testing seems qiete
technical

and only

accessible to programming experts that are acquintanced with

Xforms. Am I

correct? As an end-user I am only working with XLSForms, not
within

Xforms

directly. So at the moment the matter remains too technical
for me.

For both Mitch and you:

How could we start a traject for making this tool user
friendly

within ODK

so that everyone who used ODK collect/ODK-build (XLSForms) and

Aggregate

could use this tool? Would additional financing speed things
up or

do I just

have to be more pacient with ODK...? So how does this work if
I

find some

financing for further development: Can I just apply to build
this

application within ODK (collect/build/aggregate)?

Good to discuss this so that I can take it into account.
Thanks

again for

the feedback and look forward to see all this evolve...:slight_smile:

Kind regards,

Ed

On Tuesday, April 8, 2014 6:10:18 PM UTC+2, Martijn van de Rijdt wrote:

Hi Ed,

Thanks!

This feature is now finished and deployed but we're waiting
for

support

in the servers (Aggregate, Formhub, Ona, SurveyCTO) and form

builder

(XLSForm) before it can actually be used.

Latest version is here:

https://enketo.org/webform/preview?form=http://demo-forms.enketo.org/geo.xml

Yes, enketo.org is available as a paid service (with a free

level) or

for free on formhub.org. The code for this widget is here:

https://github.com/MartijnR/enketo-core/tree/master/src/widget/geo.

Cheers,

Martijn

On Tue, Apr 8, 2014 at 5:10 AM, 4est...@gmail.com wrote:

Dear Martijn,

I looked at the early preview and it looks existing! In
your mail

you

are referring to Enketo which is partly a paid service.
Will this

tool

(geoshape/geoline) also become available as opensource (ODK

collect and ODK

aggregate)? If so, can you indicate when this will be
available?

I am busy

setting up a large fieldwork campaign for sustainable
agriculture

projects

with small holder farmers in Afrika and South America for
which

this tool

would be very valuable. Would be good to know if I can
implement

these

features (polygons and polylines) in my ODK forms and
aggregate

service.

FYI: The link between Enketo and ODK is not yet entirely
clear to

me

that is also why I am asking. Thanks for the feedback!

Kind regards,

Ed

On Monday, March 24, 2014 10:40:42 PM UTC+1, Martijn van de Rijdt wrote:

An early preview for those interested. Feedback welcome

(especially on

UX). http://goo.gl/z1yCdo

On Sunday, March 16, 2014 12:29:12 PM UTC-6, Martijn van de Rijdt wrote:

Hi,

A dedicated polygon (geoshape) widget will be built-in to

Enketo and

is planned to become available next month. Read more
details

here:

https://github.com/MartijnR/enketo-core/issues/89.

Cheers,

Martijn

...

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/AfVgKcpE6Jk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Did you know that Enketo Smart Paper has now become the #1 tool for data
collection? Don't fall behind. Use it!

Enketo https://enketo.org | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/MartijnR | Twitter https://twitter.com/enketo

--
Did you know that Enketo Smart Paper has now become the #1 tool for data
collection? Don't fall behind. Use it!

Enketo https://enketo.org | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/MartijnR | Twitter https://twitter.com/enketo

Dear Trung thank you for your support. I figured out that issue, it was because of the absence of Google Play Services on those mobiles.
It seems that Googlemail play service is a prerequisite for smooth working of this version of collect. Otherwise it causes crashing. Am I right?
Please give your suggestion on the following :

  1. Is there anyway to shift between map view to satellite view and viceversa at the time of collecting geoshape or geoline?
  2. Is there any mechanism to use cached images of google maps while collecting geodata? It can help while collecting data in signal free areas. I was wondering, may be there is some way that this version of collect accesses google maps and its cache available in mobile. Please tell if its possible.
    Thanks in anticipation.

Dear,

Can u kindly guide on the background image switching and caching aspects?

Thank you.

Dear All,

Any help available????

I am not sure what your question is. Is it about the geo widgets in enketo
https://geo.enketo.org/webform or the ODK Collect build by Trung's team?
And after clarifying that, what kind of guidance are you looking for?

··· On Tue, Aug 5, 2014 at 5:21 AM, wrote:

Dear All,

Any help available????

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/AfVgKcpE6Jk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Did you know that Enketo Smart Paper has now become the #1 tool for data
collection? Don't fall behind. Use it!

Enketo https://enketo.org | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/MartijnR | Twitter https://twitter.com/enketo