Properly setting Extents in Arcpy Using path

المشرف العام

Administrator
طاقم الإدارة
I am trying to set the extents of my processing using Arcpy, but when my processing is completed, there has been no change to the extents (it results in an extent that did not go as large as I desire).

Included is the code I have been using for the extents:

arcpy.env.extent = 'C:\data\myData.tif'What I am using as an input would bea .tif file, so I am not sure if that would matter or not.

After using this, I am attempting a Euclidean Distance analysis, where I have:

arcpy.gp.EucDistance_sa(input, euclidean_output, "", "200", Output_direction_raster)As I said earlier, it just returns the same output without the extent change. Would anyone be able to give me some tips?



أكثر...
 
أعلى