<?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: Using Intersect_analysis in script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-intersect-analysis-in-script/m-p/296965#M22951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much! Such a simple fix.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 14:01:42 GMT</pubDate>
    <dc:creator>stacyventresca1</dc:creator>
    <dc:date>2013-02-06T14:01:42Z</dc:date>
    <item>
      <title>Using Intersect_analysis in script</title>
      <link>https://community.esri.com/t5/python-questions/using-intersect-analysis-in-script/m-p/296963#M22949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone, looking for some guidance. I want to intersect three features but I want to intersect 2 first then do some other stuff to that output then intersect that output to the next feature. I am not really understanding what I am doing wrong with the code, it seems to not like me using the output feature created from the first intersect as an input feature for the next intersect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy
from arcpy import env

# set the workspace to avoid having to type in the full path to the data every time
env.workspace = r"E:\Development\Novus.gdb"



inFeatures = ("Existing_LU", "soils")
intOut = "LUsoilsInt"
arcpy.Intersect_analysis (inFeatures, intOut)


inFeatures2 = ("LUsoilsInt", "Subbasins_Dek")
intOut2 = "Int_LU_Soils_basins"
arcpy.Intersect_analysis (inFeatures2, intOut2)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 18:20:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-intersect-analysis-in-script/m-p/296963#M22949</guid>
      <dc:creator>stacyventresca1</dc:creator>
      <dc:date>2013-02-05T18:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using Intersect_analysis in script</title>
      <link>https://community.esri.com/t5/python-questions/using-intersect-analysis-in-script/m-p/296964#M22950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use intOut, not the actual FC name, as input to the second intersect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;inFeatures = ("Existing_LU", "soils")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;intOut = "LUsoilsInt"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Intersect_analysis (inFeatures, intOut)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;inFeatures2 = (intOut , "Subbasins_Dek")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;intOut2 = "Int_LU_Soils_basins"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Intersect_analysis (inFeatures2, intOut2).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 18:52:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-intersect-analysis-in-script/m-p/296964#M22950</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2013-02-05T18:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using Intersect_analysis in script</title>
      <link>https://community.esri.com/t5/python-questions/using-intersect-analysis-in-script/m-p/296965#M22951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much! Such a simple fix.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 14:01:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-intersect-analysis-in-script/m-p/296965#M22951</guid>
      <dc:creator>stacyventresca1</dc:creator>
      <dc:date>2013-02-06T14:01:42Z</dc:date>
    </item>
  </channel>
</rss>

