<?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: Buffering Multiple feature classes in GDB (python) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166950#M12884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean "and clean go through your logic"&lt;A href="https://community.esri.com/migrated-users/57826"&gt;Matthew Russo&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 18:30:44 GMT</pubDate>
    <dc:creator>EthanHeidtman</dc:creator>
    <dc:date>2015-05-08T18:30:44Z</dc:date>
    <item>
      <title>Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166941#M12875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble buffering multiple feature classes within a GDB. These feature classes were just created based on a select by attribute and copy features tool run. &lt;/P&gt;&lt;P&gt;I have attached a copy of my script. The buffer analysis begins at the bottom, I have tried various parameters and dont know the variable that will be my input features that are the selected krogers from each county. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 14:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166941#M12875</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166942#M12876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you getting an error or is it just not doing what you want it to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 16:54:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166942#M12876</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-05-08T16:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166943#M12877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It won't even run the buffer analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I need to put it in a loop somehow.&lt;/P&gt;&lt;P&gt;Something like list featureclasses with a where clause being a wild card&lt;/P&gt;&lt;P&gt;*krogerselection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the loop being for fc in fcs&lt;/P&gt;&lt;P&gt;Buffer analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stumped!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 17:09:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166943#M12877</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T17:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166944#M12878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So are trying to buffer selected features of each features class that you copied to your GDB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original Script(for anyone else who wants to chime in)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy, os
arcpy.env.workspace = "F:/GEO443/FinalPrj"
arcpy.env.overwriteOutput = True
#Variables holding location of each counties LBRS points
brown = "F:/GEO443/FinalPrj/LBRS_data/Brown_cty/BRO_ADDS.shp"
clermont = "F:/GEO443/FinalPrj/LBRS_data/Clermont_cty/CLE_ADDS.shp"
hancock = "F:/GEO443/FinalPrj/LBRS_data/Hancock_cty/HAN_ADDS.shp"
muskingum = "F:/GEO443/FinalPrj/LBRS_data/Muskingum_cty/MUS_ADDS.shp"
richland = "F:/GEO443/FinalPrj/LBRS_data/Richland_cty/RIC_ADDS.shp"
try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Creating new file geodatabase..."
&amp;nbsp;&amp;nbsp;&amp;nbsp; #Creating a new GeoDatabase where shapefiles will be moved
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##CreateFileGDB_management (out_folder_path, out_name, {out_version})
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreateFileGDB_management ("F:/GEO443/FinalPrj","Final.gdb")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "New geodatabase has been created in your FinalPrj folder"
&amp;nbsp;&amp;nbsp;&amp;nbsp; #Move shapefiles to geodatabase using variables created above
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##FeatureClassToGeodatabase_conversion (Input_Features, Output_Geodatabase)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.FeatureClassToGeodatabase_conversion([brown,clermont,hancock,muskingum,richland],"F:/GEO443/FinalPrj/Final.gdb")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Shapefiles have been moved to the geodatabase"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.workspace = "F:/GEO443/FinalPrj/Final.gdb"
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "New workspace: " + arcpy.env.workspace
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##MakeFeatureLayer_management(in_features,out_layer,{where_clause},{workspace},{field_info})
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##SelectLayerByAttribute_management (in_layer_or_view,{selection_type},{where_clause})
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##CopyFeatures_management (in_features,out_feature_class,{config_keyword},{spatial_grid_1},{spatial_grid_2},{spatial_grid_3})
&amp;nbsp;&amp;nbsp;&amp;nbsp; kroger_selection = ('"COMMENT" = \'KROGER\'')
&amp;nbsp;&amp;nbsp;&amp;nbsp; fcs = arcpy.ListFeatureClasses()
&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fcs:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print fc
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print ""
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fc_kroger = fc + "kroger"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fc_lyr = arcpy.MakeFeatureLayer_management (fc,fc_kroger)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(fc_lyr,"NEW_SELECTION",kroger_selection)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(fc_lyr,fc + "krogerselection")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Features Copied"
&amp;nbsp;&amp;nbsp;&amp;nbsp; input_features = arcpy.CopyFeatures_management(fc_lyr,fc + "krogerselection")
&amp;nbsp;&amp;nbsp;&amp;nbsp; ##Buffer_analysis (in_features, out_feature_class, buffer_distance_or_field, {line_side}, {line_end_type}, {dissolve_option}, {dissolve_field})&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; #set input_features variable for buffer anlaysis

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis(input_features, "KrogerBuffer","1 Mile","","","ALL")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "buffer created"

except:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages()&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a few problems, first the input for the buffer tool is invalid, it needs to have a layer or fc as an input, you are setting it equal to a geoprocessing operation.&amp;nbsp; If you are trying to buffer each fc selection individually, you need to put the buffer inside you for-loop and make sure its input is either a feature class or feature layer( fc + "krogerselection" perhaps?).&amp;nbsp; Also, unless you get each output buffer a unique name, they will be overwritten each time through the loop since they will all have the same name.&amp;nbsp; If you want to do a single buffer of all fc selected krogers, you will need to have them all in one feature layer or feature class and you could do the buffer outside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have made some good headway on this, keep up the good work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166944#M12878</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2021-12-11T08:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166945#M12879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the script runs before without the buffer analysis it provides me&lt;/P&gt;&lt;P&gt;with the the county address points feature classss in my GDB and 5 new&lt;/P&gt;&lt;P&gt;feature classes that contain only the Kroger points from each. I.e.&lt;/P&gt;&lt;P&gt;BRO_ADDSkrogerselection&lt;/P&gt;&lt;P&gt;CLE_ADDSkrogerselection&lt;/P&gt;&lt;P&gt;Etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then want to create a 1 mile buffer around each Kroger selection feature&lt;/P&gt;&lt;P&gt;class within the GDB...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is where I am stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for the insight I truly appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could complete this task very easily without using Python. But it is for&lt;/P&gt;&lt;P&gt;a final project and the prof will not answer any questions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 17:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166945#M12879</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T17:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166946#M12880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The for loop runs once per feature class it encounters. If you want to do something once per feature class, put it inside the loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 17:45:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166946#M12880</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-05-08T17:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166947#M12881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be a good opportunity for you to use model builder to set-up your workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set it up for one fc in model builder, then you can export the model to a python script, then use your list feature classes to loop through and use each fc as input.&amp;nbsp; This way you know your parameters are working for the buffer to start with(or at least can compare to what is going on now).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, you are very close, you just need to make sure for each buffer you are using the fc you made as the input for the buffer.&amp;nbsp; Since the new feature classes are already in your workspace, you would just need to use their name as a string as input for the buffer tool.&amp;nbsp; I would put the buffer in the loop and have it put different names depending on the input fc name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 17:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166947#M12881</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-05-08T17:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166948#M12882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would it be something like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ##MakeFeatureLayer_management(in_features,out_layer,{where_clause},{workspace},{field_info})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ##SelectLayerByAttribute_management (in_layer_or_view,{selection_type},{where_clause})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ##CopyFeatures_management (in_features,out_feature_class,{config_keyword},{spatial_grid_1},{spatial_grid_2},{spatial_grid_3})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kroger_selection = ('"COMMENT" = \'KROGER\'')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcs = arcpy.ListFeatureClasses()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fcs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print fc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fc_kroger = fc + "kroger"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fc_lyr = arcpy.MakeFeatureLayer_management (fc,fc_kroger)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.SelectLayerByAttribute_management(fc_lyr,"NEW_SELECTION",kroger_selection)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(fc_lyr,fc + "krogerselection")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Features Copied"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ##Buffer_analysis (in_features, out_feature_class, buffer_distance_or_field, {line_side}, {line_end_type}, {dissolve_option}, {dissolve_field})&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #set input_features variable for buffer anlaysis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.workspace = "F:/GEO443/FinalPrj/Final.gdb"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fcList = arcpy.ListFeatureClasses("*krogerselection")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for fc in fcList:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print fc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis(fcList, fcList + "Buff", "1 Mile")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166948#M12882</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166949#M12883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put your buffer in the loop and clean go through your logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166949#M12883</guid>
      <dc:creator>MatthewRusso</dc:creator>
      <dc:date>2015-05-08T18:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166950#M12884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean "and clean go through your logic"&lt;A href="https://community.esri.com/migrated-users/57826"&gt;Matthew Russo&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166950#M12884</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T18:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166951#M12885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fcList is a list, but fc is a feature class name. Buffer takes a feature class name, not a list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're not sure what type of object something is, do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;print type(fcList)
