ArcObjects Library Reference (GeoAnalyst)  

IInterpolationOp.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
public IGeoDataset Krige (
    IGeoDataset geoData,
    esriGeoAnalysisSemiVariogramEnum semiVariogramType,
    IRasterRadius radius,
    bool outSemiVariance,
    ref object barrier

Optional Values

barrier   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
  IGeoDataset* geoData,
  esriGeoAnalysisSemiVariogramEnum semiVariogramType,
  IRasterRadius* radius,
  VARIANT_BOOL outSemiVariance,
  VARIANT* barrier,
  IGeoDataset** interpolatedRaster


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 VARIANT_BOOL barrier [optional]   barrier is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

interpolatedRaster [out, retval]

  interpolatedRaster is a parameter of type IGeoDataset

Product Availability

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



an input FeatureClass or FeatureClassDescriptor 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

IInterpolationOp Interface

.NET Related Topics

Working with helper objects