I'm working on a Survey123 form for our geology group where I'm trying to make use of some of the ESRI Living Atlas image layers, but I'm not sure how to return the pixel value at a specified coordinate to populate a field in my Survey123 form. I've been able to get a point-in-polygon/feature query to work by adapting the "Spatial Inheritance" example script posted to the early adopter's community (attached), but I'm not sure how to pull values out of raster layers.
Here's the living atlas layer that I'm currently trying to get working - https://landscape11.arcgis.com/arcgis/rest/services/USA_Soils_Water_Table_Depth/ImageServer
I'm not sure what information is needed or would be relevant to help with this question, so here's some info off the top of my head:
-We do not have our own GIS servers, everything is hosted in our AGOL organization
-On-line mapping/surveys only
-I'd prefer to do any unit type conversions/calculations in the XLS form instead of the .JS, just because I understand that process better and it would make it easier for me to learn & understand the js.
- Not sure what other information is useful?
Working .js file for queryFeature that I'm currently using is attached, and thank you for any help.