Skip to main content
3 of 4
edited tags
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Adding clip function to python buffer script

I have posted my script for buffering and dissolving polygons. Could someone help me incorporate an Erase function in order to erase the input file from the buffer?

Thank you for your time

Script:

import arcpy

infc = r'C:\My\File\Input.shp.shp'
outfc = r'C:\My\File\Output.shp'
bufferDistance = 76.2

arcpy.Buffer_analysis(infc, outfc, bufferDistance, "", "", "ALL")