Methodology & Accuracy Limits
This page documents exactly how US Flood Map queries federal geographic layers, computes elevation differences, enforces three-state error transparency, and calculates flood insurance cost ranges.
1. Address Geocoding & Coordinate Pinning
When you enter a full street address, our server queries the U.S. Census Bureau Geocoder (interpolated TIGER street-range coordinates) alongside US-filtered Komoot Photon address points. For partial queries (city, county, or ZIP code), we combine our local Census Gazetteer ledger with Photon place search. Because street-range interpolation can sit tens of feet from a structure’s actual footprint, always inspect the pin on the satellite basemap and click directly on the building roof if it sits near a flood zone boundary.
2. FEMA NFHL Multi-Layer Query
Every property check performs parallel spatial intersection queries against four layers of the FEMA National Flood Hazard Layer (NFHL):
- Layer 28 (Flood Hazard Zones): Extracts
FLD_ZONE(e.g., AE, VE, X),ZONE_SUBTY(Floodway, 0.2% Annual Chance, Area with Reduced Flood Risk due to Levee), and static BFE if encoded directly on the polygon. If primaryhazards.fema.govresets the connection, Layer 28 falls back to FEMA’s Esri Living Atlas NFHL reduced-set mirror. Unmapped areas, Zone D, and unrecognized codes are explicitly surfaced as undetermined (never “insurance optional”). - Layer 3 (FIRM Panels): Extracts the official 11-character FIRM Panel Number and Effective Date so you can verify map currency against your lender’s determination.
- Layer 16 (Base Flood Elevation Lines): Requests polyline geometry within a ~150 m envelope around the coordinate when the zone polygon lacks a static BFE, computes point-to-segment distance to pick the nearest BFE line, converts
METERSto feet when specified (rejecting unknown units), and preserves the line’s own vertical datum. - Layer 22 (Political Jurisdictions): Extracts the 6-digit NFIP Community ID (CID) to join your municipality’s active participating Community Rating System (CRS) Class and 5%–45% automatic insurance discount from our local OpenFEMA directory.
3. USGS 3DEP Bare-Earth Terrain vs. BFE & Vertical Datum Rules
We query the USGS Elevation Point Query Service (EPQS) in feet (NAVD88), which synthesizes 3DEP multi-resolution Digital Elevation Models (1-meter LiDAR where available, 1/3 arc-second or coarser DEM elsewhere). Negative elevations (such as below-sea-level neighborhoods in New Orleans, LA or Death Valley, CA) and exact 0 ft elevations are preserved accurately, while USGS NoData sentinels (-1000000) and missing/null fields are rejected cleanly as unavailable.
We only compute Ground Elevation − BFE when both measurements share verifiedNAVD88 vertical datum and feet units. Where FEMA publishes a legacyNGVD29 BFE (common in Miami Beach and older coastal FIRM panels) or omits the datum or length unit, we display both figures separately with a datum warning and suppress subtraction and LOMA comparisons. Even when datums match, USGS 3DEP measures bare-earth terrainrather than your building’s elevated Finished First Floor Height (FFH), so ground height is never auto-copied into the insurance calculator’s First Floor Height field and cannot replace a licensed surveyor’s Elevation Certificate.
4. Three-State Honesty & Independent Layer Caching
Federal geospatial servers occasionally throttle requests or enter scheduled maintenance. To avoid misleading homeowners, every external hazard check follows a strict three-state contract:
- Detected: The federal agency returned valid JSON containing a matching flood zone, wetland polygon, or drainage record with required attributes.
- Clear: The federal agency returned HTTP 200 with valid JSON and zero intersecting features at the queried point. Malformed or attribute-less payloads are never downgraded to Clear.
- Unavailable: The upstream service timed out, returned an HTTP error, or served a non-JSON maintenance page. We surface an honest retry notice and never cache unavailable responses.
Each external layer is cached independently in SQLite (NFHL up to 30 days on primary 5-decimal cell or 1 hour on fallback; USGS 3DEP, NRI Tract, USFWS Wetlands, and USDA Soil up to 90 days each). A failed or recovered layer never extends the TTL of other layers, and expired rows are physically purged hourly.
5. Insurance Estimator, NFIP Definitions & ZIP Thresholds
Our Flood Insurance Cost Calculatorproduces educational planning ranges built from OpenFEMA Risk Rating 2.0 state/county median full-risk premiums adjusted by zone tier, user-entered First Floor Height, replacement value, foundation type, and user-verified municipal CRS discounts (we never automatically apply a countywide maximum CRS discount to a specific property without a matching participating Community ID). The private flood market comparison is presented explicitly as an illustrative scenario range rather than a live carrier quote; only a licensed agent or carrier can issue a binding quote.
Local NFIP aggregates distinguish active contracts (COUNT(*)) frominsured units (SUM(policyCount), where condo master policies cover multiple residential units). County SFHA penetration percentages above 100% (caused by mismatched unit vs. structure denominators in federal datasets) are suppressed rather than shown as percentages of homes insured. Standalone ZIP-code flood report pages are published for up to 3,000 qualifying ZIP codes with at least 50 active NFIP contracts or 25 historical claims; all other ZIPs remain searchable live on our interactive map.