<?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 from Intersect Analysis? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409972#M13896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seems like you might want to use cursors and the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/polygon.htm"&gt;polygon geometry class&lt;/A&gt; which has intersect methods ... it might be easier if you are going through one shape at a time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Feb 2017 00:38:15 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-02-05T00:38:15Z</dc:date>
    <item>
      <title>Empty output from Intersect Analysis?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409969#M13893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running intersect analysis for a large number of records in a python script. There are ~2100 records, and I perform intersect analysis for each record. The script works fine until it gets to about record 1850 - then creates an empty output. I tried repairing the geometry of the inputs and it made no difference. Each of these inputs is almost exactly the same in size, orientation, etc. Why is this tool crashing on input 1850?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the section of my code that is producing the empty output:&lt;/P&gt;&lt;P&gt;profile=line_obj&lt;N&gt;&lt;BR /&gt; point=point_obj&lt;N&gt;&lt;BR /&gt; arcpy.CopyFeatures_management(profile,output_line)&lt;BR /&gt; arcpy.CopyFeatures_management(point,output_point)&lt;BR /&gt; arcpy.Intersect_analysis([output_point,output_line],output_snap,"ALL","0.5 Meters","")&lt;/N&gt;&lt;/N&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Profile and point are created from geometry objects. I had issues previously getting intersect analysis to recognize the correct hierarchy of the geometry objects, which is why I've copied them to feature classes. As feature classes, intersect analysis recognizes hierarchy just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the record in question, the output line and points are produced without a problem. It's just the intersect analysis that is producing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 23:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409969#M13893</guid>
      <dc:creator>JH5</dc:creator>
      <dc:date>2017-02-04T23:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Empty output from Intersect Analysis?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409970#M13894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your script, or the functional parts of it related to these intersection?&amp;nbsp; Without seeing detailed code, it is hard to offer suggestions.&amp;nbsp; If you can post any data with it, even better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 23:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409970#M13894</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-02-04T23:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Empty output from Intersect Analysis?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409971#M13895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - included a code snippet. I can attach the problematic line and point file when my current script finishes up ... I have it running now to just skip empty outputs so I have at least some outputs to work with. It may give me a better picture of how extensive the problem is as well - is it just record 1850, or every record subsequent to 1850?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2017 23:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409971#M13895</guid>
      <dc:creator>JH5</dc:creator>
      <dc:date>2017-02-04T23:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Empty output from Intersect Analysis?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409972#M13896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seems like you might want to use cursors and the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/polygon.htm"&gt;polygon geometry class&lt;/A&gt; which has intersect methods ... it might be easier if you are going through one shape at a time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2017 00:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409972#M13896</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-02-05T00:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Empty output from Intersect Analysis?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409973#M13897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am intersecting a cluster of points with a line ... no polygons involved. The intersect tool for geometries unfortunately doesn't have the option for an XY tolerance. I really need the output from intersect analysis, which is oddly working for the majority of the inputs but not all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2017 01:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409973#M13897</guid>
      <dc:creator>JH5</dc:creator>
      <dc:date>2017-02-05T01:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Empty output from Intersect Analysis?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409974#M13898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't suppose running a Near and pruning your candidate points out first would help.&amp;nbsp; But a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/pointgeometry.htm"&gt;snaptoline in the PointGeometry &lt;/A&gt;class might be useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2017 02:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/empty-output-from-intersect-analysis/m-p/409974#M13898</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-02-05T02:34:18Z</dc:date>
    </item>
  </channel>
</rss>

