<?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: Join Data vs. Spatial Join in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/join-data-vs-spatial-join/m-p/47587#M258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the steps I have discussed below, these steps are not required.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff; text-decoration: line-through; font-size: 15.3333px;"&gt;Add Field (this is a numeric field named "Count"), and Calculate Field (populates all records with the value of 1).&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also, instead of doing Spatial Join from Point to Polygon Layer, try the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Spatial Join&lt;/STRONG&gt; from Polygon to Points &lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/summary-statistics.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/summary-statistics.htm"&gt;Summary Statistics&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;on the point layer (Statistics Type=Count) &lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm"&gt;Join Field&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;to add the Count Field from&amp;nbsp;Summarized table to Polygon Layer.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any of the above steps is not clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 20:32:49 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2017-11-02T20:32:49Z</dc:date>
    <item>
      <title>Join Data vs. Spatial Join</title>
      <link>https://community.esri.com/t5/developers-questions/join-data-vs-spatial-join/m-p/47586#M257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I am working on a semester project for my GIS Programming and Customization course. I built a model that receives&amp;nbsp;updated crime point data from the City of Denver as an input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;The sequence of tools that I have strung together in the model are as follows: Select Layer by Attributes (because I only want to use crime points that represent reports of domestic violence), Create Feature Class, Add Field (this is a numeric field named "Count"), and Calculate Field (populates all records with the value of 1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Now I have a new feature class that consists of points where domestic violence crimes have been reported and each record is populated with the value of 1 in the "Count" field. I want to join this data to a separate polygon feature class (Census Neighborhood Demographics), so that my resulting polygon feature class ends up with a "Sum Count" field that represents the total number of domestic violence crimes that have been reported in that neighborhood.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I tried including the Spatial Join tool in my model in order to complete this step, but when I run the model (or try using the tool manually), my output polygon feature class still shows every record populated with the value of 1, rather than the sum&amp;nbsp;of crime points.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;I have done this whole process manually before, but by right-clicking on my target layer and choosing to join it to another layer based on spatial location. I noticed that this operation is called "Join Data". The dialog window is very different than that of the Spatial Join tool. I have tried searching for a tool called "Join Data", with no success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Does anyone have any suggestion for how I can make my model do what I was able to do manually by right-clicking on my target layer and opening the "Join Data" tool? I am very open to using a snippet of Python script, but I am new to the programming language and am not sure how to accomplish my goal with code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; word-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Any input is appreciated! Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 19:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/join-data-vs-spatial-join/m-p/47586#M257</guid>
      <dc:creator>deleted-user-UC8ZLmreA-g9</dc:creator>
      <dc:date>2017-11-02T19:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join Data vs. Spatial Join</title>
      <link>https://community.esri.com/t5/developers-questions/join-data-vs-spatial-join/m-p/47587#M258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the steps I have discussed below, these steps are not required.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff; text-decoration: line-through; font-size: 15.3333px;"&gt;Add Field (this is a numeric field named "Count"), and Calculate Field (populates all records with the value of 1).&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also, instead of doing Spatial Join from Point to Polygon Layer, try the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Spatial Join&lt;/STRONG&gt; from Polygon to Points &lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/summary-statistics.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/summary-statistics.htm"&gt;Summary Statistics&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;on the point layer (Statistics Type=Count) &lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm"&gt;Join Field&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;to add the Count Field from&amp;nbsp;Summarized table to Polygon Layer.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any of the above steps is not clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 20:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/join-data-vs-spatial-join/m-p/47587#M258</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-11-02T20:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Join Data vs. Spatial Join</title>
      <link>https://community.esri.com/t5/developers-questions/join-data-vs-spatial-join/m-p/47588#M259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did any of this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 14:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/join-data-vs-spatial-join/m-p/47588#M259</guid>
      <dc:creator>MikeAdam</dc:creator>
      <dc:date>2018-05-01T14:00:51Z</dc:date>
    </item>
  </channel>
</rss>

