Select to view content in your preferred language

Query attributes from Survey123 connect

246
2
Jump to solution
a week ago
Fiona
by
Occasional Contributor
Hi,
I want to query attributes from a polygon feature layer using a geoshape in Survey123 Connect (3.25.27).
How can this be handled when the geometry intersects multiple polygons?
 
Best regards,
Fiona
 
0 Kudos
1 Solution

Accepted Solutions
Neal_t_k
MVP Regular Contributor

The pulldata("@layer") function only accepts geopoint geometry for "getValueAt" and "getRecordAt".  You should be able to use the search appearance to return of list of the overlapping polygons from a geoshape question and identify in that list the one you want attributes for.  Then feed that into the pulldata ("@layer") to get the attributes from a specific feature.

View solution in original post

0 Kudos
2 Replies
Neal_t_k
MVP Regular Contributor

The pulldata("@layer") function only accepts geopoint geometry for "getValueAt" and "getRecordAt".  You should be able to use the search appearance to return of list of the overlapping polygons from a geoshape question and identify in that list the one you want attributes for.  Then feed that into the pulldata ("@layer") to get the attributes from a specific feature.

0 Kudos
Fiona
by
Occasional Contributor
Appreciate the tip, I’ll verify it.
0 Kudos