+ = Spatial Analysis of Raster Data. 2 =Fault in shale 3 = Fault in limestone 4 = no Fault, shale 5 = no Fault, limestone. 2 = fault 4 = no fault

Similar documents
Map Analysis of Raster Data I 3/8/2018

Raster GIS applications

Geographic Information Systems (GIS) Spatial Analyst [10] Dr. Mohammad N. Almasri. [10] Spring 2018 GIS Dr. Mohammad N. Almasri Spatial Analyst

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS

Lecture 6: GIS Spatial Analysis. GE 118: INTRODUCTION TO GIS Engr. Meriam M. Santillan Caraga State University

GEOGRAPHIC INFORMATION SYSTEMS Lecture 18: Spatial Modeling

Cell based GIS. Introduction to rasters

Module 7 Raster operations

Raster GIS applications Columns

Getting Started with Spatial Analyst. Steve Kopp Elizabeth Graham

Getting Started with Spatial Analyst. Steve Kopp Elizabeth Graham

Topic 3: GIS Models 10/2/2017. What is a Model? What is a GIS Model. Geography 38/42:477 Advanced Geomatics

Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

GEOGRAPHIC INFORMATION SYSTEMS Lecture 24: Spatial Analyst Continued

GEOG 487 Lesson 8: Step-by-Step Activity

Understanding Geospatial Data Models

Data Acquisition. Chapter 2

Suitability Modeling with GIS

RASTER ANALYSIS S H A W N L. P E N M A N E A R T H D A T A A N A LY S I S C E N T E R U N I V E R S I T Y O F N E W M E X I C O

Raster Data Model & Analysis

ENGRG Introduction to GIS

Raster Analysis. Overview Neighborhood Analysis Overlay Cost Surfaces. Arthur J. Lembo, Jr. Salisbury University

Raster Analysis and Functions. David Tenenbaum EEOS 465 / 627 UMass Boston

RASTER ANALYSIS GIS Analysis Fall 2013

How does Map Algebra work?

Geographic Surfaces. David Tenenbaum EEOS 383 UMass Boston

Raster Analysis. Overview Neighborhood Analysis Overlay Cost Surfaces. Arthur J. Lembo, Jr. Salisbury University

Class #2. Data Models: maps as models of reality, geographical and attribute measurement & vector and raster (and other) data structures

Neighbourhood Operations Specific Theory

GIS: Raster Analysis

Watershed Sciences 4930 & 6920 ADVANCED GIS

RASTER ANALYSIS GIS Analysis Winter 2016

Lecture 9. Raster Data Analysis. Tomislav Sapic GIS Technologist Faculty of Natural Resources Management Lakehead University

Lab 12: Sampling and Interpolation

GIS Fundamentals: Supplementary Lessons with ArcGIS Pro

Masking Lidar Cliff-Edge Artifacts

Lab 12: Sampling and Interpolation

Developing an Interactive GIS Tool for Stream Classification in Northeast Puerto Rico

Working with Map Algebra

Lab 11: Terrain Analyses

Combine Yield Data From Combine to Contour Map Ag Leader

Mapping Distance and Density

Lab 11: Terrain Analyses

Spatial Analysis with Raster Datasets

Remote Sensing and GIS. GIS Spatial Overlay Analysis

Attribute Accuracy. Quantitative accuracy refers to the level of bias in estimating the values assigned such as estimated values of ph in a soil map.

Spatial Density Distribution

Using GIS To Estimate Changes in Runoff and Urban Surface Cover In Part of the Waller Creek Watershed Austin, Texas

Maps as Numbers: Data Models

Making Yield Contour Maps Using John Deere Data

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS

Lecture 20 - Chapter 8 (Raster Analysis, part1)

Field-Scale Watershed Analysis

Introduction to Geographic Information Science. Some Updates. Last Lecture 4/6/2017. Geography 4103 / Raster Data and Tesselations.

Data handling 3: Alter Process

Terms and definitions * keep definitions of processes and terms that may be useful for tests, assignments

Soil texture: based on percentage of sand in the soil, partially determines the rate of percolation of water into the groundwater.

Spatial Patterns Point Pattern Analysis Geographic Patterns in Areal Data

GIS IN ECOLOGY: MORE RASTER ANALYSES

The Reference Library Generating Low Confidence Polygons

GIS OPERATION MANUAL

Surface Analysis. Data for Surface Analysis. What are Surfaces 4/22/2010

Welcome to NR402 GIS Applications in Natural Resources. This course consists of 9 lessons, including Power point presentations, demonstrations,

L7 Raster Algorithms

Raster Data. James Frew ESM 263 Winter

Lab 10: Raster Analyses

Exercise Lab: Where is the Himalaya eroding? Using GIS/DEM analysis to reconstruct surfaces, incision, and erosion

