I have multiple shapefiles in a folder which I am trying to compare with same named features in geodatabase. I want to first clip within an area polygon and then copy and overwrite the features in the geodatabase. So far the describe for file name isn't working;
# Import arcpy moduleimport arcpy# Set workspacearcpy.env.workspace = "(C:\\Users\\mwisniewski\\My Documents\\DPIPWE)"arcpy.env.overwriteOutput = TrueshpFile = arcpy.env.workspacearcpy.AddMessage("\n")# Location file geodatabase to update feature classesgeoPath = "U:\\NRM_Base_Data"# Local variablesshpName = arcpy.Describe(shpFile).filefeatureName = arcpy.Describe(geoPath).file
أكثر...
# Import arcpy moduleimport arcpy# Set workspacearcpy.env.workspace = "(C:\\Users\\mwisniewski\\My Documents\\DPIPWE)"arcpy.env.overwriteOutput = TrueshpFile = arcpy.env.workspacearcpy.AddMessage("\n")# Location file geodatabase to update feature classesgeoPath = "U:\\NRM_Base_Data"# Local variablesshpName = arcpy.Describe(shpFile).filefeatureName = arcpy.Describe(geoPath).file
أكثر...