I'm using ArcPy and would like to copy features in a feature class to geometry objects and then perform a buffer on the geometry objects and copy them back to a feature class.
I am doing this in hopes that it will provide the performance and speed improvements that will allow a tool to run on larger datasets that are currently being hung up and/or failing in the normal buffer tool.
My question is, what is the best strategy for preserving an attribute field in this process? I need to preserve at least one ID field to join the original fields back to the buffered shapes after converting back to a feature class. Is this possible?
Here is my process so far for getting the geometries buffered:
import arcpy
i = 'PCPP_sites'
o = 'C:\buffer_test'
geometries = arcpy.CopyFeatures_management(i,arcpy.Geometry())
buffer_geom = []
for geom in geometries:
b = geom.buffer(1)
buffer_geom.append(b)
arcpy.CopyFeatures_management(buffer_geom, o)
How do I preserve attributes?