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:
- Land Use Area – Polygons with various types (e.g., residential area, commercial area, industrial area, etc.). The attribute table contains many fields, but I only need the following:
- Feature_ID
- Feature_Type
- Category
- Area
- Buffer Layer – A 1000-foot buffer (Solid buffer) polygon surrounding the boundaries of the land use area
What I want to achieve:
In my Survey123 form, I want to use the geopoint (user's location) to:
- Check if ANY Feature ID is inside a buffer polygon.
- If it is, retrieve all the features that lie inside the polygon and intersect that buffer.
- Display a summary that lists all the land use area within that buffer:
- Feature Type(s)
- Area
- Category
- Feature ID(s)
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.
IsmaelChivite