<?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: Changing feature class type of existing feature class using python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554371#M43346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds good to me: certainly worth a look.&amp;nbsp; Thomas; how many feature classes are you talking about?&amp;nbsp; Is this something you need to do often over time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2018 17:55:31 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2018-10-11T17:55:31Z</dc:date>
    <item>
      <title>Changing feature class type of existing feature class using python</title>
      <link>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554366#M43341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an empty point feature class in a file geodatabase. I also need an exact copy of this in a line and polygon feature class type (in the same file geodatabase).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to identify any tools or arcpy workflows that allow me to change an existing empty feature class type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An export to shapefile will remove all the &lt;STRONG&gt;subtypes&lt;/STRONG&gt; and long field names and field alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use ArcGIS Pro 2.2 - Advanced license level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My hope was a python code with the following flow:&lt;/P&gt;&lt;P&gt;- Create a copy of the existing point feature class in the same file geodatabase&lt;/P&gt;&lt;P&gt;- Changing feature class type to line/polygon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2018 12:25:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554366#M43341</guid>
      <dc:creator>ThomasL</dc:creator>
      <dc:date>2018-10-06T12:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Changing feature class type of existing feature class using python</title>
      <link>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554367#M43342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;I&amp;nbsp;&lt;SPAN style="background-color: #ffffff; font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;also need an exact copy of this in a line and polygon feature class type (in the same file geodatabase).&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Do you mean you need a line and polygon feature class of the same schema/attributes and spatial coordinate system as the point feature class?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/create-feature-class.htm" title="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/create-feature-class.htm"&gt;Create Feature Class—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Use your point feature class as the 'template'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2018 13:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554367#M43342</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-10-06T13:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing feature class type of existing feature class using python</title>
      <link>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554368#M43343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/161645"&gt;Joe Borgione&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Create Feature Class Tool" unfortunately dose not transfer the subtypes to the&amp;nbsp;new&amp;nbsp;feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to include the subtypes&amp;nbsp;too?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 06:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554368#M43343</guid>
      <dc:creator>ThomasL</dc:creator>
      <dc:date>2018-10-11T06:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Changing feature class type of existing feature class using python</title>
      <link>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554369#M43344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't.&amp;nbsp; I did a google search and nothing of value was returned...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 15:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554369#M43344</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-10-11T15:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing feature class type of existing feature class using python</title>
      <link>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554370#M43345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems kind of hacky, but one approach might be to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Export the feature class to an XML workspace document (schema only)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Use Python to modify the XML file, specifically the geometry type and feature class name&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Import the XML workspace document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should maintain all of the subtypes and such.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 17:26:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554370#M43345</guid>
      <dc:creator>JamesMacKay3</dc:creator>
      <dc:date>2018-10-11T17:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Changing feature class type of existing feature class using python</title>
      <link>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554371#M43346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds good to me: certainly worth a look.&amp;nbsp; Thomas; how many feature classes are you talking about?&amp;nbsp; Is this something you need to do often over time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 17:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changing-feature-class-type-of-existing-feature/m-p/554371#M43346</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-10-11T17:55:31Z</dc:date>
    </item>
  </channel>
</rss>

