Download presentation
Presentation is loading. Please wait.
Published byJacob O’Neal’ Modified over 9 years ago
1
Lecture 5 Raster Data Analysis
2
2015-10-19 2 Introduction Analysis with raster data is simple and efficient for it’s feature based on position Analysis with raster data is simple and efficient for it’s feature based on position Analysis with raster data can be in a single, group, cell Analysis with raster data can be in a single, group, cell The algorithm in raster data analysis is different from that in vector data The algorithm in raster data analysis is different from that in vector data
3
2015-10-19 3 Environment Range Range specific grid give specific grid give region by max and min coordinate region by max and min coordinate cell combined cell combined merge intersection mask grid mask grid Input grid Input grid More than or equal to the input grid size
4
2015-10-19 4 Local function Single cell Single cell Not related to neighbor cell Not related to neighbor cell No effected by neighbor cell No effected by neighbor cell New grid New grid
5
2015-10-19 5 Mask grid A region that exclude no data cell A region that exclude no data cell Data query and reclassification Data query and reclassification No data is not zero volume in cell, zero is efficient data, the region which is no data is lack of data No data is not zero volume in cell, zero is efficient data, the region which is no data is lack of data
6
2015-10-19 6 Local function (Cont.) Arithmetic operation Trigonometric function logarithm power U= f (A, B,…) A A B C U U
7
2015-10-19 7 Local function (Cont.) Numerical data Numerical data max, min max, min mean, sum mean, sum standards derritations valuefield standards derritations valuefield measure measure majority majority minority minority variety variety
8
2015-10-19 8 Local function (Cont.): Combination 321 212 123 324 324 241 136 245 457 1: 0-20% 2: 20%-40% 3: >40% North: 1 East : 2 South : 3 West : 4 Combine code Slope and aspect 1 3,33,3 2 2,32,3 3 2,22,2 4 1,21,2 5 2,42,4 6 1,41,4 7 3,13,1
9
2015-10-19 9 Local function in ArcView Cell statistics Map calculator
10
2015-10-19 10 Application of local function in raster data Universal soil loss equation (USLE) Universal soil loss equation (USLE) A = R K L S C P A : average loss of soil 平均土壤流失量; R : rainfall intensity K :土壤可蚀性 L : length S : slope C : cultivation factor P : preserve measure in water and soil
11
2015-10-19 11 Neighborhood function Method involving a square window over the surface and computing a new value of the central cell of the window Method involving a square window over the surface and computing a new value of the central cell of the window Elements of neighborhood functions Elements of neighborhood functions central point central point size and shape of neighborhood size and shape of neighborhood function function Only in single layer Only in single layer Moving windows scan all cells Moving windows scan all cells
12
2015-10-19 12 Neighborhood function: size and shape of neighbor
13
2015-10-19 13 Functions of neighbor operation statistics max, min max, min mean, sum mean, sum standards derritations valuefield standards derritations valuefieldmeasure majority majority minority minority variety variety
14
2015-10-19 14 Application of neighbor operation: data smooth
15
2015-10-19 15 Application of neighbor operation: variety
16
2015-10-19 16 Loop pass filter Application of neighbor operation: filter High pass filter
17
2015-10-19 17 Application of neighbor operation: terrain analysis on DEM
18
2015-10-19 18 Distance measurement Calculate distance from the given grid cell to source cell Calculate distance from the given grid cell to source cell same layer same layer global and extend neighbor operation global and extend neighbor operation Type of distance Type of distance nature distance nature distance cost distance cost distance
19
2015-10-19 19 Distance measurement: rules 1.414 X Grid Cell Grid Cell
20
2015-10-19 20 Distance measurement: nature distance Unit is grid size Unit is grid size Types Types Application in ArcView Application in ArcView Continuous : Find Distance Continuous : Find Distance neatest : Assign proximity neatest : Assign proximity
21
2015-10-19 21 Nature distance measurement
22
2015-10-19 22 Cost distance measurement
23
2015-10-19 23 Cost distance measurement (Cont.) Source matrix, cost matrix and link cost matrix Source matrix, cost matrix and link cost matrix Constitution of cost matrix Constitution of cost matrix sum of different costs sum of different costs Link cost matrix calculation Link cost matrix calculation horizontal: mean horizontal: mean diagonal: meanX1.414 diagonal: meanX1.414
24
2015-10-19 24 Cost distance measurement (Cont.): link cost matrix calculation 1212 1415 2367 1344 21 2 415 367 3 36 5.7 4.5 4.9 3.54.2
25
2015-10-19 25 Cost distance measurement (Cont.) Aim: to find minimum accumulative cost path Aim: to find minimum accumulative cost path Method: loop Method: loop Example: Example: Source matrix Source matrix Cost matrix Cost matrix Link matrix Link matrix Assign matrix Assign matrix Output matrix Output matrix
26
2015-10-19 26 Minimum accumulative cost measurement B A 1212 1415 2367 1344 Source matrix Cost matrix
27
2015-10-19 27 Minimum accumulative cost measurement (Cont.) 3 1212 1 415 267 1344 2.8 3 4.9 2.55 3.55.7 2.8 Link matrix
28
2015-10-19 28 Minimum accumulative cost measurement (Cont.) 1.5B 4.21 1.52.8 A2 1 1.5 2.0 2.8 4.2 1212 1415 2367 1344
29
2015-10-19 29 Minimum accumulative cost measurement (Cont.) 1.5B 4.21 1.52.86.74.5 A2 4 1 1.5 2.0 2.8 4.2 1.5 2.0 2.8 4.0 6.7 4.5 1212 1415 2367 1344
30
2015-10-19 30 Minimum accumulative cost measurement (Cont.) 3.51.5B 35.74.01 1.52.86.74.5 A2 1.5 2.0 2.8 4.0 4.5 6.7 2.0 2.8 4.0 5.7 4.5 6.7 3.0 3.5 1212 1415 2367 1344
31
2015-10-19 31 Minimum accumulative cost measurement (Cont.) 3.51.5B 35.74.01 1.52.86.74.5 A25.5 2.8 4.0 5.7 4.5 6.7 3.0 3.5 1212 1415 2367 1344 2.0 2.8 4.0 5.7 4.5 6.7 3.0 3.5 5.5
32
2015-10-19 32 Minimum accumulative cost measurement (Cont.) 3.51.5B 35.74.01 1.52.86.74.5 A25.5 2.8 4.0 5.7 4.5 6.7 3.0 3.5 1212 1415 2367 1344 5.5 4.0 5.7 4.5 6.7 3.0 3.5 5.5
33
2015-10-19 33 Minimum accumulative cost measurement (Cont.) 43.51.5B 35.74.01 1.52.86.74.5 A25.5 1212 1415 2367 1344 4.0 5.7 4.5 6.7 3.0 3.5 5.5 4.0 5.5 4.5 6.7 3.5 5.5
34
2015-10-19 34 Minimum accumulative cost measurement (Cont.) 43.51.5B 35.74.01 1.52.86.74.5 A25.59.5 311B 3517 3487 A557 1 2 3 4 5 6 7 8 Minimum accumulative cost matrix Cell assign matrix
35
2015-10-19 35 Minimum accumulative cost in ArcView CostDistance: aGrid.CostDistance aGrid.CostDistance (costGrid,DirectionFN, allocationFN, maxDistance) (costGrid,DirectionFN, allocationFN, maxDistance)CostPath aGrid.CostPath aGrid.CostPath (distanceGrid, directionGrid, ByZone) (distanceGrid, directionGrid, ByZone)
36
2015-10-19 36 Zonal Zonal function operats on properties of the region (or zone) to which a give cell beloges Zonal function operats on properties of the region (or zone) to which a give cell beloges These properties might be These properties might be length area or shape length area or shape number of location having a certain attribute value on one grid that occurs within the area define by a region on another grid number of location having a certain attribute value on one grid that occurs within the area define by a region on another grid
37
2015-10-19 37 Zonal function in ArcView Single grid Single grid Map Calculator Map Calculator aGrid.ZonalGeometry (aGridGeomDescEnum) aGrid.ZonalGeometry (aGridGeomDescEnum) Area of a zone: Area of a zone: #GRID_GEOMDESC_AREA #GRID_GEOMDESC_AREA Perimeter of a zone: #GRID_GEOMDESC_PERIMETER Perimeter of a zone: #GRID_GEOMDESC_PERIMETER Thickness of a zone : Thickness of a zone : #GRID_GEOMDESC_THICKNESS #GRID_GEOMDESC_THICKNESS Characteristics of an ellipse that is fit to a zone : Characteristics of an ellipse that is fit to a zone : #GRID_GEOMDESC_CENTROID #GRID_GEOMDESC_CENTROID Only be useful to reclassify raster data Only be useful to reclassify raster data Requirement outcome of function is to return a corresponding parameter grid Requirement outcome of function is to return a corresponding parameter grid
38
2015-10-19 38 Zonal function in ArcView (Cont.)
39
2015-10-19 39 Zonal function in ArcView (Cont.) Multilayer Multilayer Input: statistics of grid data, 分带格网 Output: classify table, histogram, area statistics Steps: Summarize Zones Summarize Zones Histogram by Zone Histogram by Zone Tabulate Area Tabulate Area
40
2015-10-19 40 Zonal function in ArcView (Cont.) According to drainage area to stat. rainfall
41
2015-10-19 41 Zonal function in ArcView (Cont.)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.