<?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: Point in Polygon Queries for Data Validation in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1702830#M66223</link>
    <description>&lt;P&gt;did you ever work this out?&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2026 15:16:47 GMT</pubDate>
    <dc:creator>Kevin_Bonner_</dc:creator>
    <dc:date>2026-05-19T15:16:47Z</dc:date>
    <item>
      <title>Point in Polygon Queries for Data Validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330683#M51848</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having some trouble in S123 Connect with having submitters place a point on a map - to check if the point falls within a certain polygon. From all the research I have done to try and implement this, I can't find a good example of what I am trying to do. Below is a screenshot from a "Survey123 Tricks of the Trade" post showing what I want to recreate, however, it does not show what I'm actually supposed to do in Connect&amp;nbsp; to make this work.&lt;/P&gt;&lt;P&gt;I know how to use the pull data function to query other question answers, but I'm not sure how to do this for data validation on a geopoint question.&lt;/P&gt;&lt;P&gt;Basically, I have a geopoint question with a buffer on a basemap - any points that are made outside the buffer a note will pop up stating that they are within or outside the buffered zone.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated! Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pointinpolygon.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81216iD02A8FB914D5D799/image-size/large?v=v2&amp;amp;px=999" role="button" title="pointinpolygon.jpg" alt="pointinpolygon.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 16:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330683#M51848</guid>
      <dc:creator>AmandaBeck</dc:creator>
      <dc:date>2023-09-20T16:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon Queries for Data Validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330694#M51849</link>
      <description>&lt;P&gt;In the &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415" target="_blank" rel="noopener"&gt;Tricks of the Trade blog you looked at&lt;/A&gt;, there are a handful of XLSForms at the bottom (right before the comments section). Download the &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415?attachment-id=72012" target="_blank" rel="noopener"&gt;GetValueAt_Constraint XLSForm&lt;/A&gt;.&amp;nbsp;&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="IsmaelChivite_0-1695226549922.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81217iA58995F2390B90DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1695226549922.png" alt="IsmaelChivite_0-1695226549922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 16:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330694#M51849</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-09-20T16:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon Queries for Data Validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330705#M51852</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your quick reply. I have looked at that example, but didn't think it was what I was looking for. The polygon in which I have in my basemap in Survey123 connect does not a have a field in which I want to pull data from. I'll explain further below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that example, if I'm understanding it correctly, it is depicting making a point - but that point HAS to be in Spain which has been pulled from a layer that has a Countries field in it with Spain in the attributes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, since I am making a point and wanting to check simply if that location chosen is within a buffer of a lake - do I need to have a specific field in the buffer layer from which I can pull the data from?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I could make a 250foot field in my polygon layer and have the attributes be yes/no. In the text question type, I would pull data from that field and set the constraint on the geopoint to be ${250foot}="yes" and the constraint message to The location is not within 250 feet of the lake.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 16:27:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330705#M51852</guid>
      <dc:creator>AmandaBeck</dc:creator>
      <dc:date>2023-09-20T16:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon Queries for Data Validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330765#M51856</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86921"&gt;@AmandaBeck&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;The easiest way to check to see if the result is by a feature is to request any field that is filled in for each record (say objectId, or perhaps the name) and then checking to make sure the value is not null.&amp;nbsp; If the result is null, that means that no features were found.&lt;/P&gt;&lt;P&gt;A more complicated method that specifically gets the number of features that match the query is to use&amp;nbsp; the outStatistics capability to get the count of records that meet the query.&amp;nbsp; These would be placed in the same part of the setup as the distance properties. That would look like:&lt;/P&gt;&lt;PRE&gt;pulldata("@layer", "getValueAt", "attributes.count_features", '&lt;EM&gt;&lt;STRONG&gt;&amp;lt;SERVICE&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;?distance=250&amp;amp;units=esriSRUnit_Foot&amp;amp;outStatistics=[{"statisticType": "count","onStatisticField": "objectid","outStatisticFieldName": "count_features"}]', ${location})&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 18:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1330765#M51856</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2023-09-20T18:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Point in Polygon Queries for Data Validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1702830#M66223</link>
      <description>&lt;P&gt;did you ever work this out?&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2026 15:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/point-in-polygon-queries-for-data-validation/m-p/1702830#M66223</guid>
      <dc:creator>Kevin_Bonner_</dc:creator>
      <dc:date>2026-05-19T15:16:47Z</dc:date>
    </item>
  </channel>
</rss>

