<?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: Export selected features in model builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202846#M6917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you recreating the feature layer in the final step? If so, are you unsing the same name for the feature layer from step one? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try deleting the feature layer then recreating it within the final step.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 16:04:23 GMT</pubDate>
    <dc:creator>DallasShearer</dc:creator>
    <dc:date>2010-07-15T16:04:23Z</dc:date>
    <item>
      <title>Export selected features in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202845#M6916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone, I'm running out of things to try here and would appreciate any help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first step in my model is to select features and export them.&amp;nbsp; I use the "make feature layer" tool along with a query to select features.&amp;nbsp; Then I use the "copy features" tool to make the output permanent.&amp;nbsp; This step works great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Final step is to do the same selection as the first step based on the same field, which has been recalculated, export the data, and add and calculate a couple more fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use make feature layer, copy features, I get an error saying "An expected field was not found or could not be retrieved properly" when it tries to copy features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Select Layer by Attribute causes the first step to produce this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the "select" tool also produces the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is somehow caused by my adding and calculating fields later on but I don't know why.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 14:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202845#M6916</guid>
      <dc:creator>LornaMurison</dc:creator>
      <dc:date>2010-07-15T14:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected features in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202846#M6917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you recreating the feature layer in the final step? If so, are you unsing the same name for the feature layer from step one? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try deleting the feature layer then recreating it within the final step.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 16:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202846#M6917</guid>
      <dc:creator>DallasShearer</dc:creator>
      <dc:date>2010-07-15T16:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected features in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202847#M6918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, thanks for the reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I'm not recreating the same layer, it has a different name and is being saved in a different location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've attached a jpeg of the model in case anyone is curious, sorry it seems rather complicated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I have the problem area set to select, and copy features(2), but select gives me the error "an expected field was not found or could not be retrieved properly".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried running it without any of the add or calculate fields added afterwards and it still gives me the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The query I am using in "select" and the one i used in "make feature layer" (first step which works) is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[indent] "GoodLake"="yes"[/indent]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and i am querying a file geodatabase, hence the quotes.&amp;nbsp; The field name is correct, and there are records in the table that have a value of "yes"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 16:46:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202847#M6918</guid>
      <dc:creator>LornaMurison</dc:creator>
      <dc:date>2010-07-15T16:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Export selected features in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202848#M6919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;think&lt;/SPAN&gt;&lt;SPAN&gt; what happened is that while I had planned for the previous output to be saved into a file geodatabase, it was actually being saved into a personal geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make feature layer and copy features is working now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 14:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/export-selected-features-in-model-builder/m-p/202848#M6919</guid>
      <dc:creator>LornaMurison</dc:creator>
      <dc:date>2010-07-19T14:57:21Z</dc:date>
    </item>
  </channel>
</rss>

