<?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 Query features within 3 days, model or script in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/query-features-within-3-days-model-or-script/m-p/562484#M24732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two large datasets: points and polygons.&amp;nbsp; Both have a date field, and a date range of about 6 weeks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find which points have an intersecting polygon with a date of +/– 3 days.&amp;nbsp; I then need the point feature class’ attribute calculated to add a “Y” (for future charting purposes).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doing this without the +-3 days part was easy (Select by Location, Calculate Field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this manually&amp;nbsp;was not hard either (Select by Attribute then make a point layer for day 1, &lt;SPAN&gt;Select by Attribute then&amp;nbsp;&lt;/SPAN&gt;make a polygon layer for the +/-3 days, Select by Location, Calculate Field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I have 45 unique days to test, I would rather make a model or a script to automate this process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know how to create models, and have some Python knowledge, but I have no idea how to create a model with a query and iterator for the +-3 days part (or how to write in a Python script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea?&amp;nbsp; Thanks for the advice!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2019 18:06:21 GMT</pubDate>
    <dc:creator>JasonRogers1</dc:creator>
    <dc:date>2019-09-19T18:06:21Z</dc:date>
    <item>
      <title>Query features within 3 days, model or script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/query-features-within-3-days-model-or-script/m-p/562484#M24732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two large datasets: points and polygons.&amp;nbsp; Both have a date field, and a date range of about 6 weeks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find which points have an intersecting polygon with a date of +/– 3 days.&amp;nbsp; I then need the point feature class’ attribute calculated to add a “Y” (for future charting purposes).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doing this without the +-3 days part was easy (Select by Location, Calculate Field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this manually&amp;nbsp;was not hard either (Select by Attribute then make a point layer for day 1, &lt;SPAN&gt;Select by Attribute then&amp;nbsp;&lt;/SPAN&gt;make a polygon layer for the +/-3 days, Select by Location, Calculate Field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I have 45 unique days to test, I would rather make a model or a script to automate this process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know how to create models, and have some Python knowledge, but I have no idea how to create a model with a query and iterator for the +-3 days part (or how to write in a Python script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea?&amp;nbsp; Thanks for the advice!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 18:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/query-features-within-3-days-model-or-script/m-p/562484#M24732</guid>
      <dc:creator>JasonRogers1</dc:creator>
      <dc:date>2019-09-19T18:06:21Z</dc:date>
    </item>
  </channel>
</rss>

