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 the relational math tools work

Available with Spatial Analyst license.

    The relational math tools compare the values of inputs and return the results as a Boolean value of 0 for False and 1 for True. The input rasters are tested on a cell-by-cell basis.

    There are six tools for performing relational logical operations: Equal To, Not Equal, Greater Than, Greater Than Equal, Less Than, and Less Than Equal.

    Equal To

    If both values are equal, the output is 1. If the values are not equal, the output is 0.

     Input1 = Input2, Output = 1
     Input1 ≠ Input2, Output = 0

    Not Equal

    If both values are not equal, the output is 1. If the values are equal, the output is 0.

     Input1 = Input2, Output = 0
     Input1 ≠ Input2, Output = 1

    Greater Than

    If the first input is greater than the second, the output is 1. If not, the output is 0.

     Input1 > Input2, Output = 1
     Input1 = Input2, Output = 0
     Input1 < Input2, Output = 0

    Greater Than Equal

    If the first input is greater than or equal to the second, the output is 1. If not, the output is 0.

     Input1 > Input2, Output = 1
     Input1 = Input2, Output = 1
     Input1 < Input2, Output = 0

    Less Than

    If the first input is less than the second, the output is 1. If not, the output is 0.

     Input1 > Input2, Output = 0
     Input1 = Input2, Output = 0
     Input1 < Input2, Output = 1

    Less Than Equal

    If the first input is less than or equal to the second, the output is 1. If not, the output is 0.

     Input1 > Input2, Output = 0
     Input1 = Input2, Output = 1
     Input1 < Input2, Output = 1

    Note:

    If any of the input cell values is NoData, the output value is NoData.

    Related Topics

    • An overview of the Logical Math tools
    • Equal To
    • Greater Than
    • Greater Than Equal
    • Less Than
    • Less Than Equal
    • Not Equal
    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