<?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: Select by Attributes in Model Builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141003#M4805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Select LAYER by Attribute = Feature Layer as input&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 21:14:36 GMT</pubDate>
    <dc:creator>ShitijMehta</dc:creator>
    <dc:date>2011-08-31T21:14:36Z</dc:date>
    <item>
      <title>Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141000#M4802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using ArcGIS 10 I am able to incorporate "Select by Attributes" directly into my model. I then want to process the selected features. "Select by Location" is working successful, but connecting it to the following tools (e.g. Dissolve/Eliminate,...) always gives this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Failed to execute, parameters are not valid. Error 000840. The value is not a feature layer."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The output shapefile is somehow a so-called "Table View/Raster Layer/Mosaic Layer", although the Input Layer of "Select by Attributes" is a Feature Layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to deal with this? If I put "Make Feature Layer" or "Copy Features" between "Select by Attributes" and the following tool, I get the same error message (see above).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for any suggestions!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Katze01&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 11:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141000#M4802</guid>
      <dc:creator>KathrinSchulte-Braucks</dc:creator>
      <dc:date>2011-08-31T11:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141001#M4803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check attached image:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this what you are doing? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pls provide some more details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are working with 10 service pack 2?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 15:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141001#M4803</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-08-31T15:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141002#M4804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; "Select by Location" is working successful, &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, of course I meant "Select by Attributes".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your detailled answer! &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;Yeah, input was a shapefile. SQL Expression seems to be alright. I will try out the version with using the sql expression directly in the "Make Feature Layer" tool and connecting the output with the next tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can post a graphic of the extraction of the concerned part of my model tomorrow. Right now I can't check if SP2 is installed, will do that tomorrow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is "select layer by attributes"&amp;nbsp; not intended to be applied on feature classes/ shapefiles?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 20:12:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141002#M4804</guid>
      <dc:creator>KathrinSchulte-Braucks</dc:creator>
      <dc:date>2011-08-31T20:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141003#M4805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Select LAYER by Attribute = Feature Layer as input&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 21:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141003#M4805</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-08-31T21:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141004#M4806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright! Good to know...I suspected something like that, but was unsure since the "Select by Attributes"-Tool itself gave no error message , but just the following tools (the "Results"- Window always showed that "select by attributes" succeeded).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 21:20:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141004#M4806</guid>
      <dc:creator>KathrinSchulte-Braucks</dc:creator>
      <dc:date>2011-08-31T21:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141005#M4807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Keep on getting an error message (Input must be a featue class) at the point that the Make Feature Layer Output is connected to "Eliminate" (see attachment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The helpfile says, that Eliminate needs a Feature Layer with a selection as input. I put the sql expression in the Make Feature Layer tool&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141005#M4807</guid>
      <dc:creator>KathrinSchulte-Braucks</dc:creator>
      <dc:date>2011-09-07T07:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141006#M4808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post an image showing the tools in the model that are upstream of the Eliminate tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use Make Feature Layer tool to create a feature layer. Don't use any expression in this. Then use the Select Layer By Attribute tool to make a selection in the layer and connect the output of Select Layer By Attribute to the Eliminate tool. This should work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Eliminate tool works on a selected features from a feature class. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make feature layer with an expression creates an output layer with only the features that honor the expression, whereas the Select Layer By Attribute tool&amp;nbsp; creates a output layer with all the features in it but with features selected based on the query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 22:26:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141006#M4808</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-09-07T22:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select by Attributes in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141007#M4809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem trying to build a model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run step by step in the model, it runs well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I create parameter and run the model from ArcToolbox, it gave me the error: ERROR 000840&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The value is not a Raster Layer. ERROR 000840: The value is not a Mosaic Layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have checked all the setting, and there is anything that indicates the Feature Class has to be Raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached are the error message and parameter properties of my model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Serena&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 23:54:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/select-by-attributes-in-model-builder/m-p/141007#M4809</guid>
      <dc:creator>SerenaCain</dc:creator>
      <dc:date>2013-07-23T23:54:51Z</dc:date>
    </item>
  </channel>
</rss>

