This document is archived and information here might be outdated.  Recommended version.


IConversionOp.RasterDataToPolygonFeatureData Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IConversionOp.RasterDataToPolygonFeatureData Method

Convert raster data to feature data (FeatureClass or FeatureDataset).

[Visual Basic .NET]
Public Function RasterDataToPolygonFeatureData ( _
    ByVal dataset As IGeoDataset, _
    ByVal pWorkspace As IWorkspace, _
    ByVal name As String, _
    ByVal weeding As Boolean _
) As IGeoDataset
[C#]
public IGeoDataset RasterDataToPolygonFeatureData (
    IGeoDataset dataset,
    IWorkspace pWorkspace,
    string name,
    bool weeding
);
[C++]
HRESULT RasterDataToPolygonFeatureData(
  IGeoDataset* dataset,
  IWorkspace* pWorkspace,
  BSTR name,
  VARIANT_BOOL weeding,
  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 weeding [in] weeding is a parameter of type VARIANT_BOOL GeoDataset [out, retval]
GeoDataset is a parameter of type IGeoDataset

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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

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 an algorithm designed specifically for raster-to-vector conversion not the Douglas-Puecker algorithm.

See Also

IConversionOp Interface