<?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 How to use Select by Attribute to automatically extract each unique value from a field into its own shapefile? in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-select-by-attribute-to-automatically/m-p/826639#M993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Disclaimer: I know the first thing that might come to mind is&amp;nbsp;&lt;STRONG&gt;Split By Feature&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp;&lt;EM&gt;Unfortunately this script doesn't work well in the Model Maker.&amp;nbsp;&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;Split by Feature&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;is a great script though, and works very well outside of the Model Maker.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the title says I'm looking for a way to use Select by Attribute, or a similar tool, to automatically:&lt;/P&gt;&lt;P&gt;1. Find how many unique values an attribute field has;&lt;/P&gt;&lt;P&gt;2. And then extract each of those values into a unique Shapefile for each value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why&amp;nbsp;&lt;STRONG&gt;Split by Feature&amp;nbsp;&lt;/STRONG&gt;isn't appropriate for my purposes is because it forces you to output into a Workspace. Connecting this to batch processes in the Modeler is tricky without Iterators.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a similar tool to this that doesn't force you into a Workspace?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, is there a way to Modify an existing tool to execute this process?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some scouring on the web I found this, which while I haven't tested it yet it seems like it could be what I'm looking for:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html" title="https://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html"&gt;Split By Attribute Tool - Desktop Decision Support Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: While the tool in the above link&amp;nbsp;&lt;EM&gt;would&amp;nbsp;&lt;/EM&gt;do what I'm looking for, I can't get it into the Model Maker. The file directory only shows the .ESRIAddin file, and installing it into ArcMap puts it as a toolbar, I can't find it in a toolbox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT 2: I solved this, let me know if you need the tool.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Feb 2020 13:37:58 GMT</pubDate>
    <dc:creator>PaulFrissora1</dc:creator>
    <dc:date>2020-02-21T13:37:58Z</dc:date>
    <item>
      <title>How to use Select by Attribute to automatically extract each unique value from a field into its own shapefile?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-select-by-attribute-to-automatically/m-p/826639#M993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Disclaimer: I know the first thing that might come to mind is&amp;nbsp;&lt;STRONG&gt;Split By Feature&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp;&lt;EM&gt;Unfortunately this script doesn't work well in the Model Maker.&amp;nbsp;&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;Split by Feature&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;is a great script though, and works very well outside of the Model Maker.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the title says I'm looking for a way to use Select by Attribute, or a similar tool, to automatically:&lt;/P&gt;&lt;P&gt;1. Find how many unique values an attribute field has;&lt;/P&gt;&lt;P&gt;2. And then extract each of those values into a unique Shapefile for each value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why&amp;nbsp;&lt;STRONG&gt;Split by Feature&amp;nbsp;&lt;/STRONG&gt;isn't appropriate for my purposes is because it forces you to output into a Workspace. Connecting this to batch processes in the Modeler is tricky without Iterators.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a similar tool to this that doesn't force you into a Workspace?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, is there a way to Modify an existing tool to execute this process?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some scouring on the web I found this, which while I haven't tested it yet it seems like it could be what I'm looking for:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html" title="https://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html"&gt;Split By Attribute Tool - Desktop Decision Support Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: While the tool in the above link&amp;nbsp;&lt;EM&gt;would&amp;nbsp;&lt;/EM&gt;do what I'm looking for, I can't get it into the Model Maker. The file directory only shows the .ESRIAddin file, and installing it into ArcMap puts it as a toolbar, I can't find it in a toolbox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT 2: I solved this, let me know if you need the tool.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 13:37:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-select-by-attribute-to-automatically/m-p/826639#M993</guid>
      <dc:creator>PaulFrissora1</dc:creator>
      <dc:date>2020-02-21T13:37:58Z</dc:date>
    </item>
  </channel>
</rss>

