<?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: Concatenate @geopoint strings into geopoint location in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/concatenate-geopoint-strings-into-geopoint/m-p/828772#M17828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carolyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pulldata functions work best when they are by themselves in a question (normally type calculate) - load the values into an intermediate question and then do a calculation using the intermediate question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2018 20:06:02 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2018-04-26T20:06:02Z</dc:date>
    <item>
      <title>Concatenate @geopoint strings into geopoint location</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/concatenate-geopoint-strings-into-geopoint/m-p/828770#M17826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to autopopulate a geopoint location in a Survey123 form so that the parent record passes the location to all of its children. I've successfully done this using string(${location}). However, now I'd like to add a small offset to each of the children so that they don't end up on top of each other. In order to do so, I need to pull the x and y values, add a small value to one of them, and then concatenate them back into a string for a geopoint. However, I can't seem to concatenate a string so that the geopoint can read it, and I'm stumped as to what I'm doing wrong. Both of the below attempts produce the error &lt;EM&gt;"Error evaluating field 'RemovalLocation': For input string: "@geopoint" Caused by java.lang.NumberFormatException: for input string "@geopoint"....9 more &lt;/EM&gt;from Survey123 Connect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat(string(pulldata("@geopoint", ${locationgeo}, "y")), ' ', string(pulldata("@geopoint",${locationgeo}, "x")))&lt;/P&gt;&lt;P&gt;concat(pulldata("@geopoint", ${locationgeo}, "y"), ' ', pulldata("@geopoint",${locationgeo}, "x"))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 19:48:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/concatenate-geopoint-strings-into-geopoint/m-p/828770#M17826</guid>
      <dc:creator>CarolynKeagle1</dc:creator>
      <dc:date>2018-04-26T19:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate @geopoint strings into geopoint location</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/concatenate-geopoint-strings-into-geopoint/m-p/828771#M17827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, this worked:&lt;/P&gt;&lt;P&gt;pulldata("@geopoint", ${locationgeo}, "y")+" "+(pulldata("@geopoint", ${locationgeo}, "x")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as seen here&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/193372-how-to-inherit-location-from-one-geopoint-to-another"&gt;https://community.esri.com/thread/193372-how-to-inherit-location-from-one-geopoint-to-another&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 20:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/concatenate-geopoint-strings-into-geopoint/m-p/828771#M17827</guid>
      <dc:creator>CarolynKeagle1</dc:creator>
      <dc:date>2018-04-26T20:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate @geopoint strings into geopoint location</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/concatenate-geopoint-strings-into-geopoint/m-p/828772#M17828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carolyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pulldata functions work best when they are by themselves in a question (normally type calculate) - load the values into an intermediate question and then do a calculation using the intermediate question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 20:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/concatenate-geopoint-strings-into-geopoint/m-p/828772#M17828</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-04-26T20:06:02Z</dc:date>
    </item>
  </channel>
</rss>

