Calculates a statistic on the attributes of lines in a circular neighborhood around each output cell.
[Visual Basic .NET] Public Function LineStatistics ( _ ByVal lineDataset As IGeoDataset, _ ByVal Type As esriGeoAnalysisStatisticsEnum, _ ByVal radius As Double _ ) As IGeoDataset
[C#] public IGeoDataset LineStatistics ( IGeoDataset lineDataset, esriGeoAnalysisStatisticsEnum Type, double radius );
[C++]
HRESULT LineStatistics(
IGeoDataset* lineDataset,
esriGeoAnalysisStatisticsEnum Type,
double radius,
IGeoDataset** outGeodataset
);
[C++]Parameters
lineDataset [in]lineDataset is a parameter of type IGeoDataset
Type [in]Type is a parameter of type esriGeoAnalysisStatisticsEnum
radius [in] radius is a parameter of type double outGeodataset [out, retval]outGeodataset is a parameter of type IGeoDataset
Product Availability
Remarks
lineDataset |
input FeatureClass or FeatureClassDescriptor containing line features |
type |
an esriGeoAnalysisStatisticsEnum indicating which statistic will be calculated for all lines in the neighborhood Enumeration types are: esriGeoAnalysisStatsMajority for the majority value, esriGeoAnalysisStatsMaximum for the maximum value, esriGeoAnalysisStatsMean for the mean, esriGeoAnalysisStatsMedian for the median, esriGeoAnalysisStatsMinimum for the minimum value, esriGeoAnalysisStatsMinority for the minority value, esriGeoAnalysisStatsRange for the range of values, esriGeoAnalysisStatsStd for the standard deviation, esriGeoAnalysisStatsSum for the sum of the values, or esriGeoAnalysisStatsVariety for the variety of the values. |
radius |
the radius of the circular neighborhood around each output grid cell, expressed in map units A commonly used radius is 5 times the output cell size. |
- 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