Assignment 3 Cartographic Modeling –Raw Spatial Data  Map Product for Decision Making Steps –Define Goal –Define important social or biophysical factors.

Slides:



Advertisements
Similar presentations
CS&E 1111 ExIFs IFs and Nested IFs in Excel Objectives: Using the If function in spreadsheets Nesting If functions.
Advertisements

Border around project area Everything else is hardly noticeable… but it’s there Big circles… and semi- transparent Color distinction is clear.
Using ESRI ArcGIS 9.3 Arc ToolBox 3 (Spatial Analyst)
ANALYSIS 3 - RASTER What kinds of analysis can we do with GIS? 1.Measurements 2.Layer statistics 3.Queries 4.Buffering (vector); Proximity (raster) 5.Filtering.
Introduction to Computers and Programming Lecture 5 New York University.
2-1 Making Decisions Sample assignment statements PayAmount = Hours * Rate PayAmount = 40*Rate + (Hours – 40)*Rate*1.5.
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming Conditional Statements Control Structures.
Primitive Types Java supports two kinds of types of values – objects, and – values of primitive data types variables store – either references to objects.
Chapter 4: Control Structures: Selection
1 Selection Structures. 2 Making Decisions Sample assignment statements to figure worker pay with possible overtime PayAmount = Hours * Rate PayAmount.
Boolean Expressions and If Flow of Control / Conditional Statements The if Statement Logical Operators The else Clause Block statements Nested if statements.
Let’s pretty it up!. Border around project area Everything else is hardly noticeable… but it’s there Big circles… and semi- transparent Color distinction.
GIS Functions and Operators The functions associated with raster cartographic modeling can be divided into five types: The functions associated with raster.
Cartographic modelling
Basic Spatial Analysis
WEB DESIGN AND PROGRAMMING Introduction to Javascript.
Spatial Analyst Toolbox Lecture 17. Spatial Analyst Tool Sets  Conditional  Density  Distance  Generalization  Ground Water  Interpolation  Conditional.
Dana Tomlin and Joseph Berry (1970’s) A method of treating individual raster layers as members of algebraic expressions. 2 * LayerA.
CE 525. SPATIAL ANALYSIS Using Spatial Analyst Point Density (Data Management) Clipping Cell size - smoothness Raster Calculator (Map Algebra) Combined.
Computer Science 101 The Boolean System. George Boole British mathematician ( ) Boolean algebra –Logic –Set theory –Circuits –Conditions in if.
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
Applied Cartography and Introduction to GIS GEOG 2017 EL
Branching and Conditions CSIS 1595: Fundamentals of Programming and Problem Solving 1.
Distance. Euclidean Distance Minimum distance from a source (Value NoData) Input grid must have at least one source cell with the rest of the grid.
 Trace the incremental algorithm for constructing convex data on the sample point data given below. Intermediate steps should be shown First, two steps.
