Select to view content in your preferred language

Setting Point Geometry from Latitude/Longitude Fields in Survey123 Output Layer

115
2
Jump to solution
Monday
Labels (1)
AsafAizik1
New Contributor

 

I'm working on a workflow in ArcGIS Survey123 and ArcGIS Online where field users complete a form without needing to select a location manually on the map.

Here's my situation:

:clipboard: Workflow

  • The user selects a grower and then a plot from a cascading dropdown list.

  • The plot list (id_megadel.csv) is stored in the media folder and contains the field names name, label, parent_name.

  • To avoid disrupting the cascading logic, I did not modify this main CSV.

  • 📍 Location Requirements

    • I created an additional CSV file (plot_coords.csv) that contains coordinates (latitude and longitude) for each plot, by name (plot ID).

    • The form uses pulldata() to fetch the coordinates from this file.

    • I added a calculate question in the form to generate a geopoint based on the selected plot’s coordinates (without map input).

       

      This setup does not render a map location in the resulting Feature Layer (hosted in ArcGIS Online). When viewing the layer in the Map Viewer, all points default to (0,0) or do not appear at all.

      I tried switching to Map Viewer and Arcade, but in the "Symbol style" → "Location (Single symbol)" pane, I do not get the option to set location using an Arcade expression like:

       

      arcade
      CopyEdit
      Point($feature.longitude, $feature.latitude)
       

      It seems Arcade only controls symbol style — not the geometry itself.

      🔎 What I’m looking for

      How can I:

      1. Set the actual geometry (point) of a survey record based on lat/lon fields pulled from a CSV, and

      2. Ensure that this works in the Survey123 > Hosted Feature Layer, without requiring users to select location manually?

        Is there a supported way to derive point geometry in the Feature Layer from lat/lon fields (perhaps post-processing or via expressions)?

        Thanks in advance for your help!

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Notable Contributor

I think the logic is sound, and the Esri recommended approach.  So I think manual post-processing is not necessary - and onoly mfixing the original survey geopoint calculation is required.  Solved: Create GeoPoint From Lat & Long Numeric Field Coll... - Esri Community
has an example XLS geopoint calculation formatting which may be of use, and I'd recommend sharing your Survey XLS and any screenshots/code you currently have so that someone can assist you.

View solution in original post

0 Kudos
2 Replies
DavidPike
MVP Notable Contributor

I think the logic is sound, and the Esri recommended approach.  So I think manual post-processing is not necessary - and onoly mfixing the original survey geopoint calculation is required.  Solved: Create GeoPoint From Lat & Long Numeric Field Coll... - Esri Community
has an example XLS geopoint calculation formatting which may be of use, and I'd recommend sharing your Survey XLS and any screenshots/code you currently have so that someone can assist you.

0 Kudos
AsafAizik1
New Contributor

Thank you for referring me to the solution!

0 Kudos