rstResamplingTypes Constants

Different methods to perform raster resampling.

Constant Value Description
RSP_​NearestNeighbor 0 Resample pixel by nearest neighbor.
RSP_​BilinearInterpolation 1 Resample pixel by bilinear interpolation.
RSP_​CubicConvolution 2 Resample pixel by cubic convolution.
RSP_​Majority 3 Resample pixel by majority value.
RSP_​BilinearInterpolationPlus 4 Resample pixel by bilinear interpolation, requiring all four neighboring pixels.
RSP_​BilinearGaussBlur 5 Resample pixel by bilinear interpolation. If downsampling by factor 2 or more, blur source pixel using 2D Gaussian.
RSP_​BilinearGaussBlurPlus 6 Same as RSP_​BilinearGaussBlur, but requiring all four neighboring pixels.
RSP_​Average 7 Resample vector field (two band) pixel by vector average.
RSP_​Minimum 8 Resample pixel by average value.
RSP_​Maximum 9 Resample pixel by maximum value.
RSP_​VectorAverage 10 Resample vector field (two band) pixel by vector average.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close