Støtte for internasjonale tilfluktsromdata #9
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olemd/tilfluktsrom#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
Tilfluktsrom currently only supports Norwegian shelter data from Geonorge (GeoJSON, EPSG:25833). To be useful internationally, we should identify and integrate shelter data from other countries.
Goals
Known data sources to investigate
Technical considerations
Robust parsing
ShelterDataSourceinterface with per-country implementationsData model
Shelterentity has Norwegian-specific fields (romnr,plasser,adresse)Auto-download by location
Offline-first
Out of scope (for now)
Related
GeoJsonParser→CoordinateConverter(UTM33N→WGS84) →ShelterDatabaseAdditional requirement: Graceful handling of unavailable sources
Data sources may disappear, go offline, change URLs, or stop responding at any time — especially during the kind of emergencies where this app is most needed.
Scenarios to handle
Design principles
Include status/type metadata from official sources
If official data sources include fields like shelter type, status, or operational readiness, we should preserve and display them rather than discarding metadata during parsing.
Fields to look for in each data source
Implementation notes
Civil defense info: international considerations
v1.4.0 added a civil defense info dialog with Norwegian DSB guidelines (alarm signals, shelter instructions, DAB radio). When adding international shelter data, each country will also need localized emergency procedures:
CivilDefenseInfoDialogcould be extended with a country selector or auto-detect based on location, loading country-specific instructions from string resources or bundled JSONCurrent implementation:
ui/CivilDefenseInfoDialog.ktwith static content fromstrings.xml(en/nb/nn).