ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

How Line Statistics works

Available with Spatial Analyst license.

  • Examples

The Line Statistics tool calculates a statistic on the values of the specified field for all lines in a circular neighborhood around each output raster cell.

The available statistics types are Mean, Majority, Maximum, Median, Minimum, Minority, Range, Std (standard deviation), and Variety. Only the majority, minority, and median statistics are weighted according to the length of the line.

Examples

The following examples illustrate how the weighting occurs for the median, majority, and minority statistics. In the example, there are 11 line segments in the neighborhood of a particular raster cell, with seven different values among them.

Weighting of line segments

Calculation of the median statistic

All the line segments in the neighborhood are placed end to end, and the value of the segment at the midpoint is chosen as the median.

Median statistic

Calculation of the majority and minority statistics

The value with the greatest total line length in the neighborhood is the majority value, and the value with the least total line length in the neighborhood is the minority value.

Determining Majority and Minority

Related Topics

  • An overview of the Neighborhood toolset
  • Line Statistics
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal