Calculates for each cell location the sum of the accumulative costs for two input accumulative-cost datasets.
[Visual Basic .NET] Public Function Corridor ( _ ByVal distance1 As IGeoDataset, _ ByVal distance2 As IGeoDataset _ ) As IGeoDataset
[C#] public IGeoDataset Corridor ( IGeoDataset distance1, IGeoDataset distance2 );
[C++]
HRESULT Corridor(
IGeoDataset* distance1,
IGeoDataset* distance2,
IGeoDataset** Corridor
);
[C++]Parameters
distance1 [in]distance1 is a parameter of type IGeoDataset
distance2 [in]distance2 is a parameter of type IGeoDataset
Corridor [out, retval]Corridor is a parameter of type IGeoDataset
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.
Remarks
distance1 |
an input Raster which was the output accumulated cost Raster from the IDistance::CostDistance or other Cost methods |
distance2 |
an input Raster which was the output accumulated cost Raster from the IDistance::CostDistance or other Cost methods |
- 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.