<?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: arcpy.FeatureClassToGeodatabase_conversion names problem in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148670#M11536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use arcpy.FeatureClasstoFeatureClass instead.&amp;nbsp;&amp;nbsp; You can specify the name and location of the output fc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2012 15:26:23 GMT</pubDate>
    <dc:creator>BruceBacia</dc:creator>
    <dc:date>2012-08-13T15:26:23Z</dc:date>
    <item>
      <title>arcpy.FeatureClassToGeodatabase_conversion names problem</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148669#M11535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For what I am trying to do I create a list of .shp files that I want to import in a gdb, then I use a loop such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for fc in list:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; arcpy.FeatureClassToGeodatabase_conversion names problem(fc, out_gdb)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It all works smooth except that the feature class created are named "GPL..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way I can specify the featureclass name that I want to have in the gdb?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 15:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148669#M11535</guid>
      <dc:creator>LucaMoiana</dc:creator>
      <dc:date>2012-08-13T15:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.FeatureClassToGeodatabase_conversion names problem</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148670#M11536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use arcpy.FeatureClasstoFeatureClass instead.&amp;nbsp;&amp;nbsp; You can specify the name and location of the output fc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 15:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148670#M11536</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2012-08-13T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.FeatureClassToGeodatabase_conversion names problem</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148671#M11537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Use arcpy.FeatureClasstoFeatureClass instead.&amp;nbsp;&amp;nbsp; You can specify the name and location of the output fc.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's what I did.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 15:41:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148671#M11537</guid>
      <dc:creator>LucaMoiana</dc:creator>
      <dc:date>2012-08-13T15:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.FeatureClassToGeodatabase_conversion names problem</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148672#M11538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure there is a way&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureClassToFeatureClass(in_features=None, out_path=None, &lt;/SPAN&gt;&lt;STRONG&gt;out_name=None&lt;/STRONG&gt;&lt;SPAN&gt;, where_clause=None, field_mapping=None, config_keyword=None)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice the third parameter is out_name, this is where you would specify the featureclass name.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 16:35:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148672#M11538</guid>
      <dc:creator>KenCarrier</dc:creator>
      <dc:date>2012-08-14T16:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.FeatureClassToGeodatabase_conversion names problem</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148673#M11539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sure there is a way&lt;BR /&gt;&lt;BR /&gt;FeatureClassToFeatureClass(in_features=None, out_path=None, &lt;STRONG&gt;out_name=None&lt;/STRONG&gt;, where_clause=None, field_mapping=None, config_keyword=None)&lt;BR /&gt;&lt;BR /&gt;Notice the third parameter is out_name, this is where you would specify the featureclass name.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the only way is to use FeatureClassToFeatureClass, there's no way to use FeatureClassToGeodatabase?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other question is, when I use FeatureClassToFeatureClass the Feautures I create have no Spatial Reference, how do I do??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 17:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148673#M11539</guid>
      <dc:creator>LucaMoiana</dc:creator>
      <dc:date>2012-08-14T17:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.FeatureClassToGeodatabase_conversion names problem</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148674#M11540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FeatureClasstoFeatureClass will give you the desired result of being able to name your featureclasses the way you want. It is essentially the same thing as FeatureclasstoGeodatabase but with more options and flexibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The FeatureClasstoFeatureClass tool does carry over spatial data like projections so I would check to ensure that the shapefiles have a projection associated with them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would possibly use the define projection on the shapefiles before executing the FeatureClasstoFeatureClass tool if that is the case&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would start with making sure the shapefiles you are importing have a spatial reference though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 17:39:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featureclasstogeodatabase-conversion-names/m-p/148674#M11540</guid>
      <dc:creator>KenCarrier</dc:creator>
      <dc:date>2012-08-14T17:39:20Z</dc:date>
    </item>
  </channel>
</rss>

