I am trying to execute clip tool in python on arcGIS 10. But it gives error:
ERROR 000732: Output Extent: Dataset D:/Work/Map/SampleGdb/Sample_02.gdb/Sample_02.gdb/Subcatchments does not exist or is not supported
My code is here:
input1 = r"C:\Users\DELL\AppData\Local\Temp\tempQYJBTS\tempQYJBTS.gdb\IntRaster" clipG1 = r"D:/Work/Map/SampleGdb/Sample_02.gdb/Sample_02.gdb/Subcatchments" outRaster1 = "D:/Temp/ClipTest/clip1" arcpy.Clip_management(input1,"#",outRaster1, clipG1, "#", "ClippingGeometry")
But, I tried the following , and it works fine:
input2 = r"C:\Users\DELL\AppData\Local\Temp\tempQYJBTS\tempQYJBTS.gdb\IntRaster" clipG2 = r"D:/Temp/Sample_G.gdb/Subcatchments" outRaster2 = "D:/Temp/ClipTest/clip2"
what is the problem in my first code sample? Does not Path name contains numeric value? Is it ArcGIS rule?