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
Product Availability
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. |
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.
|
- The method returns a reference to a FeatureClass object.
- Read the Working with ArcGIS Spatial Analyst objects technical document for general information on implementing Spatial Analyst operations.