This document is archived and information here might be outdated. Recommended version. |
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
);
[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
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. |