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...

Finding the number of occurrences from an input list meeting a specified criterion

Available with Spatial Analyst license.

  • Example

Three local tools assign the number of times a cell's values meet a specified criterion relative to the input values: Equal To Frequency, Greater Than Frequency, and Less Than Frequency. These tools determine for each cell how many times the input values obtained from a list of rasters are either equal to, greater than, or less than the specified value input.

Tip:
To have the specified value be a single number, you can use the Create Constant Raster tool to create a constant raster of that value.

Example

For example, for a particular cell location, consider a Value raster value of 2 and the following values:

ValRasInRas1InRas2InRas3InRas4InRas5InRas6

2

3

6

1

2

0

5

Example input values

The sorted list of the input cell values is 0, 1, 2, 3, 5, 6.

The output from these tools would be as follows:

  • Equal To Frequency—Since there is only a single input value in the list that is equal to the Value raster, the output cell value is 1.
  • Greater Than Frequency—Three input values are greater than the comparison value of 2, so the output cell value is 3.
  • Less Than Frequency—Two values are less than the comparison value, so the output cell value is 2.

Related Topics

  • An overview of the Local toolset
  • Equal To Frequency
  • Greater Than Frequency
  • Less Than Frequency
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