<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Select a point from a layer and show it on a map in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-point-from-a-layer-and-show-it-on-a-map/m-p/1498586#M57585</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/700095"&gt;@achs&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under the Esri Samples in Survey123 Connect there is a sample called Calculate Location from CSV that demonstrates how you can populate a geopoint question using XY data from a CSV in the Media folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also attached the sample here if that helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are looking to extract geometry from a feature service in your ArcGIS Content you can use pulldata("@layer") to do so. Here's an example calclulation on a geopoint question that pulls the XY data from a point feature service to populate a geopoint question:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;pulldata("@layer","getValue", "geometry", "&lt;A href="https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Census_Block_Points/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Census_Block_Points/FeatureServer/0&lt;/A&gt;", concat("COUNTY_FIPS = ", "'", ${location_question}, "'"))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2024 19:28:36 GMT</pubDate>
    <dc:creator>ZacharySutherby</dc:creator>
    <dc:date>2024-06-27T19:28:36Z</dc:date>
    <item>
      <title>Select a point from a layer and show it on a map</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-point-from-a-layer-and-show-it-on-a-map/m-p/1498563#M57584</link>
      <description>&lt;P&gt;My users are selecting points from a .csv file on a survey. I would like to display those points on the Map Layer that is already created for the Survey, ¿Is there a way to select points from a layer?&lt;/P&gt;&lt;P&gt;They select the point from a list of, those points have X and Y coordinates, but I would like to be able to see those points located on a map.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 19:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-a-point-from-a-layer-and-show-it-on-a-map/m-p/1498563#M57584</guid>
      <dc:creator>achs</dc:creator>
      <dc:date>2024-06-27T19:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select a point from a layer and show it on a map</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-point-from-a-layer-and-show-it-on-a-map/m-p/1498586#M57585</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/700095"&gt;@achs&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under the Esri Samples in Survey123 Connect there is a sample called Calculate Location from CSV that demonstrates how you can populate a geopoint question using XY data from a CSV in the Media folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also attached the sample here if that helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are looking to extract geometry from a feature service in your ArcGIS Content you can use pulldata("@layer") to do so. Here's an example calclulation on a geopoint question that pulls the XY data from a point feature service to populate a geopoint question:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;pulldata("@layer","getValue", "geometry", "&lt;A href="https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Census_Block_Points/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Census_Block_Points/FeatureServer/0&lt;/A&gt;", concat("COUNTY_FIPS = ", "'", ${location_question}, "'"))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 19:28:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-a-point-from-a-layer-and-show-it-on-a-map/m-p/1498586#M57585</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2024-06-27T19:28:36Z</dc:date>
    </item>
  </channel>
</rss>

