When doing map algebra in Raster Calculator, what is the default used for grids of varying pixel resolution or grids that aren't exactly registered? How does it pick the values? Nearest Neighbor, interpolation, etc.?
Solved! Go to Solution.
It notes in the help file that nearest neighbor resampling is used as well.
Default is to use the largest cell size of all the input datasets, this can be changed in the environmental settings of the tool.
I was more wondering what resampling technique is used rather than which one is resampled.
It notes in the help file that nearest neighbor resampling is used as well.
Thanks. I had not seen that in the help.
Just a note to be clear abut this for the good of the thread...
Many tool behaviors rely on the geoprocessing environment settings, which can be set at the application, model, tool, or arcpy level. Ian Murray's advice is sound: it's true that the default value for cell size is MAXOF, and the default resampling is nearest-neighbor.
Although tools usually a tool will honor the geoprocessing settings, there are exceptions - the help documents which settings are honored by which tool. There is an environment setting for resampling method, but if you look at the docs you'll see that the Raster Calculator tool does not honor it.
This is especially important to keep in mind when using the Spatial Analyst tools.