<?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 Spatial Join not working in Model Builder in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-not-working-in-model-builder/m-p/1018842#M36199</link>
    <description>&lt;P&gt;Here is a Project Area that I am working with:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Project Area.JPG" style="width: 682px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4266i38F70B209FDA5698/image-dimensions/682x414?v=v2" width="682" height="414" role="button" title="Spatial Join Project Area.JPG" alt="Spatial Join Project Area.JPG" /&gt;&lt;/span&gt;&lt;BR /&gt;Here is what my model currently looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Model.JPG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4267i2B69CBCDDEFC76B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Model.JPG" alt="Spatial Join Model.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My model gathers data from the line and the points and appends them into a new polygon feature class. I have two spatial joins to populate two fields in this polygon feature class. One is STRRange, which is to capture all the points that intersect with the polygon, and the other is StrApprox, which is to capture the nearest point if there are no intersections with the polygon. I've been running this model in 2.4.2, works perfectly. However, in 2.6 and 2.7 the StrApprox does not populate like it should, if it does not have a STRRange value, it returns blank. The left table is an example of how it's supposed to look like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Attribute Table.JPG" style="width: 260px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4273i926C5F976442B5BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Attribute Table.JPG" alt="Spatial Join Attribute Table.JPG" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Attribute Table 2.JPG" style="width: 274px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4274iA265B4C815174AE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Attribute Table 2.JPG" alt="Spatial Join Attribute Table 2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why is this happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Window.JPG" style="width: 580px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4270i9521E90D1CE4E384/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Window.JPG" alt="Spatial Join Window.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 20:49:11 GMT</pubDate>
    <dc:creator>DanaThompson1</dc:creator>
    <dc:date>2021-01-21T20:49:11Z</dc:date>
    <item>
      <title>Spatial Join not working in Model Builder</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-not-working-in-model-builder/m-p/1018842#M36199</link>
      <description>&lt;P&gt;Here is a Project Area that I am working with:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Project Area.JPG" style="width: 682px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4266i38F70B209FDA5698/image-dimensions/682x414?v=v2" width="682" height="414" role="button" title="Spatial Join Project Area.JPG" alt="Spatial Join Project Area.JPG" /&gt;&lt;/span&gt;&lt;BR /&gt;Here is what my model currently looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Model.JPG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4267i2B69CBCDDEFC76B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Model.JPG" alt="Spatial Join Model.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My model gathers data from the line and the points and appends them into a new polygon feature class. I have two spatial joins to populate two fields in this polygon feature class. One is STRRange, which is to capture all the points that intersect with the polygon, and the other is StrApprox, which is to capture the nearest point if there are no intersections with the polygon. I've been running this model in 2.4.2, works perfectly. However, in 2.6 and 2.7 the StrApprox does not populate like it should, if it does not have a STRRange value, it returns blank. The left table is an example of how it's supposed to look like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Attribute Table.JPG" style="width: 260px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4273i926C5F976442B5BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Attribute Table.JPG" alt="Spatial Join Attribute Table.JPG" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Attribute Table 2.JPG" style="width: 274px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4274iA265B4C815174AE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Attribute Table 2.JPG" alt="Spatial Join Attribute Table 2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why is this happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spatial Join Window.JPG" style="width: 580px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4270i9521E90D1CE4E384/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spatial Join Window.JPG" alt="Spatial Join Window.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-not-working-in-model-builder/m-p/1018842#M36199</guid>
      <dc:creator>DanaThompson1</dc:creator>
      <dc:date>2021-01-21T20:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join not working in Model Builder</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-not-working-in-model-builder/m-p/1019432#M36289</link>
      <description>&lt;P&gt;Hmmm...in the Spatial Join GP tool dialogue box it says you have pending edits.&amp;nbsp; I wonder if this is blocking the Spatial Join from working?&amp;nbsp; Can you save your pending edits and run the model again? What is the result?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 00:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-not-working-in-model-builder/m-p/1019432#M36289</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-01-24T00:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join not working in Model Builder</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-not-working-in-model-builder/m-p/1019602#M36322</link>
      <description>&lt;P&gt;Thanks. I tried it but I got the same result.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 13:28:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-not-working-in-model-builder/m-p/1019602#M36322</guid>
      <dc:creator>DanaThompson1</dc:creator>
      <dc:date>2021-01-25T13:28:44Z</dc:date>
    </item>
  </channel>
</rss>

