<?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 Python Script: Create separate feature classes for each record in shapefile in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615245#M20434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Forum Members,&lt;/P&gt;&lt;P&gt;I need to create a separate feature class from each record in a shapefile &lt;BR /&gt;(i.e. each row in original shapefile needs to be a new feature class in its own right). &lt;BR /&gt;I need to name each new feature class by its ID number from the AWS_ID field in the original shapefile&lt;BR /&gt;See Python script below:&lt;/P&gt;&lt;P&gt;1.#Import required modules&lt;BR /&gt;2.import arcpy, os, traceback&lt;BR /&gt;3.from arcpy import env&lt;BR /&gt;4.&lt;BR /&gt;5.env.workspace = r"C:\temp\"&lt;BR /&gt;6.env. overwriteOutput = True&lt;BR /&gt;7.&lt;BR /&gt;8.# Script arguments&lt;BR /&gt;9.awsInput = r"C:\Temp\AWS.shp"&lt;BR /&gt;10.awsName = "AWS_ID" # Field in AWS.shp to be used as name for output shpfile&lt;BR /&gt;11.cursor = arcpy.SearchCursor(awsInput)&lt;BR /&gt;12.&lt;BR /&gt;13.for aws in cursor:&lt;BR /&gt;14. awsID = aws.getValue(awsName)&lt;BR /&gt;15. awsName = "{}_AWS".format(aws)&lt;BR /&gt;16. arcpy.CopyFeatures_management(awsInput, r"C:\Temp\DataExtract_Work.gdb\awsName", "0", "0", "0")&lt;/P&gt;&lt;P&gt;(NB. line numbers will affect indentation!)&lt;/P&gt;&lt;P&gt;I have tried to get it working by&lt;BR /&gt;a) searching the arcpy help - source of line 11, SearchCursor&lt;BR /&gt;b) reviewing Esri online Python courses I have done - source of line 15&lt;BR /&gt;c) viewing online video tutorials on ModelBuilder iteration&lt;/P&gt;&lt;P&gt;Before I added lines 14,15 but ran line 16,the script ran but either overwrote all but the last record or &lt;BR /&gt;added all the records as per the original shapefile. Currently I get a RuntimeError: ERROR 999999,&lt;BR /&gt;referring to line 14. Prior to adding lines 15-16, and having a print aws.getValue(aws) statement, &lt;BR /&gt;it printed out each ID number on a separate line.&lt;/P&gt;&lt;P&gt;Question 1. Where have I messed up?&lt;/P&gt;&lt;P&gt;Question 2. Does one have to first create a list if one is only using a single feature class/shapefile as the input?&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2019 13:12:30 GMT</pubDate>
    <dc:creator>MarkNorris-Rogers</dc:creator>
    <dc:date>2019-05-28T13:12:30Z</dc:date>
    <item>
      <title>Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615245#M20434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Forum Members,&lt;/P&gt;&lt;P&gt;I need to create a separate feature class from each record in a shapefile &lt;BR /&gt;(i.e. each row in original shapefile needs to be a new feature class in its own right). &lt;BR /&gt;I need to name each new feature class by its ID number from the AWS_ID field in the original shapefile&lt;BR /&gt;See Python script below:&lt;/P&gt;&lt;P&gt;1.#Import required modules&lt;BR /&gt;2.import arcpy, os, traceback&lt;BR /&gt;3.from arcpy import env&lt;BR /&gt;4.&lt;BR /&gt;5.env.workspace = r"C:\temp\"&lt;BR /&gt;6.env. overwriteOutput = True&lt;BR /&gt;7.&lt;BR /&gt;8.# Script arguments&lt;BR /&gt;9.awsInput = r"C:\Temp\AWS.shp"&lt;BR /&gt;10.awsName = "AWS_ID" # Field in AWS.shp to be used as name for output shpfile&lt;BR /&gt;11.cursor = arcpy.SearchCursor(awsInput)&lt;BR /&gt;12.&lt;BR /&gt;13.for aws in cursor:&lt;BR /&gt;14. awsID = aws.getValue(awsName)&lt;BR /&gt;15. awsName = "{}_AWS".format(aws)&lt;BR /&gt;16. arcpy.CopyFeatures_management(awsInput, r"C:\Temp\DataExtract_Work.gdb\awsName", "0", "0", "0")&lt;/P&gt;&lt;P&gt;(NB. line numbers will affect indentation!)&lt;/P&gt;&lt;P&gt;I have tried to get it working by&lt;BR /&gt;a) searching the arcpy help - source of line 11, SearchCursor&lt;BR /&gt;b) reviewing Esri online Python courses I have done - source of line 15&lt;BR /&gt;c) viewing online video tutorials on ModelBuilder iteration&lt;/P&gt;&lt;P&gt;Before I added lines 14,15 but ran line 16,the script ran but either overwrote all but the last record or &lt;BR /&gt;added all the records as per the original shapefile. Currently I get a RuntimeError: ERROR 999999,&lt;BR /&gt;referring to line 14. Prior to adding lines 15-16, and having a print aws.getValue(aws) statement, &lt;BR /&gt;it printed out each ID number on a separate line.&lt;/P&gt;&lt;P&gt;Question 1. Where have I messed up?&lt;/P&gt;&lt;P&gt;Question 2. Does one have to first create a list if one is only using a single feature class/shapefile as the input?&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 13:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615245#M20434</guid>
      <dc:creator>MarkNorris-Rogers</dc:creator>
      <dc:date>2019-05-28T13:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615246#M20435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, use the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-data-access/searchcursor-class.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;arcpy.da.SearchCursor.&lt;/A&gt;&amp;nbsp;It's faster and more reliable.&amp;nbsp; One thing you seem to be missing is a selection statement.&amp;nbsp; You'll need that to isolate each record.&amp;nbsp; In order to make a selection, you'll need to use a&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/make-feature-layer.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;rcpy.MakeFeatureLayer()&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Psuedo code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MakeFeatureLayer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'yourFeatureClass'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'layerName'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

