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