Show Navigation | Hide Navigation
You are here:
Extensions > Spatial Analyst > Spatial Analyst functional reference > Raster Management (Spatial Analyst)


Release 9.3
Last modified September 7, 2011
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Raster Management (Spatial Analyst)"

Related Topics

Changes the cell size of a raster.


Resample illustration

Map Algebra:
OutRas = Resample (InRas1, 3)

Usage tips

Command line syntax
See Resample (Data Management)

Scripting syntax
See Resample (Data Management)

Map Algebra syntax
Resample(<grid>, {cellsize}, {NEAREST | BILINEAR | CUBIC | SEARCH})

Parameter Explanation
<grid> The name of the input raster.
{cellsize} The output cell size.
The default is the current environment setting set on the Cell Size tab of the Options dialog box.
{NEAREST | BILINEAR | CUBIC | SEARCH} Specifies the resampling algorithm to be used when resampling the raster.
  • NEAREST  — Nearest neighbor assignment. This is the default.
  • BILINEAR  — Bilinear interpolation.
  • CUBIC  — Cubic convolution.
  • SEARCH  — Extended nearest neighbor.

Map Algebra example

resample(ingrid, .5)
resample(ingrid1, 23.5, cubic)
resample(ingrid1 + ingrid2, 4)
resample(ingrid, 2000, bilinear)

ArcObjects syntax
There is no corresponding Spatial Analyst object to perform Resample. However, in core ArcGIS, similar functionality can be found in the IRasterGeometryProc object.

For more information, see ArcObjects Developer Help.

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.