This document is archived and information here might be outdated.  Recommended version.


IInterpolationOp2.Krige Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > II > IInterpolationOp2 Interface > IInterpolationOp2.Krige Method
ArcGIS Developer Help

IInterpolationOp2.Krige Method

Interpolates using kriging.

[Visual Basic .NET]
Public Function Krige ( _
    ByVal geoData As IGeoDataset, _
    ByVal semiVariogramType As esriGeoAnalysisSemiVariogramEnum, _
    ByVal radius As IRasterRadius, _
    ByVal outSemiVariance As Boolean, _
    [ByRef barrier As Object] _
) As IGeoDataset
[C#]
public IGeoDataset Krige (
    IGeoDataset geoData,
    esriGeoAnalysisSemiVariogramEnum semiVariogramType,
    IRasterRadius radius,
    bool outSemiVariance,
    ref object barrier
);
[C++]
HRESULT Krige(
  IGeoDataset* geoData,
  esriGeoAnalysisSemiVariogramEnum semiVariogramType,
  IRasterRadius* radius,
  VARIANT_BOOL outSemiVariance,
  Variant* barrier
);
[C++]
Parameters
geoData [in]

geoData is a parameter of type IGeoDataset* semiVariogramType [in]
semiVariogramType is a parameter of type esriGeoAnalysisSemiVariogramEnum radius [in]
radius is a parameter of type IRasterRadius* outSemiVariance [in]
outSemiVariance is a parameter of type bool barrier [in, optional]
barrier is a parameter of type VARIANT*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

geoData

an input point featureclass containing the points with z values to be interpolated onto a surface Raster

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

The GRAPH and BOTH options are not available with the UNIVERSAL1 method.

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 VB script. For example,

set pRad.SetFixed 207.1
set pRad.SetVariable 12

will use the args ... ,SAMPLE,12, ....

set pRad.SetVariable 12
set pRad.SetFixed 207.1

will use the args ... ,RADIUS,207.1, ....

[outSemiVariance] if True an optional output Raster will be created containing predicted semivariance values for each mesh point in output interpolation surface

If the GRAPH option is specified, an {output_variance} grid will not be created.

[barrier] a coverage or shapefile containing the arcs for the barrier information used for limiting the line search for input sample points

See Also

IInterpolationOp2 Interface