Basic Spatial Analysis

46
Basic Spatial Analysis May 30, 2013 Institute of Space Technology, Karachi

description

Basic Spatial Analysis. May 30, 2013 Institute of Space Technology, Karachi. Spatial Analysis. Involves applications of operations to coordinates and related attribute data. Chapter 9 of your text book. Spatial Data Analysis. - PowerPoint PPT Presentation

Transcript of Basic Spatial Analysis

Page 1: Basic Spatial Analysis

Basic Spatial Analysis

May 30, 2013Institute of Space Technology, Karachi

Page 2: Basic Spatial Analysis

Spatial Analysis

Involves applications of operations to coordinates and related attribute data

Page 3: Basic Spatial Analysis

Chapter 9 of your text book.

Page 4: Basic Spatial Analysis

Spatial Data Analysis

Spatial analyses are applied to solve problems related to geographic decisions

Examples: Identify high crime areas Generate a list of road segments that need repaving Select a best location for a new business

Input Layer Spatial Operation Output Layer

Page 5: Basic Spatial Analysis

Sequence of Spatial Operations

SINGLE SPATIAL OPERATIONS

Page 6: Basic Spatial Analysis

Challenge!!!! Selecting appropriate spatial

operations and applying them in the appropriate order

Page 7: Basic Spatial Analysis

Spatial Data AnalysisApplication of operations to coordinates

and related attribute data

Non Spatial Queries (standard Database queries) How long is River Indus? Population of Pakistan? etc.

Spatial Queries Neighboring countries of Pakistan? List of provinces through which Indus river flows?

Page 8: Basic Spatial Analysis

Spatial Data Analysis Since attribute data is related to spatial

objects therefore we can not separate operations on attribute data from operations on coordinate portion of spatial data

Page 9: Basic Spatial Analysis

Spatial Operations Applied to one or more input layers to

produce one or more output data layers

One to One Conversion of raster data into vector

One input – Many outputs Slope and aspect produced from raster elevation model

Many inputs – one output To calculate data averages from different layers

Page 10: Basic Spatial Analysis

Spatial Operations

Page 11: Basic Spatial Analysis

Spatial Operations Depends on type of data model used Specific operations available in the GIS

software In many instances it’s more efficient to

convert data between data models and apply the desired operations and convert results back to the original data model

Page 12: Basic Spatial Analysis

Spatial Operations Outputs

Non Spatial outputs Spatial operation produces scalar value, a

list, or a table with no explicit geometric data attached

Spatial New data layer is produced

Page 13: Basic Spatial Analysis

Spatial ScopeSpatial operations may becharacterized by their spatial scope

Local Operations

Neighborhood Operations

Global Operations

Page 14: Basic Spatial Analysis

Spatial Data Analysis

Selection Reclassification Dissolving Buffering Overlay

Page 15: Basic Spatial Analysis

Selection

Features are identified based on given criteria

Example: in a political map of European countries, select all names and population of countries with more than 50M inhabitants

Above is an example of set algebra >, <, =, & <> Used either alone or in combination

Page 16: Basic Spatial Analysis

Thematic map of countries of western Europe (and their population); selection of countries with more than 50M people

Selection

Page 17: Basic Spatial Analysis

Selection: Set Algebra

Page 18: Basic Spatial Analysis

Selection Boolean Algebra

Conditions: AND, OR, NOT

Combines set algebra and create compound spatial selection

Page 19: Basic Spatial Analysis

Expression In Boolean Algebra

Page 20: Basic Spatial Analysis

Selection by Location Adjacency

Containment

Page 21: Basic Spatial Analysis

Reclassification

Classification of spatial objects based on spatial or non spatial data

Example: classification of Polygons based on size

Examples of Reclassification Equal Interval Equal Area etc.

Page 22: Basic Spatial Analysis

Dissolve

Combines or dissolve similar features within a data layer

Adjacent polygons with identical values are merged into a single polygon

Page 23: Basic Spatial Analysis

Proximity Modifies existing feature or creates new

features that depend on distance Available water represented by Points and

distance function applied to these points to create raster data layer containing the distance to nearest water feature.

Page 24: Basic Spatial Analysis

Proximity: Distance Calculations Distance values are

calculated using Pythagorean formula

