Module 12/20 · Weeks 9 · 7 h

Rapid mapping from drone imagery

UAT 460 UAS for Public Safety, Search and Rescue, and Emergency Management

About 90 minDraft, awaiting reviewLast updated 24 October 2026

Lesson

By the end of this module you will be able to

  1. Explain the products of a rapid-mapping service (reference, first estimate, delineation, grading, situational report) and choose the products a drone team can deliver before the decision-maker's deadline
  2. Design a rapid-mapping flight from ground sampling distance (GSD), line spacing and overlap, and compute the number of sorties for an area
  3. Lay out flight and processing as one pipeline, find the bottleneck, and choose between a fast orthophoto and full quality
  4. Map the extent of floodwater from a water index with the Otsu threshold, check commission and omission errors, and report accuracy with a confidence interval

Prerequisites: Module 11 The disaster management cycle and UAS roles before, during and after disasters · UAT 451 UAS Technology for Surveying, Mapping and Photogrammetry (recommended)

Why this matters

On day 1 at 07:30 the Phuwari provincial incident command centre asks for a map of the three villages surrounded by water (Ban Khok Sa-at, Ban Nong Yang and Ban Khlong Tan, fictional names), 3.2 km² in all, by 14:00, so that it can decide which village the first boats go to. The request sounds simple, but three things can make a team miss the deadline. The first is flying too little, so the area is incomplete, or flying more detail than needed, so the map is late. The second is forgetting that most of the time is spent not in the aircraft but on the computer that processes the images. The third is sending a map that looks good but does not say which images it came from, how fine it is, and how wrong it may be, so the decision-maker uses it beyond what the data support.

This module teaches rapid mapping from designing a flight that fits the deadline, through scheduling the whole pipeline, to extracting the water extent from images and reporting accuracy honestly. All data are assumed values for the Phuwari flood case. The mission must be flown under the CAAT conditions prepared in module 11 (flying over villages needs permission to operate differently from the conditions), and detailed emergency mission planning is the subject of modules 16–20 of this course.

Products of rapid mapping

The Copernicus Emergency Management Service provides geospatial information “within hours or days” (European Commission, n.d.) and divides its products by the question each one answers (European Commission, n.d.). A drone team can borrow the idea, because decision-makers do not need the same “map” at every moment.

ProductQuestion it answersDrone team delivers
ReferenceWhat did the area and its assets look like before the event?Baseline map made in advance (orthomosaic and DSM)
First estimateRoughly where is the impact, as fast as possible even if coarse?Quick-look mosaic
DelineationWhich area does the event affect and how large is it?Water extent as a polygon with its area
GradingWhat damage grade, and how is it distributed?Damage grade per building (module 13)
Situational reportEverything summarised on one pageStatus sheet with time, source and limits (module 15)

The service’s source describes the first estimate as aiming at extremely fast information even if rough, delineation as assessing the impact and extent from images acquired soon after the event, and grading as giving the damage grade and its spatial distribution. The reference product is the only pre-event product and is offered only for activations outside Europe, and the online situational report starts within 4 hours of the start of an activation and is updated throughout it (European Commission, n.d.). The lesson to remember is that a fast product and a detailed product are different things, and the recipient must be told which one they hold.

Five boxes from left to right joined by arrows. The top row shows the products of the Copernicus rapid-mapping service: reference before the event, first estimate in hours, delineation of the event extent, grading of damage, and the online situational report. Arrows point down to the bottom row, what a drone team delivers at the same level: baseline orthomosaic and DSM, quick-look mosaic, water extent as polygons, damage grade per building, and a status sheet with time, source and limits. Under each box the module is shown: module 2 for the first three, module 3 for the fourth and module 5 for the last.
Figure 1 Products of a rapid-mapping service and the equivalents a drone team delivers

