Introduction to raster analysis

A raster analysis summarizing the average annual temperature per county of North Carolina.

What is raster analysis?

Raster analysis is the process of using client-side APIs or services to solve a geospatial problem with raster data. To perform client-side analysis you can use the ArcGIS Maps SDKs and to perform server-side analysis you use the raster analysis service. When using the raster analysis service you can use operations or functions to perform analysis such as detecting patterns, data classification, deep learning analysis, data summarization, multidimensional analysis and raster data management. The operation you use depends on the type of problem you are trying to solve.

This section describes how to perform analysis with the raster analysis service.

Why use raster analysis service?

The raster analysis service provides the functionality to perform quantitative analysis, modeling, and visualization of continuous geographic phenomena. It is particularly well-suited for analyzing phenomena like elevation, slope, aspect, chemical concentrations, and other variables that can be represented as a continuous raster surface.

Use the raster analysis service to:

  • Perform operations like overlay analysis, neighborhood operations, and map algebra.
  • Process large raster datasets.
  • Classify land cover.
  • Perform change detection.
  • Perform suitability mapping and site selection.

How to access the raster analysis service

You can use the raster analysis service using tools and ArcGIS APIs. When accessing the service with tools such as Map Viewer or ArcGIS Pro, or with ArcGIS APIs such as the ArcGIS API for Python, the system will automatically find the appropriate service URL based on your ArcGIS account and portal.

To access the service directly, you need find the service URL by making a /self request to your portal. The service URL will be in the helperServices.rasterAnalytics.url property of the response. To optimize performance, service URLs are unique to each instance of a portal.

Use dark colors for code blocksCopy
1
2
3
4
5
"helperServices":{
  "rasterAnalytics": {
    "url": "https://{YOUR_ANALYSIS_SERVICE}/arcgis/rest/services/RasterAnalysisTools/GPServer"
  },
}

Example: https://rasteranalysis3.arcgis.com/arcgis/rest/services/RasterAnalysisTools/GPServer

What are the different ways to perform an analysis?

There are two different methods you can use to perform a raster analysis.

  • Raster operations: This method of analysis requires a asynchronous server-side request to an REST API endpoint to perform a single raster operation applied to an entire raster dataset. Typically, this results in a new raster dataset.
  • Raster functions: This method of analysis allows you to chain together multiple operations in a request without the need of creating intermediate datasets. Raster Functions can also be utilized to perform client-side analysis and on-the-fly visualization using client APIs.

Tutorials

Perform an analysis using raster operations

Learn how to perform raster analysis using a raster operation


Create a raster function template

Perform a raster analysis with a raster function template.


API support

Raster operationsRaster functions
ArcGIS Maps SDK for JavaScript11
ArcGIS Maps SDK for .NET
ArcGIS Maps SDK for Kotlin
ArcGIS Maps SDK for Swift
ArcGIS Maps SDK for Flutter
ArcGIS Maps SDK for Java
ArcGIS Maps SDK for Qt
ArcGIS API for Python
ArcGIS REST JS11
Esri Leaflet22
MapBox GL JS22
OpenLayers22
Full supportPartial supportNo support
  • 1. Access with geoprocessing task
  • 2. Access via ArcGIS REST JS

Tools

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