Skip to content

RoadMap

Bernie Connors edited this page Feb 22, 2019 · 11 revisions

RoadMap

In early 2019 the government of New Brunswick decided to no longer publish the flood forecast data in XML format. Instead the data will be published in two HTML tables - one for the upper basin and one for the lower basin. To support this change a python script is being developed to scrape the flood forecast data from the HTML tables and recreate the XML file.

Future enhancements for RiverWatch_Web include:

  • Replace Google Maps API with ArcGIS JavaScript API to support additional map data and functionality
  • Pan and zoom map automatically to a single flood forecast location when moving from a bar chart to the map
    • Perhaps add a "View on Map" link to each bar chart
  • Add Water Survey of Canada real-time stream gauge locations to the map (approximately 55 locations).
  • Provide access to real-time stream gauge data
  • Add Flood Risk Areas and Historical Floods to the map using existing flood risk data from GeoNB Data Catalogue. This will give an indication of areas that may be impacted by flooding
  • Modify XML schema for alert.xml to add a new value: date of next forecast
  • Create a database of past water level data for the 19 forecast locations (This may already exist in the Water Survey of Canada Hydat database)
  • Provide access to past water level data - perhaps a check box on each graph labelled "last year's water level"
  • Allow users to submit GPS tagged photos of flood waters and flood damage

Completed enhancements or changes for RiverWatch_Web include:

  • Modify alert.xml to include current water levels (but no forecast) for 4 new sites in the middle basin. This will give a total of 23 stations in the Saint John River Basin. GNB is already publishing current water levels for these locations here:
    • Perth Andover
    • Simonds
    • Hartland
    • Woodstock
  • Modify XML schema for alert.xml to add a new value: date forecast issued.
  • The following files will now be hosted at https://geonb.snb.ca/rwm:
    • alert.xml
    • alertlevels.xml

Clone this wiki locally