Calculated from cell center to cell center (when applied to raster data)

Page 25: Basic Spatial Analysis

Buffers Commonly used proximity function Represents specific distance around a

feature May be determined

for point, line, or area features

Also for both types of data models

Page 26: Basic Spatial Analysis

Overlay Overlapping different themes (multiple

layer operation) Areas where features in different layers

overlap Both spatial and attribute data is combined Clip, Intersect and union are special cases

of overlay

Page 27: Basic Spatial Analysis

Vector Overlay Clip

Only the areas that overlap are contained Cookie cutter approach

Intersect Combines data from both layers but only for a

given region where both layers contain data Union

Both overlapping and non-overlapping areas are contained

Page 28: Basic Spatial Analysis

Overlay - Examples

Page 29: Basic Spatial Analysis
Page 30: Basic Spatial Analysis

Raster Overlay Cell by cell combination of 2 or more data

layers Typically applied to nominal or ordinal data

Page 31: Basic Spatial Analysis

Geoprocessing in ArcGIS

Set of software functions used to manipulate and transform spatial data (single layers or multiple sets of layers), to create new information

Map Overlay functions: combining layers to create single output Extraction Intersection Dissolve Buffer Append and Merge

Page 32: Basic Spatial Analysis

Extraction Clip: cookie cutter function

Layers to be clipped: point, line, polygon Clipping layer:

When the Input Features are polygons, the Clip Features must also be polygons

When the Input Features are lines, the Clip Features can be lines or polygons.

When the Input Features are points, the Clip Features can be points, lines, or polygons.

Erase: Opposite of clip

Page 33: Basic Spatial Analysis
Page 34: Basic Spatial Analysis
Page 35: Basic Spatial Analysis

Intersection & Union Intersect

Merges attributes between layers, points-lines-polygons

Union Combines two polygon layers, keeping all areas

and merging attributes

Page 36: Basic Spatial Analysis

Intersection & Union

Page 37: Basic Spatial Analysis

Dissolve Combines and dissolves similar features

within a data layer

Page 38: Basic Spatial Analysis

Buffers Creates region at specific distance from

one or more features

Page 39: Basic Spatial Analysis

Buffers

Undissolved Buffer Separate Polygons

Dissolved Buffers Merged Polygons

Page 40: Basic Spatial Analysis

Append and Merge Combine 2 layers into 1 Merge “edges” of adjoining layers with

identically matching polygons and attributes Append data while maintaining the attributes

contained in the selected layer

Page 41: Basic Spatial Analysis

ARcGIS Tool for Geoprocessing To be covered in Lab

Page 42: Basic Spatial Analysis

a. Clip toolArcTool Box- Analysis Tools – Extract - Clip

b. Erase toolArcTool Box – Analysis Tools – Overlay - Erase

c. Intersect toolArcTool Box – Analysis Tools – Overlay – Intersect

d. Union toolArcTool Box - Analysis Tools – Overlay - Union

e. Dissolve toolArc Tool Box – Data Management Tools – Generalization - Dissolve

f. Buffer toolArcTool Box - Analysis Tools – Proximity - Buffer

g. Append toolArc Tool Box – Data Management Tools-General – Append

h. Merge toolArc Tool Box – Data Management Tools- General – Merge

Page 43: Basic Spatial Analysis

Using Model Builder Models are built to automate geoprocessing

workflow

Page 44: Basic Spatial Analysis

References webhelp.esri.com/.../spatial_operations.htm http://www.wou.edu/las/physci/taylor/es341/ge

oprocessing_ArcGIS.pdf www.ianko.com/.../images2/buffer_dissolve.jpg

NCRG Training Courses, “Introduction to GIS”

Prepared by Training, R&D Division GIS Fundamental by Paul Bolstad

Page 45: Basic Spatial Analysis

Union Query

Union operation from relational algebra Applied ONLY to thematic maps with same

attribute schema

Example: union of the map containing European countries with more than 10M inhabitants and the map containing European countries with less than 10M inhabitants. The two maps both have schema (name, population)

Page 46: Basic Spatial Analysis

Thematic map of countries (and population) of western Europe with less than 10M inhabitants

Thematic map of countries (and population) of western Europe with more than 10M inhabitants

Union Query