Copying from 'in_memory' to 'in_memory' in ArcPy using Copy_management()

المشرف العام

Administrator
طاقم الإدارة
I came across this post and found out about Copy_management().

My question is if it is possible to copy an in_memory feature to another in_memory feature.

I tried to test it using the following code, which fails:

shp = r"D:\test\somefile.shp" bufferOne = arcpy.Buffer_analysis(shp,r"in_memory\bufferOne",'1 meters') copyOfFirst = arcpy.Copy_management(bufferOne,r'in_memory\BufferOneCopy') Trying the exact same thing with absolute paths, instead of in_memory works fine. Therefore I assume you cannot copy from in_memory to in_memory, or am I missing something? Would there be a way to achieve the same effect?



أكثر...
 
أعلى