Skip to content

fix: add metadata to all polygon feature types#3

Merged
chriselsen merged 2 commits into
mainfrom
fix/metadata-all-feature-types
Jul 22, 2026
Merged

fix: add metadata to all polygon feature types#3
chriselsen merged 2 commits into
mainfrom
fix/metadata-all-feature-types

Conversation

@chriselsen

Copy link
Copy Markdown
Contributor

All polygon features (basin, flash flood, significant event, inundation) were being submitted without a metadata field, causing CloudTAK to persist "metadata": {} for every polygon. Only gauge point features had metadata set.

This breaks display-proxy highlight templates ({{metadata.severity}}) and filter expressions (properties.metadata.severity = "ABOVE_NORMAL") for the 740+ polygon features that make up the majority of submitted features.

Changes

Feature type Added metadata fields
floodhub-inundation-* type, gaugeId, mapType, level
floodhub-basin-* severity, gaugeId, trend, source, issuedTime
floodhub-flash-* type, countries, forecastIssueTime, forecastPeriodHours
floodhub-event-* type, countries, startTime, minimumEndTime, affectedPopulation, areaKm2

…gnificant event, and inundation map polygons were submitted without a metadata field, causing CloudTAK to store metadata: {} for all 740+ polygon features. Only gauge point features had metadata set. Add metadata to each polygon type: - floodhub-inundation-*: type, gaugeId, mapType, level - floodhub-basin-*: severity, gaugeId, trend, source, issuedTime - floodhub-flash-*: type, countries, forecastIssueTime, forecastPeriodHours - floodhub-event-*: type, countries, startTime, minimumEndTime, affectedPopulation, areaKm2 Required for display-proxy highlight templates ({{metadata.severity}}) and filter expressions (properties.metadata.severity = "ABOVE_NORMAL") to work.
@chriselsen
chriselsen merged commit 5593d56 into main Jul 22, 2026
1 check passed
@chriselsen
chriselsen deleted the fix/metadata-all-feature-types branch July 22, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant