ImageryLayer - server side raster function

This sample sets a service defined raster function on an ImageryLayer by setting its raster function property. The image service is an IKONOS-2 scene of Toronto. It has four bands: blue, green, red, and near-infrared (NIR).

The TorontoFalseColor raster function template in the sample uses the NIR, Red, and Green bands to composite a false color image. It applies an extract band function and a percent clip stretch, which displays rendered pixel values differently from the original pixel values.

A popupTemplate is configured to display this information when you click any pixel on the layer.

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

The developer dashboard has moved

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