ArcObjects Library Reference (SpatialAnalyst)  

IHydrologyOp2.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

IHydrologyOp2 Interface