This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IH > IHydrologyOp2 Interface > IHydrologyOp2.StreamToFeature Method (ArcObjects .NET 10.4 SDK) |
Converts a raster representing a linear network to features representing the linear network.
[Visual Basic .NET] Public Function StreamToFeature ( _ ByVal streamRaster As IGeoDataset, _ ByVal directionRaster As IGeoDataset, _ ByVal performWeeding As Boolean _ ) As IGeoDataset
[C#] public IGeoDataset StreamToFeature ( IGeoDataset streamRaster, IGeoDataset directionRaster, bool performWeeding );
[C++]
HRESULT StreamToFeature(
IGeoDataset* streamRaster,
IGeoDataset* directionRaster,
VARIANT_BOOL performWeeding,
IGeoDataset** ppStreamToFeature
);
[C++]
Parameters streamRaster [in]
streamRaster is a parameter of type IGeoDataset directionRaster [in]
directionRaster is a parameter of type IGeoDataset performWeeding [in] performWeeding is a parameter of type VARIANT_BOOL ppStreamToFeature [out, retval]
ppStreamToFeature is a parameter of type IGeoDataset
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. |
performWeeding |
a Boolean specifying whether or not a weed tolerance will be used to generalize line features. If FALSE, no weeding is done If TRUE, the featureclass is weeded to reduce the number of vertices.
|