Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Spatial Analysis

Assignment

Submitted To:
Miss Aeman Samad
Submitted By:
409-BH-GEOG-17
Hira Khalid
Semester 6

Government College, Lahore


Question no.1
For the following raster dataset compute 1 2 2 2 2 2 4 8
1) Generate Directional raster (all types) 2 2 2 1 1 1 2 4
2 2 2 2 2 2 4 8
2) Flow accumulation raster
2 4 2 2 2 4 8 8
1 2 1 1 2 4 8 4
128 1 128 128 2 2 4 8
2 4 2 2 2 2 4 8
1 4 1 1 1 1 4 16

Answer:
Flow Direction Raster

Flow Accumulation Raster


0 1 0 0 0 0 0 0

0 0 2 1 3 5 9 0

0 1 1 3 0 0 0 11

0 1 2 2 4 1 14 0

0 4 0 6 17 22 1 0

0 0 7 0 0 43 0 1

0 0 0 0 0 1 47 0

0 3 0 2 4 6 63 0
Question no.2

For the following raster perform spread


18 12 18 12 19 11 18 19
computation? (highlighted starting point)
14 17 14 17 16 19 16 10
18 12 18 12 19 11 18 19
14 17 14 17 16 19 16 10
19 15 19 13 14 17 18 18
14 18 14 18 15 12 11 14
18 11 18 11 17 11 16 19
14 13 14 13 14 12 11 12

Answer:
Spread Computation 153.7 128.48 126.1 120.72 124.43 117.79 103.7 105.5

121.07 129 110.10 106.22 106.93 107.86 98.7 91

117.69 102.69 104.3 91.72 89.43 96.2 81.7 76.5

112.32 99.81 84.31 79.6 71.93 70.99 64.7 62

108.82 91.82 81.22 65.22 57.7 52.99 47.7 48

98.34 87.32 71.32 61.93 45.43 39.4 33.2 32

95.17 80.67 68.15 53.65 41.05 27.05 19.7 15.5

90 76.5 63 49.5 36 23 11.5 0

You might also like