<?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: Load feature class in memory in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437464#M34366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I worked! Thanks a lot! I've lost a day trying to solve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 17:25:50 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-09-20T17:25:50Z</dc:date>
    <item>
      <title>Load feature class in memory</title>
      <link>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437462#M34364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;Let's assume I have a geodatabase "database.gdb", and inside this database there is a feature class called "feature".&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;How can I load this feature in memory using arcpy? I have searched into the arcpy docs and couldn't find anything useful.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I tried to use Copy_management and CreateFeatureclass_management but its look like these methods expects files instead of variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437462#M34364</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-20T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load feature class in memory</title>
      <link>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437463#M34365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Untested&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;inputFc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:/database.gdb/inputFeatureClass"&lt;/SPAN&gt;
outputFc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"in_memory/inMemoryFeatureClass"&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CopyFeatures_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;inputFc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; outputFc&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;/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>Sat, 11 Dec 2021 19:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437463#M34365</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-12-11T19:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load feature class in memory</title>
      <link>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437464#M34366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I worked! Thanks a lot! I've lost a day trying to solve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 17:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437464#M34366</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-09-20T17:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load feature class in memory</title>
      <link>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437465#M34367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just be aware that &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;in_memory&lt;/SPAN&gt; doesn't always mean in memory.&amp;nbsp;&lt;EM&gt; I know, why label something "in_memory" if it doesn't mean it will always be in memory?&amp;nbsp;&amp;nbsp;&lt;/EM&gt;If you are running a script outside of ArcGIS Desktop (ArcMap or Pro), then it is actually in memory.&amp;nbsp; If you run a script from the interactive Python window or a script tool within ArcGIS Desktop, sometimes the output is actually a temporary data set on disk. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, with some tools like Create Table and Create Feature Class,&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; in_memory&lt;/SPAN&gt; will output to disk if "Background Processing" is enabled:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; tbl &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateTable_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"in_memory"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"test_table"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; tbl
&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;Result &lt;SPAN class="string token"&gt;'C:\\Users\\jack\\AppData\\Local\\Temp\\1\\arc3BB1\\j078ec6ad6c664d989a5b08b638ae9acd.gdb\\test_table'&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although a bit dated, most of the information from blogs posts I wrote a few years ago still applies to ArcMap today:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/blogs/tilting/2014/08/01/when-inmemory-doesnt-mean-in-memory?sr=search&amp;amp;searchId=1df1073d-f1a0-48b7-a13e-902aab9c5256&amp;amp;searchIndex=1" target="_blank"&gt;/blogs/tilting/2014/08/01/when-inmemory-doesnt-mean-in-memory?sr=search&amp;amp;searchId=1df1073d-f1a0-48b7-a13e-902aab9c5256&amp;amp;searchIndex=1&lt;/A&gt;‌&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/blogs/tilting/2014/08/02/whats-in-a-name-when-inmemory-in-memory?sr=search&amp;amp;searchId=1df1073d-f1a0-48b7-a13e-902aab9c5256&amp;amp;searchIndex=4" target="_blank"&gt;/blogs/tilting/2014/08/02/whats-in-a-name-when-inmemory-in-memory?sr=search&amp;amp;searchId=1df1073d-f1a0-48b7-a13e-902aab9c5256&amp;amp;searchIndex=4&lt;/A&gt;‌&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/blogs/tilting/2014/08/13/whats-in-a-name-when-inmemory?sr=search&amp;amp;searchId=1df1073d-f1a0-48b7-a13e-902aab9c5256&amp;amp;searchIndex=5" target="_blank"&gt;/blogs/tilting/2014/08/13/whats-in-a-name-when-inmemory?sr=search&amp;amp;searchId=1df1073d-f1a0-48b7-a13e-902aab9c5256&amp;amp;searchIndex=5&lt;/A&gt;‌&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/load-feature-class-in-memory/m-p/437465#M34367</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-11T19:35:25Z</dc:date>
    </item>
  </channel>
</rss>

