Skip to content
Kyle Tranfaglia
All projects

Data science · Software

Cambridge FEMA Flood Tool

A Python desktop GIS tool that visualizes FEMA flood and storm-surge scenarios for Cambridge, Maryland, and estimates their damage and insurance costs.

Role
Software engineering intern
Team
Solo
Timeline
Feb 2025 – Apr 2025
Context
Internship · City of Cambridge
flood simulators
4
hurricane categories modeled
5
insurance cost projections
100 yr
3D elevation flood simulation of Cambridge, Maryland, with water level and hurricane category controls

Overview

Cambridge is a low-lying waterfront city in Dorchester County, Maryland, and is highly exposed to hurricanes and storm surge. During my internship with the city, I built a desktop GIS application that turns FEMA’s flood-model predictions into interactive views and cost estimates, designed for local decision-makers rather than GIS specialists.

What I Built

Flood simulators. Four views of the same scenarios, each with controls for projected year and hurricane category (1–5):

  • A 3D elevation model of the county rendered from DEM rasters, with preset camera angles and export.
  • A 3D surface model from LiDAR data that includes buildings and vegetation.
  • A street-level map of Cambridge.
  • An interactive Folium map with a flood-risk legend.

Damage estimator. For a given property value, it estimates building, contents, and infrastructure losses under each hurricane category using vulnerability curves, plus citywide effects such as displacement, debris, and cleanup. Results show as tables and charts and export to CSV.

Insurance projections. Enter an address and home value, and the tool geocodes the address and projects annual insurance costs up to 100 years out, combining a base rate, inflation, and rising hurricane frequency and intensity based on NOAA projections.

Engineering

  • Built in Python with PyQt6, using QtWebEngine to embed the web maps in the desktop app.
  • Processed elevation data with rasterio (masking and reprojection) and Shapely, with charts and 3D surfaces in Matplotlib.
  • Loaded large DEM tiles on background threads with on-disk caching, so the app stays responsive and each tile loads only once.

Outcome

The tool gives the city one place to explore flood scenarios and what they would cost, to support planning for disaster preparedness and mitigation.