map algebra

14
MAP ALGEBRA By: Ehsan Hamzei 810392121

Upload: ehsan-hamzei

Post on 12-Apr-2017

32 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Map algebra

MAP ALGEBRABy: Ehsan Hamzei 810392121

Page 2: Map algebra

INTRODUCTION

Map Algebra is an analysis language based loosely on the map algebra concepts presented by Dr. Dana Tomlin in his book entitled Geographic Information Systems and Cartographic Modeling(Tomlin, 1990)

Map Algebra is a high-level computational language used for performing cartographic spatial analysis using raster data.

Page 3: Map algebra

MAP ALGEBRA OPERATORS

Arithmetic operators

Boolean operators

Combinatorial

operatorsLogical

operators

Relational operators

Page 4: Map algebra

ARITHMETIC OPERATORS

Arithmetic operators allow addition, subtraction, multiplication, and division.

Arithmetic operators can also be used to convert values from one measurement to another (Example: feet x 0.3048 = meters).

Page 5: Map algebra

RELATIONAL OPERATORS Relational operators allow you to build logical tests returning

values of true (1) and false (0).

You can ether use the Relational Operator (=,<,>)

of the Abbreviation (EQ,LT, GT)

Page 6: Map algebra

BOOLEAN OPERATORS

Boolean operators such as "and", "or", and "not" allow you to chain logical tests.

Like relational operators, Boolean operators return values of true and false.

Example: slopes that are "greater-than" 45 degrees "and" that have an elevation that is "greater-than" 5000 meters

Page 7: Map algebra

LOGICAL OPERATORS

The logical operators DIFF, IN, and OVER, also allow you to build logical tests on a cell-by-cell basis, but are implemented with specific rules. A DIFF B: If a cell value in raster A and raster B are different, the cell

value in raster A is returned. If the cell values are the same, the value zero is returned.

A IN {value list}: If a cell value in raster A is in the value list, the cell value in raster A is returned. Otherwise, No Data is returned.

Page 8: Map algebra

COMBINATORIAL OPERATORS

Combinatorial operators combine the attributes of multiple input rasters.

These operators find all unique combinations of values and assign a unique ID to each, which is then returned to the output grid.

Page 9: Map algebra

GRID FUNCTION TYPELocal

functions

Global functio

ns

Zonal functio

ns

Focal functio

ns

Page 10: Map algebra

LOCAL FUNCTIONS

Local functions apply an independent calculation to only one input grid cell for each output cell.

Example: Sin(X)

Page 11: Map algebra

GLOBAL FUNCTIONS

Global functions apply a calculation based on all cell values .

Example: flow accumulation

Page 12: Map algebra

FOCAL FUNCTIONS

Focal functions apply one calculation to all input grid cells within a “focus”.

Example: Focal Mean

Page 13: Map algebra

ZONAL FUNCTIONS

Zonal functions apply one calculation to all input grid cells within each zone

Example: Zonal Sum

Page 14: Map algebra

TNX FOR YOUR ATTENTION