Hello,
I am working in Survey123 Connect and I have a survey where users draw a polygon on a map. I have set up the survey to create an approximate centroid for the polygon (using JavaScript) to generate coordinates that will be included in the survey report. I originally created a geopoint with these coordinates and used the point in polygon and Pulldata(@layer...) to identify the Township name, Concession, and Lot numbers for the location of the polygon. Although I cannot publish this because it leads to a geopoint and geoshape in the same repeat. When I moved the geopoint outside of the repeat setup for the polygon the coordinates no longer generate, so it seems this must be inside of the repeat to work.
I am wondering if it is possible for the location parameter to be a set of coordinates using the coordinate values I have already created? Or is there a workaround that I could use?
Thank you,
Mayva
She/Her