Show Navigation | Hide Navigation
You are here:
Extensions > Spatial Analyst > Spatial Analyst functional reference > Interpolation (Spatial Analyst)

Krige

Release 9.3
Last modified September 7, 2011
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Interpolation (Spatial Analyst)"


Related Topics

Interpolates a raster from a set of points using kriging.

Learn more about how Krige and Variogram work


Usage tips

Command line syntax
See Kriging

Scripting syntax
See Kriging

Map Algebra syntax
See Kriging

ArcObjects syntax
IInterpolationOp::Krige (geoData As IGeoDataset, semiVariogramType As esriGeoAnalysisSemiVariogramEnum, radius As IRasterRadius, outSemiVariance As Boolean, [barrier As Variant]) As IGeoDataset

Parameter Explanation
geoData A Featureclass or FeatureclassDescriptor containing point features with z-values to be interpolated to a raster surface.
semiVariogramType An esriGeoAnalysisSemivariogramEnum specifying the type of mathematical function used to model the semivariance.
The types are:
  • esriGeoAnalysisCircularSemiVariogram  — Circular semivariogram model.
  • esriGeoAnalysisExponentialSemiVariogram  — Exponential semivariogram model.
  • esriGeoAnalysisGaussianSemiVariogram  — Gaussian or normal distribution semivariogram model.
  • esriGeoAnalysisLinearSemiVariogram linear  — Semivariogram model with a sill.
  • esriGeoAnalysisNoneSemiVariogram  — No model is fit.
  • esriGeoAnalysisSphericalSemiVariogram  — Spherical semivariogram model. This is a commonly used function.
  • esriGeoAnalysisUniversal1SemiVariogram  — Universal Kriging with linear drift.
  • esriGeoAnalysisUniversal2SemiVariogram  — Universal Kriging with quadratic drift.
radius An IRasterRadius indicating the search radius for the input points.
The radius distance is specified in map units within which all input sample points will be used to perform interpolation. A commonly used radius is five times the cell size of the output raster.
The object will set and use whatever you set last in your Visual Basic script.
For example:

   set pRad.SetFixed 207.1

   set pRad.SetVariable 12
will use the args "... ,SAMPLE,12, ....", while:

   set pRad.SetVariable 12

   set pRad.SetFixed 207.1
will use the args "... ,RADIUS,207.1, ....".
[outSemiVariance] A Boolean value.
If True, an optional output raster will be created containing predicted semivariance values for each mesh point in the output interpolation surface.
If False, no predicted semivariance value raster will be generated.
[barrier] A coverage or shapefile containing the arcs for the barrier information used for limiting the line search for input sample points.

ArcObjects example

' Create the RasterInterpolationOp object
Dim pInterpolationOp As IInterpolationOp
Set pInterpolationOp = New RasterInterpolationOp

' Create the input point object	
Dim pInputDataset As IGeoDataset

' Calls function to open the input point dataset from disk
Set pInputDataset = OpenPointDataset("D:\SpatialData", "inputpoint")

' Set the research radius
Dim pRadius As IRasterRadius
Set pRadius = New RasterRadius
pRadius.SetVariable 12

' Create the output dataset object
Dim pOutputDataset As IGeoDataset

' Calls the method
Set pOutputDataset = pInterpolationOp.Krige(pInputDataset, esriGeoAnalysisCircularSemiVariogram, pRadius, True)

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.