Disaster response

Map flood and cyclone damage from satellite passes, and plan relief routes for boats and trucks.

Updated CompTech Team

When a cyclone has crossed the coast or a river has left its banks, the questions are simple and the answers are late. Which unions are under water? Which roads still take a truck? Where must the load move to a boat? Headquarters currently builds that picture from phone calls. Satellite passes already contain most of it, a day or two after the cloud thins.

This lab maps damage from passes you are allowed to use, and it drafts relief routes for boats and trucks. A relief coordinator confirms the map and the route before anyone is sent. The work shares its change-detection path with ISR and its road graph with logistics. The mission is humanitarian. The principles still apply: a person dispatches, and the data stays on the force's platform.

Map the damage

Take two passes of the same area, one before the event and one after, or two after if that is all you have. Register them. Then mark change, with labels suited to relief rather than to a watch floor:

Label What the coordinator does with it
Standing water Candidate for boat delivery, and a road to treat as closed until checked
Damaged or missing structure A place that may need shelter or engineer support
Clear ground and open road A candidate landing or truck route
Cloud or no data Shown as unknown, never as clear

Unknown is a first-class value. A cloud gap painted as "dry" sends a truck into a washout. The product is a layer the coordinator can overlay on the district map: polygons, the pass ids, the times, and a reviewed flag. Only reviewed polygons are styled as fact. Unreviewed ones are styled as candidates.

Public passes such as those from the national space programme or freely distributed disaster charters are the right lab data. Store them on the sovereign platform once downloaded, and do the analysis there. The coordinator's own aerial photos, when they arrive, are a later pass through the same job.

A model proposes the polygons. A GIS officer corrects them. Corrected polygons go back into the next training set, which is how the mapper gets better for the next cyclone without waiting for a vendor to retrain something offshore.

Routes for boats and trucks

The logistics lab's graph already has segments with a class and a state. Relief adds two classes and one rule.

  • Truck segments close when they intersect reviewed standing water, or when a field report sets them closed.
  • Boat segments are the navigable water you have surveyed, plus water the reviewed flood layer has connected. A boat segment exists only where someone has said a boat can move, not wherever the pixel was dark.
  • Transhipment nodes are the landings where a load can move from truck to boat. They are places, with a capacity, not an inference.

Recompute from the depot to the relief point with the same shortest-path call the logistics lab uses, once on the truck graph and once on the boat graph, meeting at a transhipment node when a single mode cannot complete the trip. Show the coordinator the path, the segments that differ from yesterday, and every segment whose state is unknown along the way. A path that depends on an unknown segment is marked needs reconnaissance, and it is not issued as an order.

truck_path = nx.shortest_path(open_truck, depot, landing, weight="hours")
boat_path = nx.shortest_path(open_boat, landing, union_ghat, weight="hours")

The coordinator confirms, and the movement order is written in the logistics system under their id. The draft path remains in the lab system with the pass ids it was based on, so when a newer pass arrives you can see which orders were drawn on an old flood edge.

Tie this to the terrain twin if the same district was rehearsed. The exercise graph and the live graph must be separate datasets. Promoting an exercise closure into the live graph is a fault you should test for.

An archived storm

Pick a past flood or cyclone whose passes you can store, and a coordinator who remembers the ground.

  1. Register a before pass and an after pass. Run the change job. Leave cloud as unknown.
  2. The GIS officer edits polygons. Only reviewed polygons close a truck segment.
  3. Recompute truck and boat paths from a real depot to a real relief point, meeting at a landing you have marked.
  4. Compare the path to the route that was actually used, or to the route the coordinator says they would have wanted. Record the segments that differ and why (missing landing, water painted too wide, a road left open).
  5. Drop in a newer pass that moves the water edge. Show which draft orders depended on the old edge.
Mistake What the coordinator sees
Cloud painted as dry A truck route through unknown, wrongly marked clear
Dark pixels turned into a boat path A boat segment nobody surveyed
Exercise flood left in the live graph A closure that is not this storm. Test that the datasets are separate

The coordinator confirms the layer before it feeds the logistics system. Until that confirmation, the map is a candidate and the router may display it only as a candidate.

What gets issued

The lab produces drafts. The logistics system produces movements. Keep the boundary visible in the record.

  • candidate polygon: model output, not yet reviewed. The router may display it and may not close a road because of it.
  • reviewed polygon: a GIS officer has saved it. Truck segments that intersect it become closed.
  • needs reconnaissance: the path uses a segment whose state is unknown.
  • draft path: the coordinator can see it. It is not a movement order.
  • issued: written in the logistics system under the coordinator's user id, with the pass ids attached.

When a newer pass arrives, list every issued order whose path touched a polygon that moved. That list is the morning brief after the second satellite pass. It is more useful than a new model.

Store the pass id on every polygon and every draft path. A coordinator who asks "which satellite pass closed this road?" should get an answer from the record, not from the person who happened to be on shift.

Before a path is trusted

  • Cloud stays unknown.
  • Only a reviewed polygon closes a road.
  • A boat segment exists only where a landing was surveyed.
  • A path through unknown is marked for reconnaissance.
  • The pass id is stored on the draft.

What's next

  1. Logistics and maintenance: the router this map calls.
  2. Training and simulation: rehearsing the same district before the season.
  3. Surveillance and ISR: the change-detection job both labs share.