Wednesday 21 October 2015

raster - Resizing image resolution in ArcGIS Desktop?


I have NDVI images (250 m) and Soil map (1000 m).


How can I change the resolution from 1000 m to 250 m, so I can compare/work with them?



Answer



The correct direction to alter resolution is from 250m to 1000m (finer to coarser resolution) and not the other way around.


For this, the Resample, Aggregate and Block Statistics tools are the appropriate alternatives (see user681's answer and Aaron's answer). Each of these tools offer different methods to summarize data, which I recommend reading whuber's answer in Resample binary raster to give *proportion* within new cell window.



However, if one really wants to go from a coarser resolution to an artificial finer one, a quick way to do this is:



  1. Right click on the raster dataset to be exported, select “Data”, and then, select “Export data”.


enter image description here


It will open the Export Raster Data dialog:


enter image description here



  1. Define the new pixel resolution (Cell Size).

  2. Set the location, name and format of the file that will be created.


  3. Check if the raster properties are in agreement with what was expected (including the Coordinate Reference System) and save it.


The resampling method used with this tool is the nearest neighbour (did not find an official documentation on this, but came to this conclusion upon making some tests).


It will appear the resolution has not changed because all values from the new dataset within a pixel from the original dataset will be the same. Even upon zooming and measuring the pixel won't be possible to distinguish smaller pixels in the new dataset. On the other hand, if one checks the layer properties, and its source tab, the Cell Size and number of rows and columns are altered. Another way to verify the resolution has changed is by converting the raster dataset to an XYZ table.


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...