<?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: Spatial Join Tool : does not work; slow as glaciers;  in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122439#M4268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is not by any means the crown jewels, so I am certainly willing&lt;/P&gt;&lt;P&gt;to share it.&lt;/P&gt;&lt;P&gt;But I am not sure how much you need.&lt;/P&gt;&lt;P&gt;Do you need the BA2015 datasets, or do you have those?&lt;/P&gt;&lt;P&gt;I am not very familiar with packaging up&lt;/P&gt;&lt;P&gt;a subset of data from a file geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would certainly be interested in what you find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to figure out how to package this stuff up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Cat OK : did not even expend one of his 9 lives. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 22:43:52 GMT</pubDate>
    <dc:creator>RobertStevens</dc:creator>
    <dc:date>2015-08-25T22:43:52Z</dc:date>
    <item>
      <title>Spatial Join Tool : does not work; slow as glaciers;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122434#M4263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to try&amp;nbsp; not to fill this post with expletives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preliminaries: ArcGIS 10.3.1 running on latest 2015 MacBook Pro using Parallels, Windows7, 8G memory, no other user level processes running.&lt;/P&gt;&lt;P&gt;Using: &lt;STRONG&gt;Arc Toolbox =&amp;gt; Analysis Tools =&amp;gt; Overlay =&amp;gt; Spatial Join&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; to join &lt;STRONG&gt;points(715 features)&lt;/STRONG&gt; to &lt;STRONG&gt;polygons(469 features)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The two datasets have the same coordinate system, although the point dataset has a join, and the polygon dataset&lt;/P&gt;&lt;P&gt;has a giant number of fields because it was originally Business Analyst dataset, but which was pared down to&lt;/P&gt;&lt;P&gt;the geographic region of interest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool fires up. I enter the name of the target feature dataset (polygons). Then name of join features.... &lt;STRONG style="color: #3d3d3d;"&gt;205 seconds&lt;/STRONG&gt; later the tool acknowledges the name of the dataset (no work yet mind you, just to respond that I entered the name of a dataset).&lt;/P&gt;&lt;P&gt;Then I wish to join 1:1 and to merge features of the point dataset. So I delete all the features which cannot meaningfully be joined.&lt;/P&gt;&lt;P&gt;Each deletion takes about 10 seconds to register for a net total of &lt;STRONG&gt;270 seconds. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then the remaining 4 features Itell it to aggregate as a mean. Another &lt;STRONG&gt;20 odd seconds&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I enter the name of the output dataset -- incredible, it seems to respond almost immediately; what can be wrong?&lt;/P&gt;&lt;P&gt;I have now spent 495 seconds just to enter the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now hit the run button. It executes, I get the usual progress dialogue at the screen bottom, and within a few seconds the tool finishes&lt;/P&gt;&lt;P&gt;claiming to have run without error. Only, &lt;STRONG&gt;there is no output dataset created&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a word for software like this, which decorum dictates that I had best not use.&lt;/P&gt;&lt;P&gt;I have had the misfortune to have been required to use ArcGIS for years;&lt;/P&gt;&lt;P&gt;have lost count of the number of bugs personally reported; grown&lt;/P&gt;&lt;P&gt;old looking at a spinning blue wheel while the product seemingly does nothing.&lt;/P&gt;&lt;P&gt;The tool did not work, already bad, &lt;STRONG&gt;but what kind of software&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;engineering underlies a user interface that takes 10 minutes to specify&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;a handful of data items?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior of this tool is replicable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There, I got to the end without using any 4 letter words.&lt;/P&gt;&lt;P&gt;Now I can go out and relieve by feelings by giving the cat a good kick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 23:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122434#M4263</guid>
      <dc:creator>RobertStevens</dc:creator>
      <dc:date>2015-08-24T23:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Tool : does not work; slow as glaciers;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122435#M4264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haha... love it ... some tips that I use&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;​work on a local machine...can't do it? skip to the end if your network causes any slowdown issues&lt;/LI&gt;&lt;LI&gt;make sure everything is the same projection/coordinate system (check for you)&lt;/LI&gt;&lt;LI&gt;when I do spatial joins, I give a crap about attributes so I just make clone containing files containing only geometry and ID for both files (time taken &amp;lt; 30 seconds)&lt;/LI&gt;&lt;LI&gt;I do a spatial index&amp;nbsp; &lt;A href="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/add-spatial-index.htm" title="http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/add-spatial-index.htm"&gt;Add Spatial Index—Help | ArcGIS for Desktop&lt;/A&gt; (only needs to be done once unless you update/change geometry&lt;/LI&gt;&lt;LI&gt;do the spatial join...if all works well it will take way less time.&amp;nbsp; You should now have the indices where one file corresponds to another file. You can attribute join/relate using the results&lt;/LI&gt;&lt;LI&gt;other suggestions&lt;UL&gt;&lt;LI&gt;sometimes coding the same things runs faster than from the tool...don't know why, can't give examples, but I have seen it&lt;/LI&gt;&lt;LI&gt;get rid of crap from the files that you know aren't of any interest or are totally outside of the spatial join realm (ie polygons that you know have no chance in H of intersecting another polygon&lt;/LI&gt;&lt;LI&gt;prune prune you data to it bare minimum...it takes far less time, particularly if you have to do this task numerous times]&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;IF you don't have to do any of the above on a regular basis, then consider, either you are getting paid to do it, it is billable time, you need a coffee anyway&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for venting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 00:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122435#M4264</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-08-25T00:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Tool : does not work; slow as glaciers;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122436#M4265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are willing to share the data, I would like to try and see if I get the same performance that you are experiencing. Although the outcome can be the same, perhaps the "&lt;EM&gt;trouble shared is trouble halved&lt;/EM&gt;" could save the cat...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 01:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122436#M4265</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-08-25T01:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Tool : does not work; slow as glaciers;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122437#M4266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan and Xander&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies. Many of the things Dan had recommended were already in place:&lt;/P&gt;&lt;P&gt;same projection; local machine; polygons pertinent to geography.&lt;/P&gt;&lt;P&gt;Now, what is true, is that these Business Analyst datasets have many fields (~2000 in BA basic).&lt;/P&gt;&lt;P&gt;But surely when I run one of these python tools and simply enter the name of a dataset&lt;/P&gt;&lt;P&gt;it should not take 3 minutes simply to display a list of fields, should it? I mean, there is&lt;/P&gt;&lt;P&gt;no real computation happening yet. There is some structure containing field data and, paf!,&lt;/P&gt;&lt;P&gt;display it in a dialogue box ought to be instantaneous, shouldn't it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, speed aside, how is it that the tool appears to run, claims to have completed successfully,&lt;/P&gt;&lt;P&gt;and yet does not output the new feature class I specify? If the tool is overwhelmed by computational&lt;/P&gt;&lt;P&gt;complexity, should it now just report that and quit with an error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think possibly the way out of my dilemma is along the lines Dan suggests:&lt;/P&gt;&lt;P&gt;1. Use the BA layers (tracts, block groups, zip codes..) to create just polygons with no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Store those polygons in some file geodatabase.&lt;/P&gt;&lt;P&gt;2. Join the data I am interested in with those polygons using a suitable unique identifier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (tract ID, block group ID, zip code, ..)&lt;/P&gt;&lt;P&gt;3. Then create my own custom BDS layer as outlined in this document:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/library/whitepapers/pdfs/importing-and-using-your-own-data.pdf" title="https://www.esri.com/library/whitepapers/pdfs/importing-and-using-your-own-data.pdf"&gt;https://www.esri.com/library/whitepapers/pdfs/importing-and-using-your-own-data.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Another advantage of that is that one can use the BA reporting capabilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am guessing that one needs these BDS layers to be able efficiently to use all the data.&lt;/P&gt;&lt;P&gt;Very likely normal feature classes were never intended to have so many fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 19:31:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122437#M4266</guid>
      <dc:creator>RobertStevens</dc:creator>
      <dc:date>2015-08-25T19:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Tool : does not work; slow as glaciers;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122438#M4267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is definitely a bloat of data.&amp;nbsp; I would suggest you deal with geometry when needed in separate files, then joing the attributes over if they are used for further work.&amp;nbsp; Keep us posted if you workflow improves.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 22:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122438#M4267</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-08-25T22:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Tool : does not work; slow as glaciers;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122439#M4268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is not by any means the crown jewels, so I am certainly willing&lt;/P&gt;&lt;P&gt;to share it.&lt;/P&gt;&lt;P&gt;But I am not sure how much you need.&lt;/P&gt;&lt;P&gt;Do you need the BA2015 datasets, or do you have those?&lt;/P&gt;&lt;P&gt;I am not very familiar with packaging up&lt;/P&gt;&lt;P&gt;a subset of data from a file geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would certainly be interested in what you find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to figure out how to package this stuff up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Cat OK : did not even expend one of his 9 lives. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 22:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122439#M4268</guid>
      <dc:creator>RobertStevens</dc:creator>
      <dc:date>2015-08-25T22:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join Tool : does not work; slow as glaciers;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122440#M4269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Dan mentioned before, that is indeed a large set of attributes. Although one may expect that this shouldn't have such a big impact on the spatial operations. Since they do, please try what &lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;&amp;nbsp;&amp;nbsp; suggested and see if that speeds up the process. Do generate the attribute indexes on the fields used for the join, when you join back the attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to verify if the join with all the attributes takes takes as long on my system as it did in yours, then you could simply select (in the catalog window) the featureclasses, and paste them into a new one. If one of the dataset contains a very much larger area as the other, then you could do a select by location (draw a rectangle with the selection tool) and export the featureclass to the new file geodatabase. Zip the file geodatabase (including the .gdb folder name) and see if you can attach it to the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: glad the cat is OK...&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 01:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-tool-does-not-work-slow-as-glaciers/m-p/122440#M4269</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-08-26T01:25:40Z</dc:date>
    </item>
  </channel>
</rss>

