I have two rasters (raster1 and raster2). The raster1 extent is smaller than raster2. I want to replace the value of raster2 pixels using raster1 pixels. How can I replace the values?
1 Answer 1
Is it acceptable for you to use GDAL? If it is then you can do what you want with gdalwarp http://www.gdal.org/gdalwarp.html
The command to use is
gdalwarp raster1.tif raster2.tif
Command will write data from source image "raster1.tif" into target image "raster2.tif" and if the target image already exists and is of such a format that can be updated then pixels from raster1 will be written over the original pixels. Uncompressed geotiff is good for the output format. You can compress or convert the updated image afterwards if needed.
-
I have the same question. How can this be accomplished using only the tools native to arcgis (likely with spatial or 3d analyst)?Scott La Vanne– Scott La Vanne2014年11月04日 16:36:51 +00:00Commented Nov 4, 2014 at 16:36
Explore related questions
See similar questions with these tags.