Hi,
I am working with ArcGIS Survey123 and have encountered an issue with the pull data function when using a geopoint to query a polygon feature layer.
My survey contains a geopoint question that is used to identify intersecting polygon features from a single polygon layer. In many cases, the selected location falls within multiple overlapping polygon features. My goal is to populate a multitext field with the values of all of the intersecting polygons.
However, the pull data function only returns the value from a single intersecting feature, even when multiple polygon features intersect the selected location.
Is there a solution or workaround for this?
Thanks for the assistance.
pulldata(@layer) only gets the first response from results.
I would see if I could get what you're looking for by setting up a repeat. Use the outStatistics to get a count of the number of results and use that in the repeat count column to dynamically set the number of repeats to create. Then I would try using the resultOffset parameter and try passing the repeat position number to it using position(..). Depending on where the count starts, some functions start at 0 others at 1, you may need to do something like position(..)-1 for your result offset value. If it works, you will get a repeat record containing the value of one of the polygons that intersect.
This is what I'd try, but I haven't ever tried it, so there's no guarantees and you may run into a dependency cycle error, but it would be worth a shot.