Resampling Method

Raster analysis tasks that have the resamplingMethod property set in the context parameter use the specified resampling method when you're transforming your raster dataset.

The resamplingMethod property has three options.

  • ResamplingMethod (resamplingMethod )—Choose the resampling method to use when creating the raster dataset for download.

    • NEAREST —Uses the value of the closest cell to assign a value to the output cell when resampling. This is the default.
    • BILINEAR —Determines the new value of a cell based on a weighted distance average of the four nearest input cell centers.
    • CUBIC —Determines the new value of a cell based on fitting a smooth curve through the 16 nearest input cell centers.

Resampling Method syntax for image resampling:

1
{"resamplingMethod": "BILINEAR"}

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