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


IHydrologyOp.StreamLink Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IHydrologyOp.StreamLink Method

Assigns unique values to sections of a raster linear network between intersections.

[Visual Basic .NET]
Public Function StreamLink ( _
    ByVal streamRaster As IGeoDataset, _
    ByVal directionRaster As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset StreamLink (
    IGeoDataset streamRaster,
    IGeoDataset directionRaster
);
[C++]
HRESULT StreamLink(
  IGeoDataset* streamRaster,
  IGeoDataset* directionRaster,
  IGeoDataset** StreamLink
);
[C++]

Parameters streamRaster [in]
streamRaster is a parameter of type IGeoDataset directionRaster [in]
directionRaster is a parameter of type IGeoDataset StreamLink [out, retval]
StreamLink is a parameter of type IGeoDataset

Product Availability

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

Remarks

streamRaster

an input Raster, RasterDataset, RasterBand, or RasterDescriptor representing a raster linear network

directionRaster

an input Raster, RasterDataset, RasterBand, or RasterDescriptor showing the direction of flow out of each cell

This can be created using the IHydrologyOp::FlowDirection method.

 

See Also

IHydrologyOp Interface