HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A coast is stored as a raster of 6 rows and 6 columns of cells, each 30 m by 30 m…
HardEarth and Environmental ScienceHigh School (11–12)Remote Sensing, GIS and Earth DataNumericalConceptual

A coast is stored as a raster of 6 rows and 6 columns of cells, each 30 m by 30 m…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A coast is stored as a raster of 666 rows and 666 columns of cells, each 30 m30\ \text{m}30 m by 30 m30\ \text{m}30 m. The heights in metres, row by row from the north, are the following. Row 1: 0.4, 0.9, 1.6, 2.8, 3.5, 4.1. Row 2: 0.7, 1.2, 2.4, 2.9, 3.1, 3.8. Row 3: 0.3, 1.9, 2.6, 3.2, 1.1, 3.3. Row 4: 0.6, 1.1, 1.7, 2.4, 0.9, 2.9. Row 5: 0.5, 0.8, 1.3, 2.2, 3.0, 3.6. Row 6: 0.2, 0.6, 1.5, 2.7, 3.4, 4.0. The sea lies to the west of the first column. Water spreads only from a flooded cell to a neighbour that shares an edge with it. (a) How many cells are at or below 2.0 m2.0\ \text{m}2.0 m? (b) How many of them does a sea level of 2.0 m2.0\ \text{m}2.0 m reach? (c) What area do the reached cells cover, in hectares? (d) By how many hectares does counting all the low cells overstate the flooding? (e) Between 1.0 m1.0\ \text{m}1.0 m and 4.0 m4.0\ \text{m}4.0 m, what is the lowest level, in steps of 0.1 m0.1\ \text{m}0.1 m, at which every low cell is reached?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

ha
ha
m
Need a reminder? The key ideaShowHide

The shoelace formula gives the area of a polygon from its corners in metres. The buffer of a convex polygon has the area A+Pd+πd2A + Pd + \pi d^2A+Pd+πd2. A cell of column jjj and row iii has its centre at E0+(j+12)sE_0 + (j + \tfrac{1}{2})sE0​+(j+21​)s and N0−(i+12)sN_0 - (i + \tfrac{1}{2})sN0​−(i+21​)s. An affine transformation has the form E=a+bj+ciE = a + bj + ciE=a+bj+ci, N=d+ej+fiN = d + ej + fiN=d+ej+fi. The slope has tan⁡θ=zx2+zy2\tan\theta = \sqrt{z_x^2 + z_y^2}tanθ=zx2​+zy2​​.

The worked solution

Check an answer or open a hint to unlock the worked solution.

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The low cells. By rows there are 3, 2, 3, 4, 3, 3 cells of 2.0 m2.0\ \text{m}2.0 m or lower, so 181818 cells.

Step 2. The cells reached. Start from the west column. The sea spreads along rows 1, 2, 4, 5 and 6, and up through 1.91.91.9 in row 3. The two cells of 1.11.11.1 and 0.90.90.9 in the east of rows 3 and 4 have walls of 3.13.13.1, 3.23.23.2, 3.33.33.3, 2.42.42.4, 2.92.92.9 and 3.03.03.0 round them. The sea cannot get there. So it reaches 161616 cells.

Step 3. The area. 16×900 m2=14 400 m2=1.44 ha16 \times 900\ \text{m}^2 = 14\,400\ \text{m}^2 = 1.44\ \text{ha}16×900 m2=14400 m2=1.44 ha.

Step 4. The overstatement. The two walled-in cells have an area of 1800 m2=0.18 ha1800\ \text{m}^2 = 0.18\ \text{ha}1800 m2=0.18 ha.

Step 5. The level. The two cells can be reached when a path of cells at or below the level connects them to the sea. The weakest wall is the cell of 2.4 m2.4\ \text{m}2.4 m in row 4, which joins them to the cell of 1.71.71.7. So the lowest level is 2.4 m2.4\ \text{m}2.4 m.

Answer: 181818 cells; 161616 cells; 1.44 ha1.44\ \text{ha}1.44 ha; 0.18 ha0.18\ \text{ha}0.18 ha; 2.4 m2.4\ \text{m}2.4 m.

Watch out. A map of flooded cells made by a simple threshold shows ponds that the sea cannot fill. For a real hazard map, a river or a pump, or a drain, can fill a pocket as well.

Log in to save this for later
← All Problems
← A scanned map has pixels counted by column j and row i from its top left corner…A height raster has cells 30 m apart. Around one cell the heights in metres are, from the… →
More onRemote Sensing, GIS and Earth Data

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Vector layers and raster layersGIS: Coordinates, Projections and Map Layers

More on this topic

  1. Six yearly values of a quantity, for x = 0, 1, …, 5, are 2.1, 2.9, 3.4, 4.6, 4.9 and 6.0…Advanced
  2. After the monsoon ends, the discharge of a river, in m³/s, was measured every five days from day 0…Hard
  3. A mixed layer of sea water is 100 m deep…Advanced
The annual mean carbon dioxide at Mauna Loa was 316.91 ppm in 1960 and 414.24 ppm in 2020…Hard
  • The yearly global temperature anomalies of a ten-year period, in °C, are: 0.56, 0.61, 0.59, 0.54…Advanced
  • All problems on this topic →