fields &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'OBJECTID'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'YourNeededFields'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;'layerName&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;fields&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; cursor&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
  &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; row cursor&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
     arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SelectLayerByAttribute_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'layerName'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'NEW_SELECTION'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;'OBJECTID &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; 
     &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;row&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
     arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CopyFeatures_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'layerName'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'YourOutFeatureClass'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615246#M20435</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-12T02:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615247#M20436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/45957"&gt;Mark Norris-Rogers&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also have a look at this discussion, and at the answers given there: &lt;A class="link-titled" href="https://gis.stackexchange.com/questions/139399/loop-for-exporting-shapefiles-from-an-existing-shapefile" title="https://gis.stackexchange.com/questions/139399/loop-for-exporting-shapefiles-from-an-existing-shapefile"&gt;arcpy - Loop for exporting shapefiles from an existing shapefile - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 14:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615247#M20436</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-05-28T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615248#M20437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;Thanks very much for your help. I did wonder about a select statement but the example code I looked at did not seem to use one - obviously I was looking at the wrong thing! I will apply your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 15:15:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615248#M20437</guid>
      <dc:creator>MarkNorris-Rogers</dc:creator>
      <dc:date>2019-05-28T15:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615249#M20438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Egge-Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much. I will look up that link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 15:17:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615249#M20438</guid>
      <dc:creator>MarkNorris-Rogers</dc:creator>
      <dc:date>2019-05-28T15:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615250#M20439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered the split by attributes tool?&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/split-by-attributes.htm" title="http://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;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 03:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615250#M20439</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2019-06-03T03:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615251#M20440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the real question here is "why would you do that?". Very strange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 10:01:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615251#M20440</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2019-06-03T10:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615252#M20441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen many projects in the past which contain thousands of shapefiles, which actually should be consolidated into one feature with an attribute indicating what is what.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 10:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615252#M20441</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2019-06-03T10:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615253#M20442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes it's necessary. When the consolidated database is just too big and unwieldy to use, even with spatial and attribute indexes and professional database tuning there's no other option. Think continental scale cadastre, tenure, species distributions. Definition queries just don't cut it in these cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 11:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615253#M20442</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2019-06-03T11:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615254#M20443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this suggestion. I was not aware of this tool, but it looks like it will be of help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 13:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615254#M20443</guid>
      <dc:creator>MarkNorris-Rogers</dc:creator>
      <dc:date>2019-06-03T13:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615255#M20444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client requires a separate table of attributes for each record in the point file. For each point, data needs to be extracted from a number of separate raster files to provide a record of all the raster attributes for that point, hence the need to break up the point data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 13:09:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615255#M20444</guid>
      <dc:creator>MarkNorris-Rogers</dc:creator>
      <dc:date>2019-06-03T13:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615256#M20445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A href="https://community.esri.com/migrated-users/5327"&gt;Neil Ayres&lt;/A&gt;‌ to explode out your data into individual shapefiles does seem a little "excessive".&amp;nbsp;Going down that road incurs all sorts of file management issues where a single cursor feeding out your point for the raster processing would be much more sensible and efficient, unless its an issues with some sort of mega dataset as Luke suggested? I would be going back to the client and challenging them to understand why they really need it in that format and see if they could not adapt/improve their workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If turns out they are using ArcView 3.2 on a windows XP machine with 8MB of ram then fair enough...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 08:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615256#M20445</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-06-06T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script: Create separate feature classes for each record in shapefile</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615257#M20446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; "&gt;If turns out they are using ArcView 3.2 on a windows XP machine with 8MB of ram then fair enough...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;This wouldn't be so funny if it weren't so true...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-create-separate-feature-classes-for/m-p/615257#M20446</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-06-06T13:44:49Z</dc:date>
    </item>
  </channel>
</rss>

