Detect Change Using Change Analysis Raster
- URL:https://<rasteranalysistools-url>/ DetectChangeUsingChangeAnalysisRaster
- Related Resources: Add Image, Aggregate Miltidimensional Raster, Analyze Changes Using CCDC, Analyze Changes Using LandTrendr,Build Multidimensional Transpose, Calculate Density, Calculate Distance, Calculate Travel Cost, Classify, Classify Object Using Deep Learning, Classify Pixels Using Deep Learning, Convert Feature to Raster, Convert Raster Function Template, Convert Raster to Feature, Copy Raster, Cost Path as Polyline, Create Image Collection, Create Viewshed, Delete Image, Delete Image Collection, Detect Changes Using Change Analysis Raster, Detect Objects Using Deep Learning, Determine Optimum Travel Cost Network, Determine Travel Cost Paths to Destinations, Determine Travel Cost Path as Polyline, Export Training Data for Deep Learning, Fill, Find Argument Statistics, Flow Accumulation, Flow Direction, Flow Distance, Generate Multidimensional Anomaly, Generate Raster, Generate Trend Raster, Install Deep Learning Model, Interpolate Points, Linear Spectral Unmixing, List Deep Learning Model Info, Manage Multidimensional Raster, Nibble, Predict Using Trend Raster, Query Deep Learning Model Info, Sample, Segment, Stream Link, Subset Multidimensional Raster, Summarize Raster Within, Train Classifier, Train Deep Learning Model,Uninstall Deep Learning Model, Watershed
- Version Introduced:10.8.1
Description
The DetectChangeUsingChangeAnalysisRaster task generates a raster containing pixel change information using the output change analysis raster from the AnalyzeChangesUsingCCDC task or the AnalyzeChangesUsingLandTrendr task.

Request parameters
Parameter | Details |
---|---|
inputChangeAnalysisRaster (Required) | The portal item ID, image service URL, cloud multidimensional raster dataset, or shared multidimensional raster dataset generated from the AnalyzeChangesUsingCCDC task or AnalyzeChangesUsingLandTrendr task. At least one type of input must be provided in the JSON object. If multiple inputs are given, the itemid takes the priority. Syntax: A JSON object describes the input change analysis raster. Example:
|
outputName (Required) | Output hosted image service properties. If the hosted image service is already created, the portal item ID or service URL can be provided, and the output path of the multidimensional raster dataset generated in the raster store will be used to update the existing service definition. The service tool can also generate a new hosted image service with the given service properties. ![]() Set image,metadata as image service capabilities to make sure the output image service can be recognized as multidimensional by other raster analysis tools. Example:
|
changeType (Required) | Specifies the change information to calculate.
Syntax: String Example:
|
maxNumberOfChanges (Optional) | The maximum number of changes per pixel that will be calculated. This number corresponds to the number of bands in the output raster. The default is 1, meaning only one change date will be calculated and the output will contain one band. This parameter is not available when the changeType parameter is set to NUM_OF_CHANGES. Example:
|
segmentDate (Optional) | Specifies whether to extract the date at the beginning of a change segment or the end. This parameter is available only when the inputChangeAnalysisRaster was generated by the AnalyzeChangesUsingLandTrendr task.
Syntax: String Example:
|
changeDirection (Optional) | The direction of change to be included in the analysis. For example, set this parameter to INCREASE to extract date of change information for periods where the change is in the positive or increasing direction. This parameter is available only when the inputChangeAnalysisRaster was generated by the AnalyzeChangesUsingLandTrendr task.
Syntax: String Example:
|
filterByYear (Optional) | Specifies whether to filter by a range of years. When set to true, results will be filtered such that only changes that occurred within a specific range of years are included in the output. When set to false, results will not be filtered by year. This is the default. Values: true | false |
minYear (Optional) | The earliest year to use to filter results. This parameter is required when the filterByYear parameter is set to true. Syntax: Long integer Example:
|
maxYear (Optional) | The latest year to use to filter results. This parameter is required when the filterByYear parameter is set to true. Syntax: Long integer Example:
|
filterByDuration (Optional) | Specifies whether to filter by the duration of change. When set to true, results will be filtered such that only changes that last a given amount of time are included in the output. When set to false, results will not be filtered by change duration. This is the default. This parameter is available only when the inputChangeAnalysisRaster was generated by the AnalyzeChangesUsingLandTrendr task. Values: true | false |
minDuration (Optional) | The minimum number of consecutive years to include in the results. This parameter is required if the filterByDuration parameter is set to true. Syntax: Double Example:
|
maxDuration (Optional) | The maximum number of consecutive years to include in the results. This parameter is required if the filterByDuration parameter is set to true. Syntax: Double Example:
|
filterByMagnitude (Optional) | Specifies whether to filter by the magnitude of change. When set to true, results will be filtered such that only changes of a given magnitude are included in the output. When set to false, results will not be filtered by magnitude. This is the default. Values: true | false |
minMagnitude (Optional) | The minimum change magnitude to include in the results. This parameter is required if the filterByMagnitude parameter is set to true. Syntax: Double Example:
|
maxMagnitude (Optional) | The maximum change magnitude to include in the results. This parameter is required if the filterByMagnitude parameter is set to true. Syntax: Double Example:
|
filterByStartValue (Optional) | Specifies whether to filter by the starting value of a variable, at the beginning of a change. When set to true, results will be filtered such that only changes that start at a given value are included in the output. When set to false, results will not be filtered by start value. This is the default. This parameter is available only when the inputChangeAnalysisRaster was generated by the AnalyzeChangesUsingLandTrendr task. Values: true | false |
minStartValue (Optional) | The minimum value that defines the range of the start value. This parameter is required if the filterByStartValue parameter is set to true. Syntax: Double Example:
|
maxStartValue (Optional) | The maximum value that defines the range of the start value. This parameter is required if the filterByStartValue parameter is set to true. Syntax: Double Example:
|
filterByEndValue (Optional) | Specifies whether to filter by the ending value of a variable, at the end of a change. When set to true, results will be filtered such that only changes that end at a given value are included in the output. When set to false, results will not be filtered by end value. This is the default. This parameter is available only when the inputChangeAnalysisRaster was generated by the AnalyzeChangesUsingLandTrendr task. Values: true | false |
minEndValue (Optional) | The minimum value that defines the range of the end value. This parameter is required if the filterByEndValue parameter is set to true. Syntax: Double Example:
|
maxEndValue (Optional) | The maximum value that defines the range of the end value. This parameter is required if the filterByEndValue parameter is set to true. Syntax: Double Example:
|
context (Optional) | Contains additional settings that affect task execution. This task has the following settings:
Example:
|
f | The response format. The default response format is html. Values: html | json |
Response
When you submit a request, the task assigns a unique job ID for the transaction.
Syntax:
{ "jobId": "<unique job identifier>", "jobStatus": "<job status>" }
After the initial request is submitted, you can use the jobId to periodically check the status of the job and messages, as described in Check job status. Once the job has successfully completed, use the jobId to retrieve the results. To track the status, you can make a request of the following form:
https://<analysis-url>/DetectChangeUsingChangeAnalysisRaster/jobs/<jobId>
Accessing results
When the status of the job request is esriJobSucceded, you can access the results of the analysis by making a request of the following form:
https://<raster analysis url>/DetectChangeUsingChangeAnalysisRaster/jobs/<jobId>/results/outputRaster?token=<your token>&f=json
Parameter | Description |
---|---|
outputRaster | The output multidimensional raster itemId and URL: Example:
The result has properties for parameter name, data type, and value. The content of the value is always the output raster dataset's itemId and image service URL.
|