Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 GEOG4650/5650 – Fall 2007 Spatial Interpolation Triangulation Inverse-distance Kriging (optimal interpolation)

Similar presentations


Presentation on theme: "1 GEOG4650/5650 – Fall 2007 Spatial Interpolation Triangulation Inverse-distance Kriging (optimal interpolation)"— Presentation transcript:

1 1 GEOG4650/5650 – Fall 2007 Spatial Interpolation Triangulation Inverse-distance Kriging (optimal interpolation)

2 2 What is “Interpolation”? Predicting the value of attributes at “unsampled” sites from measurements made at point locations within the same area or region Predicting the value outside the area - “extrapolation” Creating continuous surfaces from point data - the main procedures

3 3 Types of Spatial Interpolation Global or Local Global-use every known points to estimate unknown value. Local – use a sample of known points to estimate unknown value. Exact or inexact interpolation Exact – predict a value at the point location that is the same as its known value. Inexact (approximate) – predicts a value at the point location that differs from its known value. Deterministic or stochastic interpolation Deterministic – provides no assessment of errors with predicted values Stochastic interpolation – offers assessment of prediction errros with estimated variances.

4 4 Classification of Spatial Interpolation Methods Global DeterministicStochastic Local Deterministic Stochastic Thiessen (exact) Density estimation(inexact) Inverse distance weighted (exact) Splines (exact) Kriging (exact) Regression (inexact) Trend surface (inexact)

5 5 Global Interpolation use all available data to provide predictions for the whole area of interest, while local interpolations operate within a small zone around the point being interpolated to ensure that estimates are made only with data from locations in the immediate neighborhood. Trend surface and regression methods

6 6 Trend Surface Analysis Approximate points with known values with a polynomial equation. Math equation – you don’t want to know…. Local polynomial interpolation – uses a sample of known points, such as convert TIN to DEM

7 7 Local, deterministic methods Define an area around the point to be predicted finding the data points within this neighborhood choosing a math model evaluating the point

8 8 Thiessen Polygon (nearest neighbor) Any point within a polygon is closer to the polygon’s known point than any other known points. One observation per cell, if the data lie on a regular square grid, then Thiessen polygons are all equal, if irregular then irregular lattice of polygons are formed Delauney triangulation - lines joining the data points (same as TIN - triangular irregular network)

9 9 Thiessen polygons Delauney triangulation

10 10 Example data set soil data from Mass near the village of Stein in the south of the Netherlands all point data refer to a support of 10x10 m, the are within which bulked samples were collected using a stratified random sampling scheme Heavy metal concentration measured

11 11 Exercise: create Thiessen polygon for zinc concentration Create a new project Copy “classfiles\GEOG4650-Li\data\10- 24\Soil_poll.dbf” and add it to the project. After add the table into the project, you need to create an event theme based on this table Go to Tools > Add XY Data and make sure the “Easting” is shown in “X” and “Northing” is in “Y”. (Don’t worry the “Unknown coordinate” Click on OK then the point theme will appear on your project.

12 12 Exercise 1) Try to plot this point data based on Zinc concentration (Try “Graduate Color” and “Graduate Symbol”)

13 13 This is what you might see on screen

14 14 Create a polygon theme The next thing you need to do is provide the Thiessen polygon a boundary so that the computing of irregular polygons can be reasonable Use ArcCatalog to create a new shapefile and name it as “Polygon.shp” Add this layer to your current project. Use “Editor” to create a polygon.

15 15 Creating Polygon Theme

16 16 Notes: 1)Remember to stop Edits, otherwise your polygon theme will be under editing mode all the time 2)Remember to remove the “selected” points from the “Soil_poll_data.txt”. If you are done so, your Thiessen polygons will be based on the selected points only.

17 17 Thiessen Polygon from ArcToolBox In Arctoolbox | Analysis Tools | Proximity | Create Thiessen Polygon Make sure the soil_poll event is the Input Features and output to your own folder. Select “All” for Output Fields.

18 18 Result from Thiessen polygon

19 19 Create Thiessen Polygons from Spatial Analyst: Set Extent and Cell Size Go to “Spatial Analyst > Options” and click on tab and use “Polygon” as the “Analysis Mask”. If the Analysis Mask is not set, the output layer will have rectangular shape.

20 20 Thiessen Polygon from Spatial Analyst Select Spatial Analyst > Distance > Allocation. In “Assign to”, select “soil_poll Event” and click OK to create cell in temporary folder.

21 21

22 22 Vector vs Raster Results Polygons from “Analysis Tools” are vector polygons with attributes. Polygons from “Spatial Analyst” are raster polygons with same values inside of each polygon, required to be converted to vector and NO attributes..

23 23 Zinc Concentration Plot thiessen polygons using zinc concentrations from the attribute table. Before you plot the map, trim thiessen polygons based on polygon.shp.

24 24 Inverse Distance Weighted the value of an attribute z at some unsampled point is a distance-weighted average of data point occurring within a neighborhood, which compute: =estimated value at an unsampled point n= number of control points used to estimate a grid point k=power to which distance is raised d=distances from each control points to an unsampled point

