ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

An overview of the Map Algebra Operators

Spatial Analyst Map Algebra supports a series of operators. The operators can be grouped into Arithmetic, Bitwise, Boolean, and Relational categories. The available operators and their categories are listed below.

The operators are overloaded since they exist in both Spatial Analyst and Python. To distinguish whether an input is a raster as opposed to a scalar variable, the input raster is cast using the Raster class: Raster("inRas").

In operators that accept two inputs, if both inputs are scalars, the Python operator will be used working on scalars. If one or both of the inputs are rasters (identified by casting with the Raster class), the Spatial Analyst operator is used and will work on each cell within the rasters. For those operators that accept a single input, if it is a scalar, then the Python operator is used; if a raster is input, the Spatial Analyst operator is used.

Map Algebra operatorDescriptionSpatial Analyst GP toolArcGIS 9.x Map Algebra equivalent
Arithmetic

+ (link)

Addition

Plus

+

+ (link)

Unary Plus

N/A

N/A

- (link)

Subtraction

Minus

-

- (link)

Unary Minus

Negate

-

* (link)

Multiplication

Times

*

** (link)

Power

Power

N/A

/ (link)

Division

Divide

/, div

// (link)

Integer Division

N/A

N/A

% (link)

Modulo

Mod

Mod

Bitwise

<< (link)

Bitwise Left Shift

Bitwise Left Shift

<<

>> (link)

Bitwise Right Shift

Bitwise Right Shift

>>

Boolean

& (link)

Boolean And

Boolean And

&, and

~ (link)

Boolean Complement

Boolean Not

^, not

| (link)

Boolean Or

Boolean Or

|, or

^ (link)

Boolean Exclusive Or

Boolean XOr

!, xor

Relational

== (link)

Equal To

Equal To

==, eq

> (link)

Greater Than

Greater Than

>, gt

>= (link)

Greater Than or Equal To

Greater Than Equal

>=, ge

< (link)

Less Than

Less Than

<, lt

<= (link)

Less Than or Equal To

Less Than Equal

<=, le

!= (link)

Not Equal To

Not Equal

^=, <>, ne

Rubriques connexes

  • Qu'est-ce que ArcPy ?
  • Vue d'ensemble du jeu d'outils Mathématiques
  • What is the Spatial Analyst module

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2018 Esri. | Confidentialité | Légal