How could I specify raster's origin, while using arcpy.TinRaster_3d?
import arcpy InRaster = "c:\\some\\path\\to\\raster.tif" DescObj = arcpy.Describe(InRaster) arcpy.env.extent = DescObj.extent # match the extent of the input raster arcpy.env.snapRaster = InRaster # match the edges of the raster
Note that this method of setting the extent works with any feature or raster data but the value of the snap raster must be a raster.
Extents of data can include a healthy buffer around the data so setting the output extent alone is good but specifying a snap raster is better!
The snapRaster ensures that the cells of the raster align at the origin; if the cell size is the same then the rasters will perfectly overlay. When using snapRaster you will get the most use if the raster to be produced is either the same, a factor of or a multiple of the snap rasters' cell size.