<?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: Using sum(repeat) to calculate geoshape from turning points in web browser in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1353938#M53084</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't use join to calculate the geoshape directly but instead used it to concatenate the point coordinates into a coordinate string that i could use to create the polygon (see attached screenshot), which works amazingly.&lt;/P&gt;&lt;P&gt;If anyone else is trying to do the same:&lt;/P&gt;&lt;P&gt;I use this calculation in a hidden text field - join('; ', ${polygon_point})&lt;/P&gt;&lt;P&gt;and then referred to that text field in the geoshape calculation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EleanorCervigni_0-1701145913417.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87280i44EB4D7CBAECD746/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EleanorCervigni_0-1701145913417.png" alt="EleanorCervigni_0-1701145913417.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;EleanorCervigni_0-1701145913417.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 04:36:39 GMT</pubDate>
    <dc:creator>EleanorCervigni</dc:creator>
    <dc:date>2023-11-28T04:36:39Z</dc:date>
    <item>
      <title>Using sum(repeat) to calculate geoshape from turning points in web browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1353403#M53045</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a form that enters turning points into a repeat, and then uses sum(repeat) function (eg sum($geopoint}) to calculate the polygon in a geoshape question outside of the repeat (see attached xlsform screenahot).&lt;/P&gt;&lt;P&gt;It works fine in the field app and connect but when I try to test the form in the Survey123 web app, the sum(repeat) to calculate the polygon does not work.&lt;/P&gt;&lt;P&gt;Is this calculation not supported in the web app? If so does anyone know of a work-around?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EleanorCervigni_0-1701072057942.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87109iDCA419DEDF0C1BDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EleanorCervigni_0-1701072057942.png" alt="EleanorCervigni_0-1701072057942.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;EleanorCervigni_0-1701072057942.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 08:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1353403#M53045</guid>
      <dc:creator>EleanorCervigni</dc:creator>
      <dc:date>2023-11-27T08:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using sum(repeat) to calculate geoshape from turning points in web browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1353502#M53054</link>
      <description>&lt;P&gt;If it is a list of points then I would think join() would be what you want and not sum.&amp;nbsp; I think it is deflating to string and that is why it worked in the app - sum on a string makes a list of numbers but sum is mean for adding them up.&amp;nbsp; But in web it is probably adding the numbers up and then not working.&amp;nbsp; Add a note with the same calc so you can see what is going on.&lt;/P&gt;&lt;P&gt;Hopefully that is it&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 14:52:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1353502#M53054</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-11-27T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using sum(repeat) to calculate geoshape from turning points in web browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1353938#M53084</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't use join to calculate the geoshape directly but instead used it to concatenate the point coordinates into a coordinate string that i could use to create the polygon (see attached screenshot), which works amazingly.&lt;/P&gt;&lt;P&gt;If anyone else is trying to do the same:&lt;/P&gt;&lt;P&gt;I use this calculation in a hidden text field - join('; ', ${polygon_point})&lt;/P&gt;&lt;P&gt;and then referred to that text field in the geoshape calculation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EleanorCervigni_0-1701145913417.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87280i44EB4D7CBAECD746/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EleanorCervigni_0-1701145913417.png" alt="EleanorCervigni_0-1701145913417.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;EleanorCervigni_0-1701145913417.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 04:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1353938#M53084</guid>
      <dc:creator>EleanorCervigni</dc:creator>
      <dc:date>2023-11-28T04:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using sum(repeat) to calculate geoshape from turning points in web browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1474960#M56973</link>
      <description>&lt;P&gt;Thanks, that helped loads as I was getting the same problem using sum().&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2024 17:56:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-sum-repeat-to-calculate-geoshape-from/m-p/1474960#M56973</guid>
      <dc:creator>JoshB123</dc:creator>
      <dc:date>2024-05-18T17:56:52Z</dc:date>
    </item>
  </channel>
</rss>

