Git Product home page Git Product logo

Comments (6)

getodk-bot avatar getodk-bot commented on June 1, 2024

Comment by mitchellsundt
Thursday Jul 09, 2015 at 18:29 GMT


The error messages for this were not propagating back up to the user.  Kml generation
has the following restriction:

Picture and Title must be in the submission (top-level) or must be in the same repeat
group as the GeoPoint

In this case, the image is within a repeat group, but the geoPoint is at the top level.
The fix is either to have the image at the top level or to have the geoPoint within
the repeat group (you should be able to have a read-only field in the repeat group
that holds a copy of the value from the top-level geopoint).

Reported by mitchellsundt on 2011-11-16 18:59:11

  • Status changed: Accepted
  • Labels added: Aggregate

from aggregate.

getodk-bot avatar getodk-bot commented on June 1, 2024

Comment by mitchellsundt
Thursday Jul 09, 2015 at 18:29 GMT


Reported by mitchellsundt on 2011-12-01 23:48:19

  • Labels added: Documentation

from aggregate.

getodk-bot avatar getodk-bot commented on June 1, 2024

Comment by mitchellsundt
Thursday Jul 09, 2015 at 18:29 GMT


Hi Mitch -

The fix you mentioned above did not work.  I'm still getting the error message "Picture
and Title must be in the submission (top-level) or must be in the same repeat group
as the GeoPoint".  I've attached the form xml for review.

Thanks,
Holly Orr 
NYU

Reported by [email protected] on 2011-12-20 18:36:49


- _Attachment: [SurveyingEnvironment.xml](https://storage.googleapis.com/google-code-attachments/opendatakit/issue-428/comment-3/SurveyingEnvironment.xml)_

from aggregate.

getodk-bot avatar getodk-bot commented on June 1, 2024

Comment by mitchellsundt
Thursday Jul 09, 2015 at 18:29 GMT


Unfortunately, the work-around I was suggesting is prevented by this issue:

http://code.google.com/p/opendatakit/issues/detail?id=563

The idea was to have the inner Geopoint have a calculate in its bind and be read-only.
For clarity, I am renaming to the inner /data/repeat_observation/SiteLocation as /data/repeat_observation/SitePhotoLocation.
The bind is then:

<bind nodeset="/data/repeat_observation/SitePhotoLocation" type="geopoint" calculate="/data/SiteLocation"
readonly="true()"/>

Then you would have the SitePhotoLocation geopoint and image at the same level, and
would only have to record the geopoint once.  When you Export to KML, you then choose
the SitePhotoLocation (not the SiteLocation, which would also be listed) and the SitePhoto.

The cited Collect/javarosa issue prevents this.  The only work-around is to capture
the geolocation separately with every photo.

Reported by mitchellsundt on 2012-04-23 17:52:28

from aggregate.

getodk-bot avatar getodk-bot commented on June 1, 2024

Comment by mitchellsundt
Thursday Jul 09, 2015 at 18:29 GMT


This will be in the next server update.

Reported by mitchellsundt on 2014-03-12 00:24:53

  • Labels added: Mar2014

from aggregate.

ggalmazor avatar ggalmazor commented on June 1, 2024

Attention! We're housekeeping! This issue will automatically be closed if no feedback is received in one week.

If this issue is important to you or you can provide more information about it, please, do so as soon as possible :)

from aggregate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.