I’m working in Survey123 Connect and need help creating a calculation based on a user’s current location.
I have a map published in ArcGIS Pro with two key layers:
What I want to achieve:
In my Survey123 form, I want to use the geopoint (user's location) to:
Ideally, the result would look like this in a text or note question:
Feature ID: 123456, Type: Residential, Category: Urban, Area: 50.5
Feature ID: 789012, Type: Industrial, Category: Suburban, Area: 120.8
What I’ve tried:
I know about pulldata("@layer") and intersects, but I’m not sure how to query two layers in sequence (i.e., check the buffer first, then query features inside the buffer polygon) .
Has anyone done something similar — querying multiple layers and returning summarized attributes for all features inside a polygon? I'd really appreciate a sample expression or advice on the best approach.
Thanks in advance! @ IsmaelChivite
Hi @anna_7 , how important is it for this calculation to happen at the time of the form being filled out/submitted? I worked on a survey last year that had to take a user's geoshape input and intersect it with another feature layer to return set of points, but I didn't find a way to do this within the XLS form. I had an ArcGIS notebook set up that would take new survey submissions and then run the processing I needed w arcpy/the python api. Those calculated values you want in the note field could be added to the feature layer in this process I think. I'd be willing to help out more w scripting but I need a bit more information on what exactly you're trying to do. Let me know!