<?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: Make the output of a arcgis processing tool a feature layer directly in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18388#M1437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the Python code you're trying to run. &amp;nbsp;Don't forget to format it properly. &amp;nbsp;See here:&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-8691-posting-code-with-syntax-highlighting-on-geonet"&gt;https://community.esri.com/docs/DOC-8691-posting-code-with-syntax-highlighting-on-geonet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 17:41:25 GMT</pubDate>
    <dc:creator>MitchHolley1</dc:creator>
    <dc:date>2016-10-27T17:41:25Z</dc:date>
    <item>
      <title>Make the output of a arcgis processing tool a feature layer directly</title>
      <link>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18387#M1436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to make the output of a geoprocessing tool a feature layer because I don't want to specify a location for the output to be saved to, I just need to operate on it for a little and then discard it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started to type MakeFeatureLayer in the outfc parameter but then realized this doesn't work. Is there a way to make a feature layer directly from a geoprocessing tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 17:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18387#M1436</guid>
      <dc:creator>HannesZiegler2</dc:creator>
      <dc:date>2016-10-27T17:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Make the output of a arcgis processing tool a feature layer directly</title>
      <link>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18388#M1437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the Python code you're trying to run. &amp;nbsp;Don't forget to format it properly. &amp;nbsp;See here:&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-8691-posting-code-with-syntax-highlighting-on-geonet"&gt;https://community.esri.com/docs/DOC-8691-posting-code-with-syntax-highlighting-on-geonet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 17:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18388#M1437</guid>
      <dc:creator>MitchHolley1</dc:creator>
      <dc:date>2016-10-27T17:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Make the output of a arcgis processing tool a feature layer directly</title>
      <link>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18389#M1438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes sure, basically I want the output of the Intersect tool to be a temporary Feature Layer such as those created by arcpy.management.MakeFeatureLayer.&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;analysis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Intersect&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;inline&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; infc_intersect&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; outfc_intersect&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"POINT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Otherwise, I need the user to specify a location for this temporary point file (in outfc_intersect), and I don't want this as it adds unnecessary complexity.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 17:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18389#M1438</guid>
      <dc:creator>HannesZiegler2</dc:creator>
      <dc:date>2016-10-27T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Make the output of a arcgis processing tool a feature layer directly</title>
      <link>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18390#M1439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the in memory workspace. Then the feature class only exists in memory and will be discarded after the script is finished running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"in_memory"&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18390#M1439</guid>
      <dc:creator>KristenE</dc:creator>
      <dc:date>2021-12-10T20:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Make the output of a arcgis processing tool a feature layer directly</title>
      <link>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18391#M1440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to do the trick, I'm testing it out now. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 18:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/make-the-output-of-a-arcgis-processing-tool-a/m-p/18391#M1440</guid>
      <dc:creator>HannesZiegler2</dc:creator>
      <dc:date>2016-10-27T18:24:45Z</dc:date>
    </item>
  </channel>
</rss>

