Skip to main content

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:

  1. A grid of sample points (5–16 per side depending on area size) is generated across the bounding box
  2. Each point is queried against the NWS gridpoint forecast endpoint
  3. Temperature values are mapped to a blue → green → yellow → red color scale (32°F – 104°F / 0°C – 40°C)
  4. 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:

SeverityColor
ExtremeRed
SevereOrange
ModerateYellow
MinorBlue

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:

MetricDescription
Flight CategoryVFR / MVFR / IFR / LIFR (based on visibility and ceiling)
VisibilityAverage visibility in miles
WindAverage wind speed (knots) and direction (cardinal)
Precipitation ChanceAverage probability of precipitation (%)
Sky CoverAverage cloud cover percentage

Flight category thresholds:

CategoryVisibilityCeiling
VFR (Green)> 5 mi> 3,000 ft
MVFR (Blue)3–5 mi1,000–3,000 ft
IFR (Red)1–3 mi500–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 PercentileCategory
≥ 0.80Very High Vulnerability
≥ 0.60High Vulnerability
≥ 0.40Moderate Vulnerability
≥ 0.20Low Vulnerability
< 0.20Very 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:

StatusColor
NormalBlue (Dodger Blue)
Near ActionYellow
Minor FloodOrange
Moderate FloodRed
Major FloodDark 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:

MetricDescription
Average depthMean flood depth (ft) across all in-bounds points
Max depthMaximum depth recorded
High-risk countNumber of points with depth > 2.5 ft
Risk levelLow / 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.

note

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:

PartWhat it shows
Statusqueued, running, completed, partial (some cameras failed), failed or canceled
Progress"X of N cameras finished" with a percentage
Vehicles countedTotal across the successful snapshots, with a count per class: car, truck, bus, motorcycle, bicycle, train, boat, airplane
Camera resultsA rollup of finished, running, queued and failed cameras, and a per-camera list with each camera's own counts
Cancel scanStops 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.

note

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.