![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > II > IInterpolationOp2 Interface > IInterpolationOp2.Krige Method (ArcObjects .NET 10.4 SDK) |
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 );
Optional Values
[C++]
HRESULT Krige(
IGeoDataset* geoData,
esriGeoAnalysisSemiVariogramEnum semiVariogramType,
IRasterRadius* radius,
VARIANT_BOOL outSemiVariance,
VARIANT* barrier,
IGeoDataset** interpolatedRaster
);
[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 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
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,
will use the args ... ,SAMPLE,12, ....
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 |