This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IC > IConversionOp Interface > IConversionOp.RasterDataToLineFeatureData Method (ArcObjects .NET 10.5 SDK) |
Convert raster data to feature data (FeatureClass or FeatureDataset).
[Visual Basic .NET] Public Function RasterDataToLineFeatureData ( _ ByVal dataset As IGeoDataset, _ ByVal pWorkspace As IWorkspace, _ ByVal name As String, _ ByVal zeroAsBackground As Boolean, _ ByVal weeding As Boolean, _ ByRef minDangle As Object _ ) As IGeoDataset
[C#] public IGeoDataset RasterDataToLineFeatureData ( IGeoDataset dataset, IWorkspace pWorkspace, string name, bool zeroAsBackground, bool weeding, ref object minDangle );
[C++]
HRESULT RasterDataToLineFeatureData(
IGeoDataset* dataset,
IWorkspace* pWorkspace,
BSTR name,
VARIANT_BOOL zeroAsBackground,
VARIANT_BOOL weeding,
VARIANT* minDangle,
IGeoDataset** GeoDataset
);
[C++]
Parameters dataset [in]
dataset is a parameter of type IGeoDataset pWorkspace [in]
pWorkspace is a parameter of type IWorkspace name [in] name is a parameter of type BSTR zeroAsBackground [in] zeroAsBackground is a parameter of type VARIANT_BOOL weeding [in] weeding is a parameter of type VARIANT_BOOL minDangle [in] minDangle is a parameter of type VARIANT GeoDataset [out, retval]
GeoDataset is a parameter of type IGeoDataset
dataSet |
the input Raster, RasterDataset, RasterBand, or RasterDescriptor to be converted to feature class |
pWorkspace |
an object specifying the directory or subdirectory to contain the output feature class |
name |
The name of the output feature class |
zeroAsBackground |
a Boolean specifying the cell value that will identify the background cells. The raster is viewed as a set of foreground cells and background cells. The linear features are formed from the foreground cells. If TRUE, the background is composed of cells of zero or less, or nodata. All cells whose value is greater than zero are the foreground. If FALSE, the background is composed of NoData cells. All cells with valid values belong to the foreground. |
weeding |
a Boolean specifying whether or not a weed tolerance will by used If FALSE, no weeding is done If TRUE, the featureclass is weeded to reduce the number of vertices. The WEED option uses the Douglas-Puecker algorithm. |
minDangle |
Minimum length of dangling polylines that will be retained. The default is zero. |