<?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: How to Constrain Geopoint Locations? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882482#M30942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have resolved the issue by moving the constraint to a calculate field based on the lat/lon of the geopoint field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Nov 2016 20:37:56 GMT</pubDate>
    <dc:creator>BradWells2</dc:creator>
    <dc:date>2016-11-20T20:37:56Z</dc:date>
    <item>
      <title>How to Constrain Geopoint Locations?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882481#M30941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How could I set constraints on geopoint lat/lon data in Survey123 Connect such that responses are limited to a rectangular area?&lt;/P&gt;&lt;P&gt;I have tried to use an expression similar to the following to accomplish it, but to no avail.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;((pulldata("@geopoint", ., "x") &amp;gt;= -##.#### and pulldata("@geopoint",., "x") &amp;lt;= -##.#### ) and (pulldata("@geopoint", ., "y") &amp;gt;= ##.#### and pulldata("@geopoint",., "y") &amp;lt;= ##.#### ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2016 14:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882481#M30941</guid>
      <dc:creator>BradWells2</dc:creator>
      <dc:date>2016-11-20T14:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Constrain Geopoint Locations?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882482#M30942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have resolved the issue by moving the constraint to a calculate field based on the lat/lon of the geopoint field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2016 20:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882482#M30942</guid>
      <dc:creator>BradWells2</dc:creator>
      <dc:date>2016-11-20T20:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Constrain Geopoint Locations?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882483#M30943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;I'm trying do something similar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this in the geopoint constraint using separate pulldata functions but it still allowed all points to validate even if outside the range of lat/lon I set.&lt;/P&gt;&lt;P&gt;geopoint constraint (${X_Value}&amp;gt;140 and ${X_Value}&amp;lt;150 and ${Y_Value}&amp;gt;-39.2 and ${Y_Value}&amp;lt;-36)&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;X_Value calculation pulldata("@geopoint",${location},"x")&lt;/P&gt;&lt;P&gt;Y_Value calculation pulldata("@geopoint",${location},"y")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can you see where I've got this wrong ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 02:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882483#M30943</guid>
      <dc:creator>NealeHutcheon</dc:creator>
      <dc:date>2017-01-18T02:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Constrain Geopoint Locations?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882484#M30944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done something similar by&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. creating an external choice table with rectangular &amp;nbsp;coordinate field a of my working area as a string &amp;nbsp;(working area, x_min,x_max,y_min,y_max)&lt;/P&gt;&lt;P&gt;2.creating a fields x_min,&amp;nbsp;&lt;SPAN&gt;x_min,x_max,y_min,y_max &amp;nbsp;populated by the substr function from the working area coordinate string&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2.created field, in my survey of latitude and longitude populated by the &lt;A href="mailto:pulldata@geopoint"&gt;pulldata@geopoint &lt;/A&gt;&amp;nbsp;function&lt;/P&gt;&lt;P&gt;3.made the following calculation&amp;nbsp;${longitude}&amp;gt;=${x_min}and${longitude}&amp;lt;=${x_max} and&amp;nbsp;${latitude}&amp;gt;=${y_min}and${latitude}&amp;lt;=${y_max}&lt;/P&gt;&lt;P&gt;So this is working fine for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 06:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-constrain-geopoint-locations/m-p/882484#M30944</guid>
      <dc:creator>FlorentBigirimana</dc:creator>
      <dc:date>2017-09-22T06:17:05Z</dc:date>
    </item>
  </channel>
</rss>

