Analysis Filters
When you click Activate on a bounding box, a filter dialog opens. Select any combination of the available filters and click Activate to run the analysis.
Each filter fetches data for the defined region, renders results on the map, and contributes statistics to the results panel.
1. Temperature Heatmap
Fetches surface temperature forecasts from the NOAA NWS Grid Data API and renders a color-coded heatmap overlay.
How it works:
- A grid of sample points (5–16 per side depending on area size) is generated across the bounding box
- Each point is queried against the NWS gridpoint forecast endpoint
- Temperature values are mapped to a blue → green → yellow → red color scale (32°F – 104°F / 0°C – 40°C)
- A canvas-based heatmap is generated with Gaussian blur and rendered as a Cesium imagery layer
Results panel shows:
- Minimum temperature
- Average temperature
- Maximum temperature
- An opacity slider to adjust transparency
2. Weather Alerts
Fetches active NWS watches, warnings, and advisories within the bounding box from the NOAA NWS Alerts API.
Alert severity colors:
| Severity | Color |
|---|---|
| Extreme | Red |
| Severe | Orange |
| Moderate | Yellow |
| Minor | Blue |
Each alert is placed as a colored pin on the map. Click a pin to see the full alert text, effective time, and expiration time.
3. Aviation Conditions
Samples NWS forecast grid points across the bounding box and derives aviation weather metrics.
Displayed metrics:
| Metric | Description |
|---|---|
| Flight Category | VFR / MVFR / IFR / LIFR (based on visibility and ceiling) |
| Visibility | Average visibility in miles |
| Wind | Average wind speed (knots) and direction (cardinal) |
| Precipitation Chance | Average probability of precipitation (%) |
| Sky Cover | Average cloud cover percentage |
Flight category thresholds:
| Category | Visibility | Ceiling |
|---|---|---|
| VFR (Green) | > 5 mi | > 3,000 ft |
| MVFR (Blue) | 3–5 mi | 1,000–3,000 ft |
| IFR (Red) | 1–3 mi | 500–1,000 ft |
| LIFR (Magenta) | < 1 mi | < 500 ft |
4. Social Vulnerability Index (SVI)
Cross-references the analysis region against the CDC/ATSDR 2022 Social Vulnerability Index county dataset.
Data source: client/public/data/SVI_2022_US_county.csv
Vulnerability tiers:
| RPL_THEMES Percentile | Category |
|---|---|
| ≥ 0.80 | Very High Vulnerability |
| ≥ 0.60 | High Vulnerability |
| ≥ 0.40 | Moderate Vulnerability |
| ≥ 0.20 | Low Vulnerability |
| < 0.20 | Very Low Vulnerability |
Counties within the bounding box are matched by FIPS code. The panel shows the average SVI percentile and contextualizes it ("top X% of counties nationally").
5. River Gauges
Fetches NOAA NWPS river gauge locations and current water levels within the bounding box.
API: https://api.water.noaa.gov/nwps/v1/gauges?bbox.xmin=...
Each gauge is rendered as a colored pin based on current flood stage:
| Status | Color |
|---|---|
| Normal | Blue (Dodger Blue) |
| Near Action | Yellow |
| Minor Flood | Orange |
| Moderate Flood | Red |
| Major Flood | Dark Red |
Click a gauge pin to see:
- Current water level (ft)
- Flood stage thresholds (action, minor, moderate, major)
- Forecast trend
6. Flood Level Analysis
Analyzes mock flood inundation point data within the bounding box.
Data source: client/public/data/mock_flood_data_snapped.csv
The CSV contains snapped flood depth points. Points within the bounding box are filtered and analyzed:
| Metric | Description |
|---|---|
| Average depth | Mean flood depth (ft) across all in-bounds points |
| Max depth | Maximum depth recorded |
| High-risk count | Number of points with depth > 2.5 ft |
| Risk level | Low / Moderate / High (based on depth distribution) |
Points are rendered as a color-coded point cloud: green (shallow) → yellow (moderate) → red (deep).
When points are found, OSM 3D Buildings is turned on automatically so the points sit among building footprints. It is turned off again when the flood points are cleared (box deleted or saved after editing), unless you enabled it yourself. See 3D Visualization.
This filter uses mock/simulated data for demonstration purposes. It is not sourced from real-time flood sensors.
7. Florida Camera Vehicle Scan
Counts vehicles in the latest still from every online FDOT camera inside the region. It needs the feature.detection permission and does not appear in the filter dialog for other accounts.
Activating it starts one background job on the server (POST /detect-fdot-batch) for the rectangle or polygon, sending each camera image to Co-DETR at a 0.5 score threshold. The results panel updates about every two seconds while the job runs:
| Part | What it shows |
|---|---|
| Status | queued, running, completed, partial (some cameras failed), failed or canceled |
| Progress | "X of N cameras finished" with a percentage |
| Vehicles counted | Total across the successful snapshots, with a count per class: car, truck, bus, motorcycle, bicycle, train, boat, airplane |
| Camera results | A rollup of finished, running, queued and failed cameras, and a per-camera list with each camera's own counts |
| Cancel scan | Stops queued downloads and inference. Cameras that already finished keep their results |
If no online camera lies in the region, the panel says vehicle counts are unavailable. Moving or deleting the box, or deactivating the filter, cancels the running job.
Totals count camera snapshots, so one vehicle seen by two cameras, or twice by one camera, is counted more than once. Treat them as a sample of traffic, not a census.
See POST /detect-fdot-batch for the request and job format.
Results Panel
After activation, a results panel appears in the sidebar showing a summary of all active filters. Individual filter sections are collapsible. All numerical results include copy-to-clipboard buttons.
Clearing Results
Click Deactivate to clear all filter visualizations and results from the map and sidebar.