<?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: Copy Features tool in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251968#M8633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;As long as a feature class with the same name in the geodatabase does not already exist, you can name the output any way you like. Otherwise, it will overwrite the existing data if you have chosen the Overwirte Output option for geoprocessing.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a very simple model that uses the copy features tool.&amp;nbsp; Even though I have set my geoprocessing options to 'overwrite the output of geoprocessing operations', my model still keeps telling me that it cannot create the output because an object with that name already exists.&amp;nbsp; Also, if I run the same copy features tool outside model builder, it will run through and overwrite the output.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a bunch of simple models that run basic geoprocessing tools.&amp;nbsp; They are all running fine, and overwriting existing output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas why copy features will not work inside my simple model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 20:59:34 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-02-27T20:59:34Z</dc:date>
    <item>
      <title>Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251964#M8629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible when using the copy features tool in model builder to copy the features over to the default geodatabase without the suffix "_CopyFeatures" being added to the resulting feature class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 13:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251964#M8629</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2012-01-18T13:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251965#M8630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As long as a feature class with the same name in the geodatabase does not already exist, you can name the output any way you like. Otherwise, it will overwrite the existing data if you have chosen the Overwirte Output option for geoprocessing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 14:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251965#M8630</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2012-01-18T14:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251966#M8631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks...but I am conducting a process where I have shapefiles that I am joining to a CSV table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then to make the join permanent I am using the copy tool. Whenever I do this it uses the orginal filename from the shapefile and adds "_CopyFeature" to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Within Model Builder I cannot see how to copy the shapefile to the geodatabase without the "_CopyFeature"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 15:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251966#M8631</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2012-01-18T15:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251967#M8632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should be able to open the Copy Features tool dialog inside ModelBuilder and change the automatically derived output name to anything you like, e.g. myResult, without the _CopyFeatures.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 16:52:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251967#M8632</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2012-01-18T16:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251968#M8633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;As long as a feature class with the same name in the geodatabase does not already exist, you can name the output any way you like. Otherwise, it will overwrite the existing data if you have chosen the Overwirte Output option for geoprocessing.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a very simple model that uses the copy features tool.&amp;nbsp; Even though I have set my geoprocessing options to 'overwrite the output of geoprocessing operations', my model still keeps telling me that it cannot create the output because an object with that name already exists.&amp;nbsp; Also, if I run the same copy features tool outside model builder, it will run through and overwrite the output.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a bunch of simple models that run basic geoprocessing tools.&amp;nbsp; They are all running fine, and overwriting existing output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas why copy features will not work inside my simple model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 20:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251968#M8633</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-27T20:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251969#M8634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of ArcGIS are you working on? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try validating a model before running the model, does that work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 16:12:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251969#M8634</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2012-02-28T16:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251970#M8635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Katie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have checked with my colleague, Shitij, about Copy Features in MB; we are not aware of the behavior you described. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are still struggling with this issue, you can answer Shitij's questions so that we can follow up. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 15:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251970#M8635</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2012-03-07T15:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251971#M8636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a related issue using the CopyFeatures method in an addin. I have the Geoprocessor set to GP.OverwriteOutput = true; and it works (some of the time). The issue appears to be isolated to how geodatabases are being handled for the output feature class. I'm trying to capture the result so that I can work with it using IGeoProcessorResult2 result = (IGeoProcessorResult2)RunTool(GP, copyFeatures, null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scenario 1. Shapefiles: not a problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scenario 2. Geodatabase (personal or file, same issue): &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pass * if the feature class doesn't already exist then it gets created fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pass * if the specifed output has the same path as an existing feature class then it overwrites it fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pass * if the output is specified to the root of the geodatabase and there is an existing feature class in a feature dataset then it runs fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Failed &lt;/STRONG&gt;&lt;SPAN&gt;* if the output is to a feature dataset and there is an existing feature class at the root or in another feature dataset then it fails (result = null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I have to remove any spaces in the output feature class name (again isolated to geodatabases, shapefiles work fine) or CopyFeatures fails. Spaces in the path (i.e. feature dataset name has a space) do not cause an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running ArcGIS 10.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 12:37:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251971#M8636</guid>
      <dc:creator>JustinShepard</dc:creator>
      <dc:date>2012-03-09T12:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251972#M8637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are sorry you are facing this problem. Unfortunately, this is an issue and has been logged into our system as a bug. For now you will have to modify your script to check for the existence of the feature class with same name and if it does then may be give it a unique name. You can try arcpy.CreateUniqueName if using Python or its equivalent for your addin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 21:34:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-tool/m-p/251972#M8637</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2012-03-13T21:34:55Z</dc:date>
    </item>
  </channel>
</rss>