GIS Tools - Geometry. A GIS stores data as different layers of information Different feature types are stored in individual files.

DATA ANALYSIS I. Types of Attributes Sparse, Incomplete, Inaccurate Data

Interactive Math Glossary Terms and Definitions

Raster: The Other GIS Data

The Raster Data Model

Chapter 4. Operations on Data

Protocol for Riparian Buffer Restoration Prioritization in Centre County and Clinton County

LECTURE 2 SPATIAL DATA MODELS

Raster Data Models 9/18/2018

Rasters are: The Raster Data Model. Cell location specified by: Why squares? Raster Data Models 9/25/2014. GEO327G/386G, UT Austin 1

The Raster Data Model

Introduction to LiDAR

Stream network delineation and scaling issues with high resolution data

Lab 10: Raster Analyses

Remote Sensing & GIS (Bio/Env384 A): 10 November 2015 GIS Database Query

Purpose: To explore the raster grid and vector map element concepts in GIS.

Exercise 5. Height above Nearest Drainage Flood Inundation Analysis

Exercise 2-1 Cartographic Modeling

Topic 5: Raster and Vector Data Models

Raster model. Raster model. Resolution. Value and data types. Structure and storage. Cell. Values. Data

Creating Surfaces. Steve Kopp Steve Lynch

Watershed Analysis and A Look Ahead

Spatial Analysis 2. Basic operations Béla Márkus

4/7/2009. Model: Abstraction of reality following formal rules e.g. Euclidean space for physical space

Vector Data Analysis Working with Topographic Data. Vector data analysis working with topographic data.

ArcGIS Spatial Analyst Suitability Modeling

Measurement. Joseph Spring. Based on Software Metrics by Fenton and Pfleeger

v Prerequisite Tutorials GSSHA Modeling Basics Stream Flow GSSHA WMS Basics Creating Feature Objects and Mapping their Attributes to the 2D Grid

Improved Applications with SAMB Derived 3 meter DTMs

7 Fractions. Number Sense and Numeration Measurement Geometry and Spatial Sense Patterning and Algebra Data Management and Probability

Delineating Watersheds from a Digital Elevation Model (DEM)

Surface Analysis with 3D Analyst

Spa$al Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University

Transcription:

Spatial Analysis of Raster Data 0 0 1 1 0 0 1 1 1 0 1 1 1 1 1 1 2 4 4 4 2 4 5 5 4 2 4 4 4 2 5 5 4 4 2 4 5 4 3 5 4 4 4 2 5 5 5 3 + = 0 = shale 1 = limestone 2 = fault 4 = no fault 2 =Fault in shale 3 = Fault in limestone 4 = no Fault, shale 5 = no Fault, limestone 1

Spatial Query: Where is? What is Spatial Analysis? Spatial Analysis (e.g. suitability analysis): Where is the best place for? What is the least costly path between? a set of methods with results that change when the location of objects being analysed changes the spatial aspect of this form of analysis sets it apart 2

Why Raster? Conceptually simple, easy to implement Well-suited for surface- and field-related phenomena (e.g. elevation, gravity, rainfall, etc.) and for discrete features Wide availability of data-sets; all remotely sensed data of this sort De facto standard approach oldest, most widely implemented, mature, widest suite of tools and software Best suited for Where rather than What questions 3

Where do rasters come from? Converted vector files, e.g. shapefiles, coverages Tools available pc 1 pc2 pc 3 1 1 1 1 1 2 1 2 3 1 2 3 Created from interpolations of point values Tools available 5 8 6 8 Directly from raster sources; remotely sensed data, DEMs, meteorological measurements, etc. 4

Cell values may be: What gets stored? Nominal integers are attribute codes (tags) Ordinal integers are ranks Ratio Ratio of values makes sense, e.g. 300 m elevation is twice as high as 150 m; magnitude of ratio has some physical meaning 5

Cell values may be: What gets stored? Nominal integers are attribute codes (tags). Though numbers, they are dimensionless and without scale. Numbers as qualitative descriptors. Mathematical operations on cell values are not meaningful as a measure of scalar magnitudes. 6

Nominal Raster e.g. Geologic Map Each raster cells contains a value of 1 to 18: 1 = water 4 = Huckleberry R. Tuffs 12= Plio.-Pleist. Rhyolite etc. 7

Cell values may be: Ordinal integers are ranks What gets stored? e.g. 1=excellent, 2=good, 3=poor; 1=low, 2=medium, 3=high Ranking scheme used for hazard rating, density measures, etc. Mathematical & most statistical operations meaningless; Median might be useful measure of central value 8

Ordinal Raster e.g. Erosion Ranking Each raster cells contains a value of 1-12 Yellow = 12 = Most Erosive Blue = 1 = Least Erosive 9

