Wednesday 12 July 2017

arcgis desktop - Reproduce raster with same extent, and same number of columns and rows?


I have two raster A and B. A and B have the same grid size but different extent.



How can I make A have the same number of columns and rows, as well as the spatial extent of B?



Answer



Depending upon which platform you are using, with Arc you need to ensure, before clipping, that you set your Environment Settings: Geoprocessing>Environments... Set both Processing Extent and Raster Analysis to the extent of the layer to which you wish to clip, and set also your Cell Size to the cell size of the clip raster(not the input raster).


In QGIS use GRASS plugin thru Sextante would be the quickest way, alternatively do directly through GRASS.


Source: Advanced GIS graduate course taken last year, heaps of raster experience.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...