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 |
- The method returns a reference to a Raster object.
- Read the Working with ArcGIS Spatial Analyst objects technical document for general information on implementing Spatial Analyst operations