Skip to content

openbroadcaster/mapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mapping

DESCRIPTION

Show NAAD and NOAA public alerts on a map

Mapping works as a standalone application and follows the OpenBroadcaster module framework to allow integration into the observer Platform.

The National Alert Aggregation & Dissemination (NAAD) GeoRSS feed provides realtime Active Public Safety Messages (CAP-CP) alerts issued by Authorized Government Agencies for Canada (see tech info for specs). The feed may be found at http://rss.naad-adna.pelmorex.com/.
Conversion of the GeoRSS feed into geoJSON makes use of Andrew Harvey's excellent prototype

The National Oceanic & Atmospheric Administration (NOAA) provides a WMS map service shows where a warning of hazardous weather or hydrologic event is occurring, imminent or likely.

 Mapping{: .Mapping}

INSTALL

Clone git repo for Mapping module into the webroot/modules/player_map directory: "git clone https://github.com/openbroadcaster/mapping.git player_map"

You may need to change ownership of all files to be readable by the web-user: "chown web-user:web-user player_map/ -R"

Install required PERL modules (as root): perl -MCPAN -e shell 'install XML::Simple XML::Twig JSON'

Change to includes drectory: "cd player_map/includes/"

Run shell script: './convert_emerg_feed.sh' to seed alerts file.

Edit main js/layout.js at line 188: following 'layout.set_main_size();' "ModulePlayermap.init_map();"

Add a CRON job to run conversion script. For example, to run every 15 minutes: */15 * * * * cd /var/www/html/OpenBC/modules/player_map/includes && ./convert_emerg_feed.pl

<p><iframe scrolling="no" src="https://xxx.openbroadcaster.com/modules/device_map/html/showmap.html" title="OpenBroadcaster Canadian CAP Alerts Map" width="400" height="400" frameborder="0"></iframe></p

Install the module from the admin/module menu in server to create a menu item.

Done - Show locations of installations of radio and signage Done - Display green, when all operating and providing heartbeats Done - Display an indicator when there is an emergency event underway Done - RED X if unit is not managed and disappeared more than n time

TODO - Combine analytics and stats to show audience and listener metric TODO - Show installs by domains, reporting versions and poll using heartbeats

COMPONENTS

jQuery
Leafletjs javascript library.
Leaflet-Realtime plugin for adding map layers for live tracking of GPS, sensor data, etc.

About

OpenBroadcaster Infrastructure status events EAS NAAD NOAA

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •