How to get an extent for Raster using python
Dont use env.extent
you need to get raster extent.
import arcpy
elevRaster = arcpy.sa.Raster('C:/data/elevation')
myExtent = elevRaster.extent
print myExtent
i hope it helps you...
Dont use env.extent
you need to get raster extent.
import arcpy
elevRaster = arcpy.sa.Raster('C:/data/elevation')
myExtent = elevRaster.extent
print myExtent
i hope it helps you...