Top Banner
Spatial Interpolation III ENVE 424/524
30

Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Jan 04, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Spatial Interpolation III

ENVE 424/524

Page 2: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Spatial Interpolation

We can estimate the value of a variable at a location based on the values of that variable at neighboring locations.

The trick is defining the weight

point monitoring

data

continuous surface of

estimates (map)

spatial estimation method

zi is the estimated value at location i

n is the number of data pointszj is the value at data point j

wij is the weight assigned to data point j

Page 3: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Kriging Steps

1) Describe the spatial variation in the sample data

2) Summarize the spatial variation by a mathematical function

3) Use this model to determine the interpolation weights

1011

1

1

D w C

11

1

111

nj

j

nj

j

nnn

n

C

C

w

w

CC

CC

Page 4: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Variations on Kriging

Universal (kriging with a trend)

Probability

SimpleUses a known (at least assumed), constant mean across domain. Usually used by subtracting point data values from mean, interpolating the residuals, and then adding back to mean.

Uses a modeled trend across domain. The trend is subtracted from the point data values and the residuals interpolated.

Indicator krigingPoint data are transformed to indicator variables (usually binary). For example, a threshold value is defined and data points that are below the threshold are assigned a value of 1 and those above the threshold are assigned a value of 0. The indicator values are interpolated and the resulting surface shows the probabilities (0-1) of exceeding (or being below) the threshold.

Similar to indicator kriging but also incorporates the difference between a data pint value and the defined threshold. Using this “proximity” to threshold information can result in more accurate probabilities.

Page 5: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Block Kriging

Used when estimates are required not at points but an average value is required within a prescribed local area.

The estimate from block kriging using four points (Figure a) is equal to averaging the estimates from kriging at each of the four points individually.

Page 6: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Kriging with secondary informationKriging can incorporate secondary information to aid the estimation process when the primary variable is sparsely sampled.

Secondary information that is physically related to the primary variable and measured at a high spatial density than the primary variable can aid in “filling in” spatial gaps during interpolation.

(hard information)

(soft information)

Examples: Primary Secondary

rainfall amount digital elevation model

particulate matter concentrations visibility measurements

zinc concentrations

seasonal rainfall (1970-1980) seasonal rainfall (1990-2000)

cadmium concentrations

Page 7: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Kriging with an external drift (KED)

A secondary variable related to the primary variable can be used to model the "drift", or trend, of the primary variable in the kriging estimation.

In areas without primary sampling sites, the secondary variable aids the estimate through a function relating the secondary to primary variable.

As the estimation location gets farther from available primary samples, the estimate approaches the drift value.

The secondary variable must vary smoothly in space and must be known at all estimation locations as well as all primary sampling locations. The function relating the secondary and primary variable must be linear.

Ozone measurements in Paris Air quality model grid

&

Ozone concentrations using KED

Page 8: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Cokriging

Cokriging is an extension of ordinary kriging that uses a high spatial resolution secondary variable network to improve the estimation of the primary variable. Like ordinary kriging, a variogram model is developed for the primary variable.

A second variogram model is developed for the secondary variableA third variogram model is generated from the cross correlation of the primary and secondary variables.

The secondary data is "transformed" to the scale of the primary variable in order to derive a cross variogram. The secondary data are then treated identically to the primary data during spatial estimation.

V Variogram U Variogram UV Cross-Variogram

All U and V points are paired, binned, and semi-variance calculatedV = Primary Data U = Secondary Data

Page 9: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Cokriging Example

Cokriging does not improve estimates much if

-- all the variogram models are very similar in shape

-- the secondary information is does not have a higher density than the primary information

Page 10: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Kriging Error Variance

2

1

1

m

jjl AvgErrorError

mErrV

jjj zzError ˆ

n

iiijj zwz

1

ˆand

2

1 1

1

m

jj

n

iiijj zzw

mErrV

Page 11: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Kriging Error

Factors influencing interpolation error:

1) Number of nearby samples

2) Proximity of nearby samples

3) Spatial arrangement of samples

4) Nature of phenomenon being estimated

Page 12: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Remove site from network (red circle)Obtain estimate at removed site location.

Interpolation Error = Estimated Value – Measured Value

Cross Validation

Cross Validation, a “jackknife technique”, provides a measure of interpolation error

Page 13: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Updates

ArcGIS now available for class use on the computer in Urbauer 319A

Plan is to have it available on two other machines in Cupples II first floor.

Reading for error and uncertainty lectures

Focus on Chapters 6 and 15 in Geographic Information Systems and Science, Longley et. Al

Optional: Chapter 9 in Principles of Geographical Information Systems, Burrough and McDonnell

Page 14: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Review for Exam

Exam will cover material from lecture 1 through today’s lecture

Exam questions will be based on problem sets, lecture slides, lab exercises, and the reading.

The exam questions will be a mix of:

-- multiple choice

-- match