What gets stored? Cell values may be: Ratio data are organized along a continuum and numbers do have an absolute meaning e.g. lengths, volumes, heights, concentrations, etc. Multiplication/Division, Subtraction/Addition make sense for arriving at meaningful new cell values. 12

Ratio Raster e.g. Elevation above MSL Each raster cells contains a value of 1544-3578 (meters) White = 3578 m Pale Blue = 1544 m 13

What Gets Stored? Depends on raster data model: 2 types-simple and Extended: Simple Raster Binary (nominal values) - 0 or 1 stored; feature present or not. B & W image. E.g. Limestone or not Limestone. - requires a different raster for each attribute (e.g. rock type) within a single theme (e.g. Geology) Limestone Sandstone GEOLOGY Mudstone 14

Raster data model: What Gets Stored? Simple Raster Non-binary, one nominal value per cell - integer is a code for categorical attribute e.g. limestone = 1, sandstone = 2, mudstone = 3 - requires one raster per theme Geology Hydrography 2 3 2 Parcels 15

Raster data model: What Gets Stored? Extended Raster - One value per cell but multiple attributes per value in value attribute table (VAT) 1 1 1 1 1 2 1 2 3 1 2 3 VAT for Geology raster Value Count Type Porosity Cement 1 7 Limestone 10 Calcite 2 3 Sandstone 22 Quartz 3 2 Mudstone 2 No data 16

What Are the Tools &Techniques? Map Algebra employing: Raster Operators Raster Functions Map Algebra takes raster(s) as input and return a result as a new raster. 17

1. Arithmetic Map Algebra Operators +, -, *, / ; for pairs of rasters Trigonometric, Log, Exponential, Powers for single rasters 18

Example: Raster Overlay E.g. Find wells within limestone Point-in-Polygon Query 0 = shale 2 = well 1 = limestone 4 = no well 0 0 1 1 0 0 1 1 1 0 1 1 1 1 1 1 2 4 4 4 2 4 5 5 4 2 4 4 4 2 5 5 4 4 2 4 5 4 3 5 4 4 4 2 5 5 5 3 + = 2 = well in shale 3 = well in limestone 4 = no well, shale 5 = no well, limestone 19

2. Relational Map Algebra Operators <, >, =, >=, <=, <> Compare two rasters. Create a new raster such that if condition is false, return 0, if true 1. 5 5 5 5 5 2 5 2 3 5 2 3 4 0 0 0 4 4 >= = 0 3 3 0 3 3 1 1 1 1 1 0 1 0 1 1 0 1 20

Boolean Selections; Or, And, Not From Bolstad, 4 th edition 22

Map Algebra Operators 3. Boolean And, Or, Not And both true Or- either true Not switches true for false From Bolstad, 4 th edition 23

4) Combinatorial Map Algebra Operators Assign value in new raster on basis of the combination of values in compared rasters R 1 R 2 Out 1 1 0 1 4 1 2 3 2 2 4 3 3 3 4 1 1 1 4 1 1 1 0 0 1 1 2 1 2 3 1 4 4 COR = 1 3 3 0 1 3 0 2 4 1 2 3 1 3 3 0 2 4 Raster 1 Raster 2 Output 25

Logical Map Algebra Operators Difference (DIFF), Contained In (IN) and OVER E.g. OVER searches for zeros. All nonzeros from first raster returned; if zero, returns value from second raster. 1 1 1 1 1 0 1 0 3 1 0 3 4 1 1 1 4 4 OVER = 1 3 3 1 3 3 1 1 1 1 1 4 1 3 3 1 3 3 26

5) Accumulative +=, *=, -= Map Algebra Operators Add, subtract, multiply, raster values in specific order. 1 1 1 1 1 0 1 0 3 += Value = 13 1 3 27

6. Assignment = Map Algebra Operators Assign all cells in a new raster a value by performing operation on old raster 1 1 1 1 1 0 1 0 3 1 3 * 5 = 5 5 5 5 5 0 5 0 15 5 15 28

Raster Functions Higher-order operations built up of operators just listed; relationship of input to output cells: Local cell-to-cell functions: 1 input cell per output cell Focal by-neighborhood functions Global entire raster gives Special Types 29

Local Functions Raster Functions Each cell in first raster operated on by an expression or by cell at same location in another raster Used in: Reclassification Overlay Analysis 30

Local Functions: Reclassification Make new raster by performing function on old. Nominal values reclassed as O or 1 (=binary masking) e.g. Boolian operators Reduce range or number of values floating point to integer values Change measurement scale to weight values; convert nominal values to rank (ordinal or ratio values). 31

Reclassification Binary Masking Beginning Raster: 5 5 5 5 5 5 5 5 5 5 5 5 5 5 2 2 5 5 5 5 5 2 2 8 8 5 5 5 2 2 2 2 2 2 8 8 2 2 5 5 5 5 5 5 2 2 2 2 5 5 5 5 5 2 2 2 5 5 5 5 2 2 8 8 Simplify to raster with granite and non-granite cells to produce binary raster. 2 = limestone 5 = sandstone 8 = granite 32

Local Functions: Reclassification Binary Raster composed of 0 and 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 Replaced nominal 2 and 5 by 0; 8 by 1. Simplified raster can be saved and used for further analysis 33

Reclassification - Weighting Reclassify to assign weighting factor for further analysis; nominal values become ordinal values for later calculation 5 5 5 5 5 5 5 5 5 5 5 5 2 2 5 5 5 5 5 5 2 2 8 8 5 5 5 5 2 2 2 2 2 2 2 2 8 8 8 8 2 2 5 5 5 5 5 5 2 2 2 2 5 2 2 2 5 5 5 5 5 5 5 5 Lithology Old Value Weight New Value Limestone 2 10 20 Sandstone 5 2 10 Granite 8 5 40 Granite is weighted 4x sandstone and 2x limestone 34

Local Functions: Raster Overlay All entities represented by cells; point = single cell line = chain of cells polygon = group of cells Nominal values identify a related group of cells as an entity Rasters of continuous variables (e.g. rainfall, temp., elevation) have cells with ratio values 35

Local Functions: Raster Overlay Compare cell value among layers by Map Algebra generate new raster as sum, difference, product, etc. of cells within two layers 0 0 1 1 0 0 1 1 1 0 1 1 1 1 1 1 2 0 0 0 0 2 0 0 + = 0 0 2 0 0 0 0 2 2 0 1 1 0 2 1 1 1 0 3 1 1 1 1 3 36

Local Functions: Raster Overlay E.g. Find faults cutting limestone OR shale Line-in-Polygon Query 0 = shale 2 = fault 1 = limestone 4 = no fault 0 0 1 1 0 0 1 1 1 0 1 1 1 1 1 1 2 4 4 4 2 4 5 5 4 2 4 4 4 2 5 5 4 4 2 4 5 4 3 5 4 4 4 2 5 5 5 3 + = 2 =Fault in shale 3 = Fault in limestone 4 = no Fault, shale 5 = no Fault, limestone 37

Local Functions: Raster Overlay Operators include nearly all previously listed: Arithmetic Relational Logical etc. 38

Focal Functions Neighborhood functions: uses values in adjacent cells to return values for new raster. Used for: Aggregation Filtering Computing slope and aspect 39

Aggregation Focal Functions Down-sampling combining cells (average, central cell, median) to produce raster with fewer cells. 3 3 2 1 2 2 2 3 3 2 3 3 3 2 1 2 1 3 1 3 1 0 2 0 0 4 3 2 0 0 0 2 1 2 1 1 0 2 3 0 2 2 2 1 2 0 2 3 4 1 2 0 0 2 1 1 1 2 2 3 1 1 1 1 Average 2 1 40 1 1

Focal Functions: Computing Slope Use 8 neighboring cells to compute slope of cell #5. Rise/run = tan (slope) 1 2 3 Find slope in x direction b = tan (slope x ) = (z 3 + z 6 + z 9 z 1 z 4 z 7 )/8D Find slope in y direction c = tan (slope y ) = (z 1 + z 2 + z 3 z 7 z 8 z 9 )/8D Find slope in steepest direction tan (slope) = (b 2 + c 2 ) 1/2 Rise 4 5 6 7 8 9 D z = elev. Slope Run 41

Focal Functions: Filtering Filtering assign new value to cell on basis of neighboring cells. Save as new raster. Define filter window as a group of cells ( kernal ) around a target cell; size and shape can be specified. Step window across entire raster, calculating new value for center of filter on basis of neighboring values within the filter and filter rule. 42

Neighborhood Functions: Filtering Rule replace target cell (in center) with mean value encountered in filter Define square filter of 3x3 cells 3 3 2 1 2 2 2 2 Target 1: mean = 18/9 = 2 - replace target with 2 3 3 2 3 3 3 2 1 2 1 3 1 3 1 0 2 0 0 4 3 2 0 0 0 1 2 1 1 0 2 3 0 2 2 2 1 2 0 2 3 4 1 2 0 0 2 1 1 1 2 2 3 1 1 1 1 Target 2: mean = 15/9 = ~1.7 - replace target with 2 Filtering effective for: - removing noise - revealing linear trends 43

Neighborhood (Proximity) Functions Buffering calculate buffer zone based on proximity. Save as new raster. Cell value of new raster is a measure of distance via proximity. A Original raster 3 m Buffer raster 2 4 4 4 4 2 4 4 4 4 2 4 4 4 4 2 44 A 4 4.5 5.0 5.7 3 3.6 4.2 5.0 2 2.8 3.6 4.5 1 2 3 4