I have a survey form with two geopoint questions. The first has bind::esri:fieldType set to null, and the second has the fieldType left blank. See a minimal example XLSForm below:
type | name | label | bind::esri:fieldType |
---|---|---|---|
geopoint | null_geopoint | Null Geopoint | null |
geopoint | saved_geopoint | Saved Geopoint |
When the survey is submitted, I would expect the coordinates saved as the feature's center, i.e. the point where the survey data shows up on a web map, to come from saved_geopoint. Instead, when I submit the survey, the feature is created at the coordinates of null_geopoint.
Switching the order of the questions fixes the problem, so it appears that the survey is always saving the coordinates of whichever geopoint question is first, rather than the expected behavior of saving the coordinates from the non-null geopoint question. In the full survey I am working on, through, it is not feasible to switch the order of the questions. Is there a way to get Survey123 to save coordinates of a geopoint question that is not first as its center?
(The survey is being published with Survey123 Connect version 3.11.123 and submitted with the field app version 3.11.164.)