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


IInterpolationOp3.Variogram Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IInterpolationOp3.Variogram Method

Interpolates using Variogram.

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

Parameters geoData [in]
geoData is a parameter of type IGeoDataset* semiVariogram [in]
semiVariogram is a parameter of type IGeoAnalysisSemiVariogram* 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

semiVariogram

A semivariogram model defined by a GeoAnalystSemiVariogram object using the IGeoAnalysisSemiVariogram::DefineVarigoram method.  The semivariogram is described by nugget, sill and range parameters.

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

IInterpolationOp3 Interface