I know a location is captured on Survey123 when the survey is first opened, but I want to know whether that location changes if the survey is either edited out of the inbox or sent, edited and resent.
For example, if I arrive at a location, collect/open a survey, fill it out, save it to my inbox, drive to another location, reopen and edit the saved survey, and send it at the new location, would the location associated with the survey response be the first or second location? If I were to send the survey at the first location, drive over to the second location, then edit and resend the survey, would the location be captured any differently than the first scenario?
Solved! Go to Solution.
A geopoint with no other parameters set will collect a location and then that location will not change unless the user manually forces the update (either by clearing the geopoint and then recapturing, or by manually moving the point on the geopoint's map). For your purposes, don't use the position keyword.
EDIT: @IsmaelChivite I didn't know about this keyword, and will be using in a survey! Thank you.
Hi! Have a look at the attached XLSForm. Note that the form is meant to be used with the Inbox enabled:
The key here is the use of the position keyword in the default column of the geopoint question. When the position keyword is used, Survey123 recalculates the geopoint location, even if the record comes from the Inbox. I like to use position this way when I want to know the exact location from which a field user is resinspecting an asset.
Also note that I am setting the esriFieldType XLSForm column to null for the second geopoint because in ArcGIS, it is not possible to have a single table with more than one geometry field.
Thanks. So would the geopoint location remain the same if the position keyword is not used? I would like the location associated with each survey completed to be the location of the survey when it was first opened, and for the location not to change if it is edited in any way.
Also, right now I do not think there is not a geopoint question, but the location captured by Survey123 is used to display on a map the location where the survey was collected.
A geopoint with no other parameters set will collect a location and then that location will not change unless the user manually forces the update (either by clearing the geopoint and then recapturing, or by manually moving the point on the geopoint's map). For your purposes, don't use the position keyword.
EDIT: @IsmaelChivite I didn't know about this keyword, and will be using in a survey! Thank you.
Agreed with @abureaux After reading the original question a second time, I realize I misinterpreted @Hope_M 's question. Glad that @abureaux found the position discussion useful but as Alexander indicates, the correct answer to the question is:
A geopoint with no other parameters set will collect a location and then that location will not change unless the user manually forces the update (either by clearing the geopoint and then recapturing, or by manually moving the point on the geopoint's map).