The Interpolate Points task allows you to predict values at new locations based on measurements from a collection of points. The task takes point data with values at each point and returns areas classified by predicted values.
For example:
- An air quality management district has sensors that measure pollution levels. Interpolate Points can be used to predict pollution levels at locations that don't have sensors, such as locations with at-risk populations—schools or hospitals, for example.
- Predict heavy metal concentrations in crops based on samples taken from individual plants.
- Predict soil nutrient levels (nitrogen, phosphorus, potassium, and so on) and other indicators (such as electrical conductivity) in order to study their relationships to crop yield and prescribe precise amounts of fertilizer for each location in the field.
- Meteorological applications include prediction of temperatures, rainfall, and associated variables (such as acid rain).
Interpolate Points uses the Empirical Bayesian Kriging geoprocessing tool to perform the interpolation. The parameters that are supplied to the Empirical Bayesian Kriging tool are controlled by the interpolate
request parameter.
If a value of 1
is provided for interpolate
, empirical Bayesian kriging will use the following parameters:
transformation_
—type NONE
semivariogram_
—model_ type POWER
max_
—50local_ points overlap_
—1factor number_
—30semivariograms nbr
—8Min nbr
—8Max
If a value of 5
is provided for interpolate
, empirical Bayesian kriging will use the following parameters:
transformation_
—type NONE
semivariogram_
—model_ type POWER
max_
—75local_ points overlap_
—1.5factor number_
—100semivariograms nbr
—10Min nbr
—10Max
If a value of 9
is provided for interpolate
, empirical Bayesian kriging will use the following parameters:
transformation_
—type EMPIRICAL
semivariogram_
—model_ type K_
BESSEL max_
—200local_ points overlap_
—3factor number_
—200semivariograms nbr
—15Min nbr
—15Max
Request URL
http://<analysis url>/InterpolatePoints/submitJob
Request Parameters
Parameter | Description |
---|---|
(Required) | The point features that will be interpolated. Syntax: As described in detail in the Feature input topic, this parameter can be one of the following:
Examples:
|
(Required) | Name of the numeric field containing the values you wish to interpolate. |
| Integer value declaring your preference for speed versus accuracy, from 1 (fastest) to 9 (most accurate). More accurate predictions take longer to calculate. The default is Values: |
| If Standard errors are useful because they provide information about the reliability of the predicted values. A simple rule of thumb is that the true value will fall within two standard errors of the predicted value 95 percent of the time. For example, suppose a new location gets a predicted value of 50 with a standard error of 5. This means that this task's best guess is that the true value at that location is 50, but it reasonably could be as low as 40 or as high as 60. To calculate this range of reasonable values, multiply the standard error by 2, add this value to the predicted value to get the upper end of the range, and subtract it from the predicted value to get the lower end of the range. Values: |
| Determines how predicted values will be classified into areas:
The default value is Example: |
| This value is used to divide the range of interpolated values into distinct classes. The range of values in each class is determined by the The default is Example: |
| If Example: |
| A layer specifying the polygon(s) where you want values to be interpolated. For example, if you are interpolating densities of fish within a lake, you can use the boundary of the lake in this parameter and the output will only contain polygons within the boundary of the lake. Syntax: As described in detail in the Feature input topic, this parameter can be one of the following:
|
| An optional layer specifying point locations to calculate prediction values. This allows you to make predictions at specific locations of interest. For example, if the If supplied, the output Syntax: As described in detail in the Feature input topic, this parameter can be one of the following:
|
|
If provided, the task will create a feature service of the results. You define the name of the service. If an Syntax:
In ArcGIS Online or ArcGIS Enterprise 10.9.1 and later, you can overwrite an existing feature service by providing the Syntax:
or
|
|
The Context parameter contains the following additional settings that affect task operation:
Syntax:
|
| The response format. The default response format is Values: |
Response
When you submit a request, the service 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 job
to periodically check the status of the job and messages as described in the topic Check job status. Once the job has successfully completed, you use the job
to retrive the results. To track the status, you can make a request of the following form:
http://<analysis url>/InterpolatePoints/jobs/<jobId>
Accessing results
When the status of the job request is esri
, you can access the results of the analysis by making a request of the following form:
http://<analysis url>/InterpolatePoints/jobs/<jobId>/results/<output parameter name>?token=<your token>&f=json
Parameter | Description |
---|---|
| These are polygon features where each polygon surrounds interpolated values based on the The result polygon features has the following attributes:
Request example:
The result has properties for parameter name, data type, and value. The contents of value depends upon the
See Feature Output for more information about how the result layer or collection is accessed. |
| Contains the predicted error for each point in the The output has the following fields:
Request example:
The result has properties for parameter name, data type, and value. The contents of value depends upon the
See Feature Output for more information about how the group summary table is accessed. |
| Point layer containing points from the Output fields are:
Request example:
The result has properties for parameter name, data type, and value. The contents of value depends upon the
See Feature Output for more information about how the group summary table is accessed. |