<?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: How to export shape file based on data driven page limits in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50297#M3945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 01:40:41 GMT</pubDate>
    <dc:creator>BrianChapman1</dc:creator>
    <dc:date>2017-11-06T01:40:41Z</dc:date>
    <item>
      <title>How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50291#M3939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need help to export shape files based on limits of dataframes... I've got this far but think I'm going in the wrong direction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mxd = arcpy.mapping.MapDocument("CURRENT") &lt;BR /&gt;df = arcpy.mapping.ListDataFrames(mxd)[0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.dataDrivenPages.currentPageID = pageNum&lt;BR /&gt;arcpy.FeatureClassToFeatureClass_conversion("ParcelPoly","C:\Test\name","name"... need help here&lt;BR /&gt;del mxd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2017 22:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50291#M3939</guid>
      <dc:creator>BrianChapman1</dc:creator>
      <dc:date>2017-11-04T22:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50292#M3940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/feature-class-to-feature-class.htm"&gt;&lt;STRONG&gt;FeatureClassToFeatureClass&lt;/STRONG&gt; &lt;/A&gt;has no extent parameter.&amp;nbsp; Are you perhaps trying to&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/clip.htm"&gt;&lt;STRONG&gt; clip&lt;/STRONG&gt; &lt;/A&gt;to the extent&lt;/P&gt;&lt;P&gt;Or &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/map/page-layouts/clipping-the-data-frame.htm"&gt;&lt;STRONG&gt;Clipping the Data Frame&lt;/STRONG&gt;&lt;/A&gt;.... specifically&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/map/page-layouts/clipping-the-data-frame.htm#ESRI_SECTION1_03794949E01649E396EAAFA5DCEA000B"&gt;&lt;STRONG&gt; Clipping to currrent data driven page extent&lt;/STRONG&gt;&lt;/A&gt;...&amp;nbsp; These two don't actually clip featureclasses either&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 00:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50292#M3940</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-05T00:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50293#M3941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically just looking to export data based on the limits of the dataframe without doing it manually.&amp;nbsp; Maybe I can find another way.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 00:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50293#M3941</guid>
      <dc:creator>BrianChapman1</dc:creator>
      <dc:date>2017-11-05T00:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50294#M3942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can stil do that by scripting, but is there just one layer in your dataframe or multiple layers? Have you thought about the output names of the featureclasses that you will create? And perhaps more importantly, why do you want to do this? Is it really necessary?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could&amp;nbsp;read out the extents of the pages and create a featureclass and loop through the features of that featureclass and clip the featureclass(es) and create the outputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 16:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50294#M3942</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-05T16:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50295#M3943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea...names aren't important. It's basically one shape file (covering a huge limits) that I'm trying to divide into smaller files to make the size of the shape files more manageable with 3rd party software. &amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 20:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50295#M3943</guid>
      <dc:creator>BrianChapman1</dc:creator>
      <dc:date>2017-11-05T20:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50296#M3944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/dataframe-class.htm"&gt;DataFrame&lt;/A&gt;&amp;nbsp;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/extent.htm"&gt;Extent&lt;/A&gt;&amp;nbsp;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/polygon.htm"&gt;Polygon&lt;/A&gt;&amp;nbsp;to &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/clip.htm"&gt;Clip&lt;/A&gt; your feature class, inside the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 20:18:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50296#M3944</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2017-11-05T20:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50297#M3945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 01:40:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50297#M3945</guid>
      <dc:creator>BrianChapman1</dc:creator>
      <dc:date>2017-11-06T01:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to export shape file based on data driven page limits</title>
      <link>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50298#M3946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your dataframe extents may have overlap depending on how they were defined in relation to the size of your dataframe. If the idea is to manage it in smaller chunks in 3rd party software, you could consider to &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-fishnet.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-fishnet.htm"&gt;Create Fishnet—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;, and&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/intersect.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/intersect.htm"&gt;Intersect—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; and then use&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/split-by-attributes.htm" title="https://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/split-by-attributes.htm"&gt;Split By Attributes—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=15ca63aebb4647a4b07bc94f3d051da5" title="http://www.arcgis.com/home/item.html?id=15ca63aebb4647a4b07bc94f3d051da5"&gt;http://www.arcgis.com/home/item.html?id=15ca63aebb4647a4b07bc94f3d051da5&lt;/A&gt;&amp;nbsp;depending on the version you have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 02:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-export-shape-file-based-on-data-driven-page/m-p/50298#M3946</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-11-06T02:59:19Z</dc:date>
    </item>
  </channel>
</rss>