-- short answer

-- equation-based calculations

Page 15: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Types of Attributes

• Nominal – Simply identifies or labels an entity so that it can be distinguished from another. e.g. sensor ID, building name (Lopata House vs. Lopata Hall)

– Cannot be manipulated using mathematical operations. However, frequency distributions are meaningful.

• Ordinal – Values based on an order or ranking, e.g. agricultural potential classes

– Cannot be manipulated using mathematical operations. However, frequency distributions are meaningful.

• Interval – Differences between entities are defined using fixed equal units, e.g. Celsius temperature

– Can be manipulated using addition and subtraction

• Ratio - Differences between entities can be defined using ratios, e.g. distance

– Can be manipulated using multiplication and division

• Cyclic - differences between entities depend on direction, e.g. wind direction

A common approach to classifying attributes is based on their level of measurement

Page 16: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Data Types

Entities and fields can be transformed to the other type

Vectors compared to rasters

Page 17: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Polygon Analysis Methods

• Filtering– Retrieves a subset of a dataset– Examples

• Query (search)

• Aggregation– Combines attributes or features within data sources (layers)– Examples

• Reclassify, dissolve

• Integration– Combine two or more data sources (layers) – Example

• Polygon Overlay (intersection, union, clip)

Page 18: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Slope is the change is elevation (rise) with a change in horizontal position (run).

It provides a measure of the steepest decent between a cell and its neighbors.

Slope is often reported in degrees (0° is flat, 90° is vertical) but is also expressed as a percent

Slope

Page 19: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Friction Surface

© Paul Bolstad, GIS Fundamentals

Page 20: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Coordinate Systems

A geographical coordinate system uses a three-dimensional spherical surface to define locations on the earth.

Divides space into orderly structure of locations.

Two types: cartesian and angular (spherical)

© Paul Bolstad, GIS Fundamentals

Page 21: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Projection Types

• Equal area – the ratio of areas on the earth and on the map are constant. Shape, angle, and scale are distorted.

• Conformal – the shape of any small surface of the map is preserved in its original form. If meridians and parallel lines are at 90-degree angles, then angles are also preserved.

• Equidistant - preserve distances between certain points. Scale is not maintained correctly, however, typically one or more lines has its scale maintained.

Three general types of projections:

Page 22: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Conceptualizing Projections

Projections can be conceptualized by the placement of paper on or around a globe.

The “location” of the paper is a factor in defining the projection. The paper can be either tangent or secant.

Page 23: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

G and F Function

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1 3 5 7 9

Bin

Fre

qu

en

cy

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1 4 7 10

Distance, d

G(d

)

G reflects how close together events are within a region while F indicates how distant events are from arbitrary locations

G(d)

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1 2 3 4 5 6 7 8

Distance, d

F(d

)

F(d)

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1 3 5 7 9 More

Bin

Fre

qu

ency

G(d) F(d)

Page 24: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

K Function

R

n

Nearest neighbor is limiting because only nearest distances are consideredThe K function uses all distances between events and provides a measure of spatial dependence over a wider range of scales.

n

ii hsCS

n

RhK

12

,#)(

Steps:

1) Center circles of radius h on each event, C(si,h)

2) Count the number of other events inside each circle

3) Calculate the mean count for all events

4) Divide the mean count by the overall area event density,

Page 25: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

K Function

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1 3 5 7 9

Bin

K(d

)

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1 3 5 7 9

Bin

K(d

)

Page 26: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

What about the edges?

Kernel Windows

© Paul Bolstad, GIS Fundamentals

Page 27: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Key Factors in Spatial Interpolation

Search Radius - sets the maximum distance at which a monitoring site is to be included for estimation.

Maximum Number of Stations - creates a flexible radius of influence. The radius adjusts itself to the number of available stations.

Minimum Number of Stations - prevents estimates from being made in areas with an inadequate number of stations.

Weighting Factor – determines the relative influence of each monitoring site in deriving an estimate

Page 28: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Declustering Methods

Cell-declustering of ozone monitoring sites in Missouri. The numbers in the corners of the grid cells indicate the number of stations within the grid cell. The weight assigned to stations within the grid cell is the inverse of the number of stations.

The polygon separation method uses an “area of influence.” Sites within clusters have small areas of influence while remote sites have large areas of influence.

Page 29: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

Variogram Attributes

Sill: the part of the fitted function that levels off indicating that there is no spatial dependence between data points because all estimates of variances of differences will be invariant with sample separation distance

Range is the distance at which the function reaches the sill. If the range is large, then long-range variation occurs over short distances. If the range is small, then major variations occur over short distances.

Nugget is the local variance attributable to measurement error or random error

Page 30: Spatial Interpolation III ENVE 424/524. Spatial Interpolation We can estimate the value of a variable at a location based on the values of that variable.

ArcGIS Main Components

ArcMap

ArcCatalog

ArcToolbox