Two basic products come from drone work. An orthomosaic is an image stitched from hundreds of photographs and adjusted so that the view is straight down, so distances and areas can be measured on it. A digital surface model (DSM) is the height of the top surface the camera sees, including roofs and trees, and is used to compute water depth and volumes (module 13). Both come from structure-from-motion processing in photogrammetry software such as OpenDroneMap, which has a fast-orthophoto option that skips dense 3D reconstruction and generates the orthophoto directly from the sparse reconstruction, suitable when only the orthophoto is needed (OpenDroneMap Authors, n.d.). This option is the key to Example 2.

Designing the flight to meet the deadline

Ground sampling distance (GSD) is the distance on the ground that corresponds to one pixel. It follows from the pixel size on the sensor , the flying height and the focal length as (Pix4D, n.d.). The ground footprint of one image is across the flight direction and along it, where and are the sensor width and height. The side overlap sets the line spacing , and the forward overlap sets the shot spacing .

One constraint is often forgotten. The camera can shoot no more often than a fixed interval (assumed 2 seconds), so the maximum speed is divided by that interval. High forward overlap means a short shot spacing and slower flight; high side overlap means closer lines. Both reduce the area per sortie, so a high-overlap plan uses more sorties.

Example 1 Three overlap plans for the three villages, 3.2 km²

The camera has a 1-inch sensor 13.2 mm wide and 8.8 mm high with 5,472 pixels across (20 MP, assumed) and an 8.8 mm lens, flown at 90 m, the maximum height under the general CAAT conditions, at no more than 10 m/s, with 25 usable minutes per sortie and 80% efficiency (turns cost time). Try three plans: standard (80% forward, 70% side), balanced (75% and 65%) and rapid (70% and 55%) and see how many sorties each needs.

import math

# camera (1-inch sensor, 20 MP, assumed) and flight limits
SENSOR_W, SENSOR_H, FOCAL = 13.2e-3, 8.8e-3, 8.8e-3     # m
PX_W = 5472
PITCH = SENSOR_W / PX_W                                 # m per pixel on the sensor

def design(h, fwd, side, speed=10.0, min_interval=2.0, usable_min=25, eta=0.8):
    gsd = PITCH * h / FOCAL                             # ground sampling distance, m
    foot_w, foot_h = SENSOR_W / FOCAL * h, SENSOR_H / FOCAL * h
    spacing = foot_w * (1 - side)                       # distance between flight lines, m
    shot = foot_h * (1 - fwd)                           # distance between photos along a line, m
    v = min(speed, shot / min_interval)                 # camera cannot shoot faster than min_interval
    dist = usable_min * 60 * v * eta                    # useful line length per sortie, m
    return dict(gsd=gsd, spacing=spacing, shot=shot, v=v, area=dist * spacing, images=dist / shot)

BLOCK_KM2 = 3.2                                         # three isolated villages
plans = {"standard 80/70": (0.80, 0.70), "balanced 75/65": (0.75, 0.65), "rapid 70/55": (0.70, 0.55)}
for name, (fwd, side) in plans.items():
    d = design(90, fwd, side)
    n = math.ceil(BLOCK_KM2 * 1e6 / d["area"])
    print(f"{name}: GSD {d['gsd'] * 100:.2f} cm, line spacing {d['spacing']:.2f} m, shot every {d['shot']:.1f} m "
          f"at {d['v']:.1f} m/s, {d['area'] / 1e6:.3f} km2 and {d['images']:.0f} images per sortie -> {n} sorties for {BLOCK_KM2} km2")
standard 80/70: GSD 2.47 cm, line spacing 40.50 m, shot every 18.0 m at 9.0 m/s, 0.437 km2 and 600 images per sortie -> 8 sorties for 3.2 km2
balanced 75/65: GSD 2.47 cm, line spacing 47.25 m, shot every 22.5 m at 10.0 m/s, 0.567 km2 and 533 images per sortie -> 6 sorties for 3.2 km2
rapid 70/55: GSD 2.47 cm, line spacing 60.75 m, shot every 27.0 m at 10.0 m/s, 0.729 km2 and 444 images per sortie -> 5 sorties for 3.2 km2

