<?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: Empty Output generated from Union operation in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642905#M21438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One assumes you divided the large shapefile into two non-overlapping geographic areas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thus, a Merge or Append may be a better option for joining the intersect outputs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there features in each intersect output?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 12:57:56 GMT</pubDate>
    <dc:creator>markdenil</dc:creator>
    <dc:date>2014-06-20T12:57:56Z</dc:date>
    <item>
      <title>Empty Output generated from Union operation</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642904#M21437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am attemption to Union two shapefiles. I made sure both shapefiles have the same defined coordinates before trying to Union and I am still getting&amp;nbsp; and empty output generated warning. I found on google that some people had the same issue and after repairing Geometry it worked for them. That did not work out for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any potential solutions on how I can achieve this Union operation successfully or have any insight on why this operation completes but generates an empty output. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My task:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two large shapefiles that I was trying to intersect. I was limited by my computational constraints, so I gave it the classic attempt of divide and conquer. I split shapefile 1 into two shapefiles 1a and 1b. Intersected them with Shapefile 2. Now I am trying to Union the two intersects together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;000117 : Warning empty output generated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 12:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642904#M21437</guid>
      <dc:creator>JonathanBrown</dc:creator>
      <dc:date>2014-06-20T12:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Output generated from Union operation</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642905#M21438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One assumes you divided the large shapefile into two non-overlapping geographic areas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thus, a Merge or Append may be a better option for joining the intersect outputs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there features in each intersect output?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 12:57:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642905#M21438</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2014-06-20T12:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Output generated from Union operation</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642906#M21439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are features in the intersect outputs that are very much needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I posted a simple example of my task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The original task&amp;nbsp; is that I really have divided shapefile1 into 28 sub shapefiles. These 28 sub shapefiles were intersected with Shapefile2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then I had a script that&amp;nbsp; takes the Union of shapefile1a and Shapefile1b and creates and output X.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code will then iterate through the rest of the sub shapefiles and redefining output X ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pseudo code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;inFeatures = [shapefile1a.shp , shapefile1b]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outfeatures = "X.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Union_analysis(inFeatures,outFeatures)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For (i in Range(26) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inFeatures = [shapefile1c.shp, X]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFeatures = "X.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and so on for shapefiles1d, shapefile1e etc....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am quite a novice at arcGIS. Could you please explain why Merge vs Union or Append vs Union will achieve what I am trying to do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642906#M21439</guid>
      <dc:creator>JonathanBrown</dc:creator>
      <dc:date>2014-06-20T13:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Output generated from Union operation</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642907#M21440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At least for the initial two shape files that are being Unioned, there is a significantly decent size of overlap spatially from what I can see by importing the&amp;nbsp; shapefile1a and shapefile1b.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642907#M21440</guid>
      <dc:creator>JonathanBrown</dc:creator>
      <dc:date>2014-06-20T13:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Output generated from Union operation</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642908#M21441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You managed to 'simplify' your problem into something quite different from your second explanation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That second explanation may be a bit oversimplified too. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your pseudo code does not make your workflow much clearer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This forum is not really a good place to gloss over 'details'.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why are you unioning the subfiles of Shapefile1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where does Shapefile2 come in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is outfeatures&amp;nbsp; always "X.shp"? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you realize that there is a difference between outfeatures&amp;nbsp; and outFeatures ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;why does a for loop start up between two union operations?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No one can guess any of this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Post your real code, and put it between code tags (the '#' button on the editor toolbar).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be all that as it may...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have concerns about geometry issues, I suggest converting the shape files to file geodatabase feature classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then running check or repair geometry. Shapefiles can be depressingly tolerant of internal faults.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume your output is important, I asked if there was any output from the first stage(s)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(that is, in the "two intersects" you were trying to union, as per your first post).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 11:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-generated-from-union-operation/m-p/642908#M21441</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2014-06-23T11:23:50Z</dc:date>
    </item>
  </channel>
</rss>

