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


ILocalOp.Rank Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

ILocalOp.Rank Method

Calculates the local rank between GeoDatasets.

[Visual Basic .NET]
Public Function Rank ( _
    ByVal ValueData As IGeoDataset, _
    ByVal LocalData As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset Rank (
    IGeoDataset ValueData,
    IGeoDataset LocalData
);
[C++]
HRESULT Rank(
  IGeoDataset* ValueData,
  IGeoDataset* LocalData,
  IGeoDataset** outGeodataset
);
[C++]

Parameters ValueData [in]
ValueData is a parameter of type IGeoDataset LocalData [in]
LocalData is a parameter of type IGeoDataset outGeodataset [out, retval]
outGeodataset is a parameter of type IGeoDataset

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

Remarks

valueData an input Raster, RasterDataset, RasterBand, or RasterDescriptor defining the position in the rank order of the specified inputs in the argument list defined by localData to derive the output value
localData a multiband input Raster, RasterDataset, RasterBand, or RasterDescriptor defining the argument list to identify the value for the rank, defined by the first argument for each cell location

 

See Also

ILocalOp Interface