AnsweredAssumed Answered

Merging multiple shapefiles script not working

Question asked by master.florin on Apr 28, 2015
Latest reply on Apr 28, 2015 by master.florin

Could someone check this script and tell what is not working, I'm receiving ERROR 000735 which stands for a required parameter that has not been used by the tool. I'm trying to several shapefiles found in folder Merge into a single shapefile. Using another simpler method it works but for that I have to specify location of each shapefile which isn't quite efficient.

 

import os
import arcpy
from arcpy import env

env.workspace = "D:/M1 Geomatique/Programmation II/Dossier/Merge"

fc = arcpy.ListFeatureClasses(env.workspace)
output = "D:/M1 Geomatique/Programmation II/Dossier/zones.shp"

arcpy.Merge_management(fc, output)

Outcomes