<?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: automate export and zipping features in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/automate-export-and-zipping-features/m-p/1396769#M3971</link>
    <description>&lt;P&gt;You can definitely automate the export part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Model Builder, add your feature layer, add the Iterate Feature Selection (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/iterate-feature-selection.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/iterate-feature-selection.htm&lt;/A&gt;) Iterator tool. Choose to group by Object ID (or whatever unique value). Connect the output features to Export Features tool. Export to a folder, specify a base shapefile name, insert "_%Value%" just before the shapefile .shp extension (this is called inline variable substitution).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="export_feature_by_feature.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98220i759FDF936014C3B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="export_feature_by_feature.png" alt="export_feature_by_feature.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Run the tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;You'll get something like this in your output folder.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sample_output.png" style="width: 576px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98221i4BC2AC550CE73716/image-size/large?v=v2&amp;amp;px=999" role="button" title="sample_output.png" alt="sample_output.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't see a Zip GP tool, but you could create a quick PY script and set it up as a script tool, then add that to the model.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 19:23:10 GMT</pubDate>
    <dc:creator>BobBooth1</dc:creator>
    <dc:date>2024-03-15T19:23:10Z</dc:date>
    <item>
      <title>automate export and zipping features</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/automate-export-and-zipping-features/m-p/1396733#M3970</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I deal with an agency that recently implemented a new data transfer system.&amp;nbsp; The new system requires a single feature/shape file be uploaded as a zip file.&amp;nbsp; we use geodatabases and typically have 30 to a couple hundred features in the feature class which will need to be split, exported, and zipped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to have a model that will export individual features of a feature class to shapefiles and then zip the shapefile using a model with minimal/no code?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 18:31:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/automate-export-and-zipping-features/m-p/1396733#M3970</guid>
      <dc:creator>CraigHauer</dc:creator>
      <dc:date>2024-03-15T18:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: automate export and zipping features</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/automate-export-and-zipping-features/m-p/1396769#M3971</link>
      <description>&lt;P&gt;You can definitely automate the export part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Model Builder, add your feature layer, add the Iterate Feature Selection (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/iterate-feature-selection.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/iterate-feature-selection.htm&lt;/A&gt;) Iterator tool. Choose to group by Object ID (or whatever unique value). Connect the output features to Export Features tool. Export to a folder, specify a base shapefile name, insert "_%Value%" just before the shapefile .shp extension (this is called inline variable substitution).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="export_feature_by_feature.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98220i759FDF936014C3B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="export_feature_by_feature.png" alt="export_feature_by_feature.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Run the tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;You'll get something like this in your output folder.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sample_output.png" style="width: 576px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98221i4BC2AC550CE73716/image-size/large?v=v2&amp;amp;px=999" role="button" title="sample_output.png" alt="sample_output.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't see a Zip GP tool, but you could create a quick PY script and set it up as a script tool, then add that to the model.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 19:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/automate-export-and-zipping-features/m-p/1396769#M3971</guid>
      <dc:creator>BobBooth1</dc:creator>
      <dc:date>2024-03-15T19:23:10Z</dc:date>
    </item>
  </channel>
</rss>