print type(fc)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166951#M12885</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T08:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166952#M12886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="final_script_buffer.JPG" class="image-1 jive-image" height="309" src="https://community.esri.com/legacyfs/online/96480_final_script_buffer.JPG" style="width: 1094px; height: 308.729596853491px;" width="1094" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166952#M12886</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T18:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166953#M12887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you think it should be something like this ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166953#M12887</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T18:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166954#M12888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's what your for-loop says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- For each &lt;STRONG&gt;feature class&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - make a &lt;STRONG&gt;feature layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - make a selection in the &lt;STRONG&gt;feature layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - copy the &lt;STRONG&gt;feature layer&lt;/STRONG&gt; somewhere&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - buffer the &lt;STRONG&gt;feature class&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166954#M12888</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-05-08T18:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166955#M12889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i run it like that, it creates a buffer for the original fcs in the GBD... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not the new kroger selection fcs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think I just need to figure out what the variable is for the newly created BRO_ADDSkrogerselection (etc.) fcs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everybody. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166955#M12889</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T18:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166956#M12890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the output from the script ran above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its just running the buffer on the wrong fcs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="context.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/96481_context.jpg" style="width: 620px; height: 586px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:52:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166956#M12890</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T18:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166957#M12891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then all you need to do is make the selection FC the input, not the fc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 19:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166957#M12891</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-05-08T19:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166958#M12892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you think I should run another &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;listFeatureclass_management with the where clause being something like (*krogerselection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then for fc in fcList: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 19:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166958#M12892</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T19:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166959#M12893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does anyone know why my script is stopping after print "features copied and not continuing on to the next line of code..... the list feature classes line. &lt;IMG alt="script_stopping.JPG" class="image-1 jive-image" height="612" src="https://community.esri.com/legacyfs/online/96486_script_stopping.JPG" style="height: 612px; width: 839.469026548673px;" width="839" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 20:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166959#M12893</guid>
      <dc:creator>EthanHeidtman</dc:creator>
      <dc:date>2015-05-08T20:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering Multiple feature classes in GDB (python)</title>
      <link>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166960#M12894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you are overthinking how all this works too much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fc isn't an object, but is holding a string value, which is the name of the feature class in your gdb.&amp;nbsp; so when the buffer tool see fc, its actually reading the string that it contains and check your workspace for a fc with that name.&amp;nbsp; You need to have it use a string of your selection FC as input, so all you need to do is have the input add the rest of the file name to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you would want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.Buffer_analysis(fc + "krogerselection" , blahblah other parameters) to get the selection fc(Bro_ADDSkrogerselection for the first time through the loop)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.Buffer_analysis(fc, blahblah other parameters) that gets regular fc(Bro_ADDS for the first time through the loop)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 20:19:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/buffering-multiple-feature-classes-in-gdb-python/m-p/166960#M12894</guid>
      <dc:creator>IanMurray</dc:creator>
      <dc:date>2015-05-08T20:19:09Z</dc:date>
    </item>
  </channel>
</rss>

