<?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: import shapefiles to feature datasets according to shape types in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/import-shapefiles-to-feature-datasets-according-to/m-p/1278164#M67933</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/505098"&gt;@SoknaLy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using arcpy.Describe() function you can access the shapeType property of a Shapefile/Feature Class&lt;/P&gt;&lt;P&gt;See this &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/featureclass-properties.htm" target="_self"&gt;link&lt;/A&gt;&amp;nbsp;in the ESRI documentation with an example code snippet.&lt;/P&gt;&lt;P&gt;You can use the shapeType property to direct each Shapefile into the correct feature dataset using if/else statements.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2023 09:42:44 GMT</pubDate>
    <dc:creator>Clubdebambos</dc:creator>
    <dc:date>2023-04-13T09:42:44Z</dc:date>
    <item>
      <title>import shapefiles to feature datasets according to shape types</title>
      <link>https://community.esri.com/t5/python-questions/import-shapefiles-to-feature-datasets-according-to/m-p/1278037#M67932</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have multiple folders consisting of many shapefiles of different shape types (point, line, polygon). I have created a geodatabase and three feature datasets (point, line, polygon) in it. All i want to do is to ask python to loop through each folder and describe shape type then import shapefiles to their respective feature datasets. I finished the first and second steps, but the last one (importing shapefiles to their respective feature datasets) is tricky for me. Any ideas or suggestions on that are much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 22:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-shapefiles-to-feature-datasets-according-to/m-p/1278037#M67932</guid>
      <dc:creator>SoknaLy</dc:creator>
      <dc:date>2023-04-12T22:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: import shapefiles to feature datasets according to shape types</title>
      <link>https://community.esri.com/t5/python-questions/import-shapefiles-to-feature-datasets-according-to/m-p/1278164#M67933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/505098"&gt;@SoknaLy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using arcpy.Describe() function you can access the shapeType property of a Shapefile/Feature Class&lt;/P&gt;&lt;P&gt;See this &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/featureclass-properties.htm" target="_self"&gt;link&lt;/A&gt;&amp;nbsp;in the ESRI documentation with an example code snippet.&lt;/P&gt;&lt;P&gt;You can use the shapeType property to direct each Shapefile into the correct feature dataset using if/else statements.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 09:42:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-shapefiles-to-feature-datasets-according-to/m-p/1278164#M67933</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2023-04-13T09:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: import shapefiles to feature datasets according to shape types</title>
      <link>https://community.esri.com/t5/python-questions/import-shapefiles-to-feature-datasets-according-to/m-p/1278386#M67934</link>
      <description>&lt;P&gt;Rather than "importing" you can loop through your list of shapefiles and feed that to&amp;nbsp;arcpy.conversion.FeatureClassToFeatureClass to the appropriate feature dataset.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 17:13:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-shapefiles-to-feature-datasets-according-to/m-p/1278386#M67934</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-04-13T17:13:26Z</dc:date>
    </item>
  </channel>
</rss>