Lecture Set 5 Control Structures Part A - Decisions Structures.
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
Hello.java Program Output 1 public class Hello { 2 public static void main( String [] args ) 3 { 4 System.out.println( “Hello!" ); 5 } // end method main.
Intro to Raster GIS GTECH361 Lecture 11. CELL ROW COLUMN.
Property of Jack Wilson, Cerritos College1 CIS Computer Programming Logic Programming Concepts Overview prepared by Jack Wilson Cerritos College.
Map Algebra. Lesson 5A overview  Introduction to Map Algebra (5A)  Language components  Syntax and rules  Objects  Operators  Commands  Exercise.
Data Queries Selecting features in ArcMap Data queries  Important part of a GIS project Can be a part of your data preparation or final analysis  Data.
CPS120: Introduction to Computer Science Operations Lecture 9.
Copyright © 2006 by Maribeth H. Price 15-1 Chapter 15 Raster Analysis.
Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.
Week 8: Decisions Bryan Burlingame 21 October 2015.
Principles of Programming Chapter 4: Basic C Operators  In this chapter, you will learn about:  Arithmetic operators  Unary operators  Binary operators.
Reading Assignment: Bolstad Chapters 10 & 11 Spatial Analysis (Raster)
BOOLEAN ALGEBRA Only involves in calculations of TRUE and FALSE; either be inputs or output. When a logic statement is TRUE it is assigned a Boolean logic.
NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.
A First Book of C++ Chapter 4 Selection. Objectives In this chapter, you will learn about: –Relational Expressions –The if-else Statement –Nested if Statements.
Department of Electronic & Electrical Engineering Expressions operators operands precedence associativity types.
5.02B Decision Making Structure (part 2). Compound Boolean Expressions.
Chapter 2 Excel Fundamentals Logical IF (Decision) Statements Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS Class 04 Topics  Selection statement – IF  Expressions  More practice writing simple C++ programs Announcements  Read pages for next.
CENTENNIAL COLLEGE SCHOOL OF ENGINEERING & APPLIED SCIENCE VS 361 Introduction to GIS SPATIAL OPERATIONS COURSE NOTES 1.
Chapter 8 Raster Analysis.
Geographical Information Systems
Computer Science 210 Computer Organization
Spatial Models – Raster Stacy Bogan
Raster Analysis Ming-Chun Lee.
Expressions An expression is a portion of a C++ statement that performs an evaluation of some kind Generally requires that a computation or data manipulation.
URBDP 422 Urban and Regional Geo-Spatial Analysis
Basic Spatial Analysis
JavaScript: Control Statements I
An Introduction to Programming with C++ Fifth Edition
Java Programming: Guided Learning with Early Objects
Introduction to Python
Review- vector analyses
Arithmetic operations, decisions and looping
Computer Science 210 Computer Organization
Making Logical Decisions (IF-THEN-ELSE)
C Operators, Operands, Expressions & Statements
Microsoft Visual Basic 2005: Reloaded Second Edition
Expressions An expression is a portion of a C++ statement that performs an evaluation of some kind Generally requires that a computation or data manipulation.
Expressions.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
XOR Function Logic Symbol  Description  Truth Table 
Chapter 4: Boolean Expressions, Making Decisions, and Disk Input and Output Prof. Salim Arfaoui.
Presentation transcript:

Assignment 3 Cartographic Modeling –Raw Spatial Data  Map Product for Decision Making Steps –Define Goal –Define important social or biophysical factors –Select modeling method –Develop database –Process data to create new information if needed –Convert factor data to reflect relative Value to Goal –Combine environment factor valuations to create final map. –Visualization

Process Goal: Create a habitat map for B. pondesii Define Factors: –Vegetation Type – likes hardwoods –Water – lives near ponds –Human Use – avoid human use areas Select Modeling Method: Binary Combination Develop Database: –Human Use: Roads, Town –Water: Water –Vegetation Type: Trees

Process Process data if needed –Reclassify Water create Ponds (1, Nodata) –Find Euclidean distance from ponds –Reclassify Town and Roads (1, Nodata) –Find Euclidean distance from both Town and Roads (using reclasses) –Combine Euclidean distance grids for Town and Roads using MIN function to get the minimum distance from either (i.e. MinDist) Convert factors to relative values (Binary: 1,0) –Hydro = Con(Euc_pond == 0, 0, Con(Euc_pond <= 500, 1,0)) –Hardwood = Con(Trees == 1, 1,0) – Human = Con(MinDist <= 150, 0,1) Combine factors using different local operators –Boolean: AND, OR –Arithmetic: + –Combinations

Euclidean Distance Minimum distance from a source (Value <> NoData) Input grid must have at least one source cell with the rest of the grid being NoData. Global Function Point 1 10, 15 Point 2 15,20

Euclidean Distance Source Cells have values. All other cells have NoData. Output represents the minimum distance to any source cell. Distance is in map units.

Boolean Logic All queries use Boolean Logic. Boolean logic involves True/False sets (Yes/No, 1/0) on which Boolean logical operators (or connectors) such as AND, OR, NOT and XOR can be applied. Going back to basic set theory, a group of individuals are either in a specific set or not. With Grids 0 = “not in set”, all other values indicate a cell is in the specified set. I always create a 1/0 Conditional Grid. NoData in a Grid will return NoData.

Boolean Operators AND, OR, XOR, NOT AND Decreasive Controlled by Low Values AND = AB AB

Boolean Operators AND, OR, XOR, NOT OR Increasive Controlled by High Values OR = AB AB

Boolean Operators AND, OR, XOR, NOT XOR In A OR B, but not in A AND B XOR = AB AB

Boolean Operators AND, OR, XOR, NOT NOT In A, but NOT B NOT = AB AB

Reclassification Methods Lookup – based on VAT attributes Reclassify – new to 9.2 Con Function

Lookup Creates a new raster by looking up values found in another field in the table of the input raster. Inputs: Input Raster, Field, Output Raster. Field must be numeric; Integer or Floating Point. Input must be integer, Output can be either. ValueCountAttr Input ValueCount Output

Reclassify Reclassifies or changes the values in a raster. Inputs: Input Raster, Field, Reclassification Method, Output raster. The input can be any numerical type. The output raster will always be of integer type. Many reclassification methods available, including Remap Tables created in the Reclassify tool. You are putting all the input data into classes. The reclassification scheme must be inclusive, else the algorithm will make classes using the remaining values through truncation.

Reclassify Algorithm You define thresholds from reclassification, the algorithm then applies a local conditional If/Else statement to the information. Basic If/Else formulation (to create 3 classes): If (input value is): >= Minimum Value - <= Threshold 1 = Class 1 Else > Threshold 1 - <= Threshold 2 = Class 2 Else > Threshold 2 - <= Maximum Value = Class 3

Con Also Conditional approach. Can be based on more than one input raster. Local function. Input and Output can be any numerical type. –Con can be used to create a floating point output. Should also be inclusive, else undefined values will be converted to NoData.

CON Function CONditional Expression One of the most powerful local map algebra functions. Apply in Single Output Map Algebra Function or Raster Calculator Basic Format: –Output = CON (Condition, True_expression, False_expression) Examples –Output = con(input1 > 5, 10, 100) –Output = con(input1 > 5, 10) –Output = con(input1 < 5, 10, con(input1 < 15, 50, 100)) –Ouput = con((input1 + input2) < = 5, sin(input1), cos(input2))

Examples of Con Function Outgrid = con(Ingrid > 5, 10, 100) Ingrid Outgrid

Examples of Con Function If no value or expression is specified for the false expressions: –Outgrid = con(Ingrid > 5, 10) the results will be the same as the above output except the cells that have a value of 5 or less Ingrid will be assigned NoData in Outgrid.

Examples of Con Function Multiple conditional statements can be used within the Con function, but each must have a value or expression that can be used to assign values to the output cells if the result of the evaluation of the condition is true. –outgrid = con(Ingrid1 < 5, sin(Ingrid1), con(Ingrid1 < 20, cos(Ingrid1), con(Ingrid1 > 50, 100, 0))) The function is sequential, so the second condition will acknowledge the first condition. How would the outgrid cells be defined for Ingrid1 values between 20 and 50?