<?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 Copy Features Model Builder - Error 000840 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-model-builder-error-000840/m-p/681642#M22632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to automate a long process in model builder and I am having trouble with one of the steps. I have the ArcGIS 10.2.2 student software and I am trying to run the following model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/328268_pastedImage_2.png" style="width: 801px; height: 369px;" /&gt;I know there is a lot there, but the part I am having trouble with involves&amp;nbsp;selecting by attributes from a feature, making a layer, and then copying the features so I then do some more geoprocessing (dissolve, etc.). The model works great until I get to the "Copy Features" tool which spits out the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR 000840: The value is not a Feature Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR 000840: The value is not a Raster Catalog Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Failed to execute (Copy Features).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just for kicks, I tried the "Create Feature Class" and "Feature Class to Feature Class" tools and I get the same error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really baffled here because I broke up this model into smaller components and ran the following model that starts after the "Script" tool in my other picture and the "Copy Features" tool works just fine:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/328269_pastedImage_4.png" style="width: 782px; height: 290px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the first model to work, however, because I need to use an early output in a geoprocessing step later (I just haven't incorporated that step into the model yet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. Let me know if I should post any other helpful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 00:46:46 GMT</pubDate>
    <dc:creator>PatrickPrendergast</dc:creator>
    <dc:date>2017-02-23T00:46:46Z</dc:date>
    <item>
      <title>Copy Features Model Builder - Error 000840</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-model-builder-error-000840/m-p/681642#M22632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to automate a long process in model builder and I am having trouble with one of the steps. I have the ArcGIS 10.2.2 student software and I am trying to run the following model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/328268_pastedImage_2.png" style="width: 801px; height: 369px;" /&gt;I know there is a lot there, but the part I am having trouble with involves&amp;nbsp;selecting by attributes from a feature, making a layer, and then copying the features so I then do some more geoprocessing (dissolve, etc.). The model works great until I get to the "Copy Features" tool which spits out the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR 000840: The value is not a Feature Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR 000840: The value is not a Raster Catalog Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Failed to execute (Copy Features).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just for kicks, I tried the "Create Feature Class" and "Feature Class to Feature Class" tools and I get the same error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really baffled here because I broke up this model into smaller components and ran the following model that starts after the "Script" tool in my other picture and the "Copy Features" tool works just fine:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/328269_pastedImage_4.png" style="width: 782px; height: 290px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the first model to work, however, because I need to use an early output in a geoprocessing step later (I just haven't incorporated that step into the model yet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. Let me know if I should post any other helpful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 00:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-model-builder-error-000840/m-p/681642#M22632</guid>
      <dc:creator>PatrickPrendergast</dc:creator>
      <dc:date>2017-02-23T00:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features Model Builder - Error 000840</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-model-builder-error-000840/m-p/681643#M22633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR data-object-id="1218" data-object-type="700"&gt;&lt;TD&gt;Could you&amp;nbsp;Move this thread to&lt;IMG alt="Group" src="https://assets2.jiveon.com/core/2016.3.6.0.c6d8942/images/transparent.png" /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;A _jive_internal="true" data-objectid="1218" data-objecttype="700" href="https://community.esri.com/groups/model-builder"&gt;&lt;SPAN style="color: #287433;"&gt;Model Builder&lt;/SPAN&gt;&lt;/A&gt; &lt;SPAN style="color: #a9a9a9; font-size: small;"&gt;Group&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 18:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-model-builder-error-000840/m-p/681643#M22633</guid>
      <dc:creator>AbdullahAnter</dc:creator>
      <dc:date>2017-02-23T18:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Features Model Builder - Error 000840</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-features-model-builder-error-000840/m-p/681644#M22634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/make-feature-layer.htm"&gt;Make Feature Layer&lt;/A&gt; tool just before the Copy Features tool in Model Builder. I hope it will solve the issue.&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/59837/why-is-it-important-to-use-feature-layers-in-modelbuilder"&gt;Why is it important to use feature layers in ModelBuilder?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 05:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-features-model-builder-error-000840/m-p/681644#M22634</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-02-24T05:59:36Z</dc:date>
    </item>
  </channel>
</rss>