All three plans give the same 2.47 cm GSD because the height is the same; they differ in the number of sorties. The standard plan must slow to 9.0 m/s because an 18 m shot spacing must not be shorter than the camera can keep up with, so it needs 8 sorties. The balanced plan needs 6 sorties and matches the 0.567 km² per sortie of module 11. The rapid plan needs 5 sorties, one fewer, but the lower overlap makes it harder for the software to match image points, especially over smooth water, which has almost no texture. Flood scenes are therefore riskier than scenes on land. This team chooses the balanced plan as the main plan, and the rapid plan should be tested on a similar area beforehand, not tried for the first time on the day of the disaster.

From aircraft to map: the pipeline timeline

A landed sortie is not finished work. The images must be copied from the memory cards, fed to the processing machine, stitched into an orthophoto, checked and published. The total time is a sum of several parts like the formula of module 11, but here the processing part is usually the longest, and the images of the first sortie can be processed as soon as it lands, without waiting for the last one, if the software supports tiled processing.

Example 2 Three processing plans for the six-sortie balanced plan

Use the balanced plan of Example 1 (6 sorties, 533 images each). The team has two aircraft and takes off at 08:30 (one hour after the request, assumed), flies 25 minutes per sortie, needs 10 minutes to swap batteries and 5 minutes to copy images, and then queues for processing. Processing speeds are assumed: a fast orthophoto (no dense 3D model) at 20 images per minute and full quality at 6 images per minute. After processing, publishing and a first check take another 20 minutes. Compare three cases with the 14:00 deadline.

