I'm currently running a script that is using the arcpy.Merge_management function to merge roughly ~1500 shapefiles together.
When I tried this with much smaller test runs, it ran perfectly.
Now that I'm running all the files it is taking a VERY long time.
I let it run over the weekend, and it is not even half way complete, even though it is still running.
Does anyone have any suggestions on how I could possibly speed up the process? Or would able to suggest another method to merge the files together in a timely manner?
All the files being merged have the exact same schema. None of the files have any more than 150 records. The majority of the files being between 1-20 records.
Here is the code snippet of this part of the script:
# Set the directory and name for the fully merged MESQ_Streets File outputfile = "Q:\GIS\Admin\Shapefiles\Streets\MESQ_STREETS_SINGLELINE\MESQ_STREETS_SINGLE_LINE.shp" # This merges the Roads back together workspace = "Q:\GIS\Admin\Shapefiles\Streets\MESQ_STREETS_SINGLELINE\Rejoined\\" arcpy.env.workspace = workspace try: arcpy.Merge_management(arcpy.ListFeatureClasses(), outputfile) except Exception as e: print "This did not work", e