25 25 Computing IDW 246X246X 6 4 2 Z 1 =40 Z 2 =60 Z 4 =40 Z 3 =50 Do you get 49.5 for the red square?

26 26 Exercise - generate a Inversion distance weighting surface and contour Spatial Analyst > Interpolate to Raster > Inverse Distance Weighted Make sure you have set the Output cell size to 50.

27 27 Contouring create a contour based on the surface from IDW Spatial Analyst | Surface Analysis | Contour

28 28 IDW and Contouring

29 29 Problem - solution Unsampled point may have a higher data value than all other controlled points but not attainable due to the nature of weighted average: an average of values cannot be lesser or greater than any input values - solution: Fit a trend surface to a set of control points surrounding an unsampled point Insert X and Y coordinates for the unsampled point into the trend surface equation to estimate a value at that point

30 30 Splines draughtsmen used flexible rulers to trace the curves by eye. The flexible rulers were called “splines” - mathematical equivalents - localized piece-wise polynomial function p(x) is

31 31 Spline - math functions piece-wise polynomial function p(x) is p(x)=p i (x) x i <x<x i+1 p j (x i )=p j (x i ) j=0,1,,,, i=1,2,,,,,,k-1 i+1 x0x0 xkxk x1x1 x k+1 break points

32 32 Spline r is used to denote the constraints on the spline (the functions p i (x) are polynomials of degree m or less r = 0 - no constraints on function

33 33 Exercise: create surface from spline have point data theme activated Spatial Analyst | Interpolate to Raster | Spline Define the output area and other parameters Select “Zn” for Z Value Field and “regularized” as type and “50” for Output cell size.

34 34 Kriging comes from Daniel Krige, who developed the method for geological mining applications Rather than considering distances to control points independently of one another, kriging considers the spatial autocorrelation in the data

35 35 Semivariance (  ) 1020304050 20 10 Z1Z2Z3Z4Z5Z1Z2Z3Z4Z5 2030354050 Zi = values of the attribute at control points h =multiple of the distance between control points n =number of sample points

36 36 Semivariance h=1,h=2h=3h=4 21.8891.67156.25312.50 (Z 1 -Z 1+h ) 2 (Z 2 -Z 2+h ) 2 (Z 3 -Z 3+h ) 2 (Z 4 -Z 4+h ) 2 sum 2(n-h) 100 25 175 8 225 100 425 6 400 225 625 4 625 2

37 37 semivariance the semivariance increases as h increases : distance increases -> semivariance increases nearby points to be more similar than distant geographical data

38 38 data no longer similar to nearby values h sill range

39 39 kriging computations we use 3 points to estimate a grid point again, we use weighted average =w 1 Z 1 + w 2 Z 2 +w 3 Z 3 = estimated value at a grid point Z 1,Z 2 and Z 3 = data values at the control points w 1,w 2, and w 3 = weighs associated with each control point

40 40 In kriging the weighs (wi) are chosen to minimize the difference between the estimated value at a grid point and the true (or actual) value at that grid point. The solution is achieved by solving for the wi in the following simultaneous equations w 1  ( h 11 ) + w 2  ( h 12 ) + w 3  ( h 13 ) =  ( h 1g ) w 1  ( h 12 ) + w 2  ( h 22 ) + w 3  ( h 23 ) =  ( h 2g ) w 1  ( h 13 ) + w 2  ( h 32 ) + w 3  ( h 33 ) =  ( h 3g )

41 41 w 1  ( h 11 ) + w 2  ( h 12 ) + w 3  ( h 13 ) =  ( h 1g ) w 1  ( h 12 ) + w 2  ( h 22 ) + w 3  ( h 23 ) =  ( h 2g ) w 1  ( h 13 ) + w 2  ( h 32 ) + w 3  ( h 33 ) =  ( h 3g ) Where  ( h ij )=semivariance associated with distance bet/w control points i and j.  ( h ig ) =the semivariance associated with the distance bet/w ith control point and a grid point. Difference to IDW which only consider distance bet/w the grid point and control points, kriging take into account the variance between control points too.

42 42 Example Z1(1,4)=50 Z2(2,1)=40 Z3(3,3)=25 Zg(2,2)=? 1 2 3 g 0 3.16 2.24 0 2.24 1.00 0 1.41 0 123g123g distance h   =10h w 1 0.00+w 2 31.6+w 3 22.4=22.4 w 1 31.6+w 2 0.00+w 3 22.4=10.0 w 1 22.4+w 2 22.4+w 3 0.00=14.1

43 43 =0.15(50)+0.55(40) + 0.30(25) = 37

44 44 Homework 6 – due next Friday midnight (11/2/07) See website


Download ppt "1 GEOG4650/5650 – Fall 2007 Spatial Interpolation Triangulation Inverse-distance Kriging (optimal interpolation)"

Similar presentations


Ads by Google