def finish_minutes(n_sorties, images_per_sortie, rate, machines, aircraft=2, flight=25, swap=10, transfer=5, publish=20):
    """Minutes after the first take-off at which the map is published; tiles are processed as they land."""
    cycle = flight + swap
    arrivals = sorted((k // aircraft) * cycle + flight + transfer for k in range(n_sorties))
    free = [0.0] * machines                              # time each machine becomes free
    for t in arrivals:
        i = free.index(min(free))
        free[i] = max(free[i], t) + images_per_sortie / rate
    return max(free) + publish, arrivals[-1] - transfer

d = design(90, 0.75, 0.65)
n = math.ceil(BLOCK_KM2 * 1e6 / d["area"])
START_H, START_M = 8, 30                                 # first take-off 08:30
def clock(m):
    t = START_H * 60 + START_M + round(m)
    return f"{t // 60:02d}:{t % 60:02d}"
cases = [("full quality, 1 workstation", 6, 1), ("fast orthophoto, 1 workstation", 20, 1), ("fast orthophoto, 2 workstations", 20, 2)]
for label, rate, machines in cases:              # rate = images per minute (assumed)
    fin, last_land = finish_minutes(n, d["images"], rate, machines)
    verdict = "meets 14:00" if START_H * 60 + START_M + fin <= 14 * 60 else "misses 14:00"
    print(f"{label:<34} last landing {clock(last_land)}, map published {clock(fin)}  {verdict}")
full quality, 1 workstation        last landing 10:05, map published 18:13  misses 14:00
fast orthophoto, 1 workstation     last landing 10:05, map published 12:00  meets 14:00
fast orthophoto, 2 workstations    last landing 10:05, map published 10:57  meets 14:00

The last sortie lands at 10:05 in every case, but the map is published at 18:13, 12:00 and 10:57. The bottleneck is processing, not flying. Full quality on one machine misses the deadline by almost four and a half hours; the fast orthophoto on one machine delivers at 12:00, two hours early, and a second machine saves over an hour more. The practice that follows is to send the quick-look mosaic as version 1 on time, labelled as a fast image not yet fully checked, and send the full-quality version 2 afterwards, keeping the version number so the recipient knows the new one replaces the old (see module 15). Adding processing computers, or cloud machines, which raise the question of data leaving your own machines, cuts time without flying more.

Timeline chart with four rows on a time axis from 08:30 to 18:30. A dashed pink line at 14:00 is the deadline. Rows one and two are aircraft 1 and 2, each flying three 25-minute sorties finishing at 10:05. Row three is the fast orthophoto on one workstation processing the six sorties back to back and publishing at 12:00, before the deadline line. Row four is full quality on one workstation, six long boxes in a row ending at 18:13, well past the deadline line.
Figure 2 Flight and processing schedule for the rapid map of three villages, three ways

Water extent from images: index, threshold and error

The delineation product of a flood is a polygon showing where there is water. The basic method is to compute a water index that is high for water and low for land, then cut it with a threshold. A well-known index is NDWI , which needs a near-infrared band (McFeeters, 1996). If the drone carries only an ordinary colour camera, use a classifier trained on colour or draw the extent by hand; the accuracy assessment below applies in the same way. Otsu’s threshold picks the cut automatically from the histogram by finding the that maximises the between-class variance (Otsu, 1979), and it works well when the histogram has two well-separated peaks.

The problem is that real histograms rarely separate cleanly. Wet fields and shadows on land have values close to water, and sun glint on the water surface looks like land. Any threshold therefore makes two kinds of error: commission, land called water, and omission, water that is missed (Congalton, 1991). They cost the decision-maker differently: commission sends boats to places without water, omission misses households that need help. The data in the next example are a synthetic image whose true answer is known in advance (water is about 38% of the scene), so that you can see how the accuracy measures work.

Example 3 Otsu threshold and the errors of a water extent

A mosaic of 600 m × 800 m resampled to 0.5 m per pixel has a synthetic water index in which some values overlap (6% of the land looks like water and 3% of the water looks like land). Find the threshold with Otsu, compare the mapped area with the true one, see what happens when the threshold shifts either way, and estimate accuracy from 200 random reference points, as can be done in the field, with the confidence interval of the Wilson method (Wilson, 1927).

import numpy as np
from scipy.ndimage import gaussian_filter

rng = np.random.default_rng(479)
H, W, PIX = 1200, 1600, 0.5                              # mosaic resampled to 0.5 m: 600 m x 800 m
field = gaussian_filter(rng.normal(size=(H, W)), 90)
truth = field > np.quantile(field, 0.62)                 # synthetic "true" water mask, about 38% of the scene

# water index W (for example NDWI = (G - NIR) / (G + NIR)): water high, land low, two confusing classes
index = np.where(truth, rng.normal(0.35, 0.12, (H, W)), rng.normal(-0.30, 0.15, (H, W)))
confuse_land = (~truth) & (rng.random((H, W)) < 0.06)    # wet fields and shadow on land look like water
index[confuse_land] = rng.normal(0.10, 0.08, confuse_land.sum())
glint = truth & (rng.random((H, W)) < 0.03)              # sun glint on water looks like land
index[glint] = rng.normal(-0.10, 0.08, glint.sum())

def otsu(values, bins=256):
    hist, edges = np.histogram(values, bins=bins)
    p = hist / hist.sum()
    centers = (edges[:-1] + edges[1:]) / 2
    w0 = np.cumsum(p); w1 = 1 - w0
    m0 = np.cumsum(p * centers) / np.where(w0 > 0, w0, 1)
    m1 = (np.sum(p * centers) - np.cumsum(p * centers)) / np.where(w1 > 0, w1, 1)
    return centers[np.argmax(w0 * w1 * (m0 - m1) ** 2)]

t = otsu(index.ravel())
mapped = index > t
pixel_area = PIX ** 2
print(f"Otsu threshold {t:.3f}")
print(f"true water {truth.sum() * pixel_area / 1e4:.1f} ha, mapped water {mapped.sum() * pixel_area / 1e4:.1f} ha")
tp = (mapped & truth).sum(); fp = (mapped & ~truth).sum(); fn = (~mapped & truth).sum(); tn = (~mapped & ~truth).sum()
print(f"commission {fp / mapped.sum():.1%} (land called water), omission {fn / truth.sum():.1%} (water missed)")
for dt in (-0.10, 0.10):
    a = (index > t + dt).sum() * pixel_area / 1e4
    print(f"threshold {t + dt:+.3f}: mapped water {a:.1f} ha")

# check with 200 random reference points (visited or read from higher-resolution images)
n = 200
ys, xs = rng.integers(0, H, n), rng.integers(0, W, n)
agree = (mapped[ys, xs] == truth[ys, xs]).sum()
z = 1.96; ph = agree / n
centre = (ph + z * z / (2 * n)) / (1 + z * z / n)
half = z * np.sqrt(ph * (1 - ph) / n + z * z / (4 * n * n)) / (1 + z * z / n)
print(f"reference points {n}: {agree} agree, accuracy {ph:.1%}, 95% Wilson interval {centre - half:.1%} to {centre + half:.1%}")
Otsu threshold 0.011
true water 18.2 ha, mapped water 19.8 ha
commission 10.5% (land called water), omission 3.0% (water missed)
threshold -0.089: mapped water 21.9 ha
threshold +0.111: mapped water 18.2 ha
reference points 200: 183 agree, accuracy 91.5%, 95% Wilson interval 86.8% to 94.6%

The Otsu threshold is 0.011. The map gives 19.8 ha of water against a true 18.2 ha, 1.6 ha too much (about 9%), because commission is much higher than omission (10.5% against 3.0%). This is what the decision-maker should know: the map “over-estimates water”, and the places the boat teams should doubt are the wet fields at the edge. Shifting the threshold down by 0.10 raises the area to 21.9 ha, nearly 20% above the truth. Shifting it up by 0.10 gives 18.2 ha, very close to the truth, but that is luck: the two kinds of error cancel, which does not make the threshold better. Never choose a threshold by comparing with the same answer you use to report accuracy. The 200 random reference points agree at 183, an accuracy of 91.5% with a 95% confidence interval of 86.8% to 94.6%. The recipient should receive the full sentence, “Water extent from imagery of 15 September 12:00, accuracy about 92% (87 to 95%), over-estimates water in wet fields and shadow”, not just a polygon.

Two overlaid histograms of a water index from minus 0.8 to 0.8. The orange one is true land, peaking near minus 0.3. The blue one is true water, peaking near 0.35. The two overlap slightly between minus 0.1 and 0.2. A thick vertical pink line at 0.01 is the Otsu threshold, and two dashed gold lines at minus 0.09 and 0.11 are the threshold shifted either way.
Figure 3 Water-index histograms of true water and true land with the Otsu threshold

What else a map must say

A good rapid map always carries its label: when the images were taken (date, time and time zone), who took them and with which sensor, the GSD, the coordinate system and how positions were referenced (whether independent checkpoints were used, see UAT 451), the area covered, the extraction method, the accuracy with its confidence interval, known limits (for example water under trees is not seen, shadow, glint), the version number and who checked it. This is not ceremony. Decision-makers are usually not imagery experts and will use the map beyond what the data support unless the label warns them. A rapid map is still supporting data for the director, not the legal survey under section 30 that you met in module 11.

Module lab

Lab: a rapid map of the practice area

  1. Put the camera and aircraft figures of your department into the design function of Example 1. Compute three overlap plans for a 0.5 km² practice area (use the height you will really fly, no more than 90 m) and choose one with a reason.
  2. Field (daytime, within visual line of sight, no higher than 90 m under the general CAAT conditions, at the distance from uninvolved people that the notification requires, with a safety officer): fly the chosen plan over a practice area of about 0.1 km² and time take-off, landing and the copying of images.
  3. Process the same image set twice, with default settings and with the fast-orthophoto option of OpenDroneMap (or equivalent software), and time each run. Find the images per minute your own machine achieves.
  4. Put your measured values in place of the assumed ones in Example 2 and build the timeline for 3.2 km²: when could your machine deliver the quick-look map and the full version?
  5. Take two images of a pond or pool in the practice area (or the set your instructor provides), compute a water index, find the threshold with the Otsu code, draw 100 random reference points checked by eye, and write the result as a full sentence with confidence interval and limits.

Common mistakes

Watch out

  • Counting only flight time, when Example 2 shows processing is the bottleneck. Measure your own machine’s processing speed before the day of the disaster.
  • Sending the quick image without a label, so the recipient assumes it is a checked product. Always state version, time and limits.
  • Cutting overlap too far to save sorties, so the software cannot stitch the images over water. Test the plan before using it.
  • Reporting the area as a single number without commission, omission and a confidence interval.
  • Choosing the threshold from the same answer used to report accuracy, which makes accuracy look better than it is. Checkpoints must be independent of the choice.
  • Using one threshold for every scene though light, shadow and texture change. Recompute and check for every image set.

Summary

  • Decision-makers need different products at different times: reference, first estimate, delineation, grading and situational report. A drone team should send the quick-look mosaic on time first and follow with the full-quality version.
  • GSD ; line spacing and shot spacing come from overlap, and speed is limited by the camera interval. At 90 m, 75% and 65% overlap needs 6 sorties for 3.2 km² at a GSD of 2.47 cm.
  • The bottleneck of a rapid map is processing, not flying. Process the first sortie as soon as it lands, and use the fast orthophoto when a 3D model is not needed.
  • A water extent from an index and Otsu’s threshold has commission and omission errors. Check it with independent reference points and report accuracy with a confidence interval (example 91.5%, interval 86.8% to 94.6%).
  • A rapid map must carry labels for time, source, GSD, coordinates, method, accuracy, limits and version.

Self-check questions

  1. A camera has a 13.2 mm sensor with 5,472 pixels across, an 8.8 mm lens, flown at 60 m. What is the GSD?
  2. One image covers 135 m across on the ground. With 60% side overlap, what is the line spacing?
  3. Three sorties land at 30, 65 and 100 minutes after the first take-off. One machine processes each in 24 minutes, and publishing takes 20 minutes. When can the map be published?
  4. Why does shifting the threshold up by 0.10 until the water area equals the truth (18.2 ha) not prove the threshold is good?
  5. 100 random reference points are checked and 91 agree. How do you report accuracy and the 95% Wilson confidence interval?
Answers
  1. The pixel size is , then , about 1.6 cm.
  2. m.
  3. Sortie 1 starts at 30 and finishes at 54; sortie 2 starts at 65 and finishes at 89; sortie 3 starts at 100 and finishes at 124. Publishing adds 20 minutes, so 144 minutes, or 2 hours 24 minutes after the first take-off.
  4. Because the two kinds of error cancelled by chance while the boundary is still wrong, and because the threshold was chosen against the same answer that is used to report accuracy. Check with independent reference points and look at commission and omission separately.
  5. Accuracy 91%, with a 95% Wilson interval of about 83.8% to 95.2%, wider than with 200 points because the sample is smaller.

Key formulas

Ground sampling distance
Line spacing and shot spacing
Otsu threshold
Wilson confidence interval

Key references

  1. European Commission. Copernicus Emergency Management Service: Rapid mapping portfolio (first estimate, delineation and grading products). link
  2. European Commission. Copernicus Emergency Management Service – Rapid Mapping. link
  3. Pix4D. Computing the flight height for a given GSD [Support article]. Pix4D SA. link
  4. OpenDroneMap Authors. Options and flags. OpenDroneMap documentation (Version 3.6.0). link
  5. McFeeters, S. K. (1996). The use of the Normalized Difference Water Index (NDWI) in the delineation of open water features. International Journal of Remote Sensing, 17(7), 1425-1432. https://doi.org/10.1080/01431169608948714 link
  6. Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics, 9(1), 62–66. link
  7. Congalton, R. G. (1991). A review of assessing the accuracy of classifications of remotely sensed data. Remote Sensing of Environment, 37(1), 35-46. https://doi.org/10.1016/0034-4257(91)90048-B link
  8. Wilson, E. B. (1927). Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association, 22(158), 209–212. link

Further reading

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

Module quiz

This is a formative self-check, not a graded exam

Knowledge domain: Public safety and disasters · Surveying, mapping and geoinformatics