How to create a new flood viewer project

Flood Viewer is an easy to use, dependable, interactive data viewing tool. It can be used to provide rapid access to historic/predictive flood extent mapping in an emergency situation (e.g. control room). Alternatively, it provides a simple method for disseminating interactive flood maps to multiple clients without the need to provide them all with bespoke software.

Flood viewer runs within the user’s web browser and can be accessed from USB stick or over the web with no requirement for expensive GIS software and no issues with IT compatibility. In addition to basic GIS viewing functions it incorporates a slider for the user to move seamlessly between different flooding scenarios (e.g. return period events, time).

Flood Viewer data can be defined locally (i.e. on your desktop) or can be uploaded and stored in a Flood Modeller provided cloud location. Data stored in the cloud location will be secure, only accessible to those you share the uniquely generated URL with. Furthermore, data will only remain on the cloud for a maximum of 30 days, after which it will be automatically deleted (you still have the option of uploading the same data again from your Flood Viewer project).

To view your data with Flood Viewer you need to define a new Flood Viewer project. This consists of some or all of the following:

If you generate a desktop Flood Viewer project, these data are accompanied by an index file (html format) that defines how the layers are displayed. The data can be viewed simply by opening the index file within your designated internet browser, e.g. Internet Explorer or Firefox. However, no internet connection or software installation is required in order for Flood Viewer to work.

If you generate an online Flood Viewer project the Flood Viewer interface presents a URL for you to either copy and distribute or click on to open.

Flood Modeller provides an interface to construct a Flood Viewer index file. This interface enables you to load up the series of flood map data and any background maps or additional shapefiles. These data can then be customised to define how they will appear within a new Flood Viewer project. The following steps explain how to use this interface:

  1. Prepare your flood map datasets. This guidance assumes that you have already prepared a series of flood maps (for different scenarios, e.g. storm events) as outline shape files. This may have been done by processing your hydraulic model data in Flood Modeller (using the 1D and 2D flood map calculator tools) or they may have been generated externally (in a GIS software system) or may have been obtained from historic records.

  2. If your flood maps are defined in ascii grid format you can utilise the Layer Convertor tool to convert these data into outline polygon shapefiles in the Grid Tools section of the Toolbox.

  3. If your flood map layers have been generated externally from Flood Modeller then you can use the Add GIS Data button (Home or Map Tools tabs of the main toolbar) to browse to and load these data into the Flood Modeller interface. Alternatively, the Flood Viewer interface also provides a facility to browse to add data. Note that Flood Viewer requires flood map data in ESRI shapefile format (background layers to be included in the project can be shapefiles or geo-image files, i.e. jpeg or png formats).

  4. Select the Flood Viewer tool by clicking on the button provided in the Map Tools tab of the main toolbar.

  5. A new window will appear, as shown below:

  6. The window will be automatically populated with any polygon shapefiles present in the Layers list of your current Flood Modeller project (which the tool assumes to be representing different flood outlines). Layers can be removed from or added to this list.

    You are then required to complete the following fields:

  7. In addition, all shapefiles (points, lines and polygons) and image files (JPEG or PNG formats), i.e. file types compatible with Flood Viewer, are loaded into the ‘Additional Layers’ table, accessed by clicking the Additional Layers tab on the main interface. The types of data you may add to your project here will be:

  8. Ensure these extra layers appear in the Additional Layers table and the associated box in the Include column is ticked. You can also add your own name to each layer (to replace the default name which is the filename). An Add Layer button is provided to enable you to add a new layer to the table (i.e. that is not loaded in your map view).

    Note the flood outlines are also loaded again here, though in most cases you won’t need these here. Therefore, you can either leave them unchecked, so they don’t filter through to the Flood Viewer project you will generate, or highlight these rows and click the Remove Layer button (below the table) to delete them from the Additional Layers table.

  9. You can set some display properties for the non-flood map layers you specify in your project. Highlight a row in the Additional Layers table and click the Edit Shape Property button located below the table. This will display a new window in which you can define certain display settings that will be applied for the layer in your Flood Viewer project (see below). Depending on the selected layer, not all settings will be applicable (e.g. line thickness for a point shape file) and so some settings may be disabled. In addition to colour, thickness and transparency level you can select whether the layer will be automatically visible when your new Flood Viewer project starts up. Note the default setting is for all additional layers to not be visible.

  10. If you are creating a desktop Flood Viewer project then there are some additional settings that will only become enabled when the desktop option is selected. These are:

  11. There are other options provided to define how your Flood Viewer project is generated. These are as follows:

    1. Flood map colour and transparency settings – these settings are under the title Graphic Options. All flood maps added to your project will display the same colour, which can be set by typing in a colour code or selecting from the palette provided (under the adjacent button). The transparency level is a number between 0 and 1 (where 1 is fully transparent, i.e. not visible)

    2. Display output folder upon completion – selecting this option will open a Windows browser window showing the contents of your new desktop Flood Viewer project folder (disabled for online Flood Viewer projects).

    3. Create desktop shortcut – creates a shortcut that opens your new Flood Viewer project (in your internet browser). Note in some operating systems this shortcut may fail to generate.

    4. Copy link to Flood Viewer into clipboard – the path or URL to your Flood Viewer project can then be pasted into an email to disseminate to others (e.g. if your project is created on a shared network).

  12. When all settings are defined click the OK button to define your new Flood Viewer project. If you are downloading background map tiles this process may take a few minutes. If you are just using your own local data, the process will be very fast. When the project is created:

  13. When your Flood Viewer project opens you should see something like the examples below in your web browser:

  14. Online version:

    Desktop version:

    Slider is between gauge heights referenced to the loaded flood maps:

  15. The Flood Viewer display includes the following controls for you to further manipulate the view:

  16. Zooming

    You can move around the map by dragging, and zoom in and out with either the buttons in the top-right of the screen or your mouse’s scroll wheel. Flood Viewer will use any maps available in the project’s map tiles folder.

    Layers and current cursor position

    Online version:

    Desktop version:

    Gaugeboard

    Adobe Flash Security Settings

    The desktop version of Flood Viewer uses Adobe Flash to display the specified flood extent data. Recent changes to the Adobe default security settings no longer allow local content, i.e. content created on your machine such as a Flood Viewer project, to load automatically. To get around this issue you need to access and change the Adobe Settings as follows:

    1. When you load a Flood Viewer project into your web browser you will likely see the page “hang” with only the Flood Viewer logo displayed (if an “Allow blocked content” prompt appears first then click Allow to proceed). Right-click on the centre of the page. You should see an Adobe menu. Select "Global Settings".

    2. You should see a new window pop-up after a few seconds, entitled Flash Player Settings Manager (in Chrome these menus may appear in a new tab instead). Select the "Advanced" tab (in the pop-up window) or Global Security Settings (in the separate tab).

    3. Next, in the pop-up window, click the button called "Trusted location settings" or in the separate tab, click on “Edit Locations”. This will display another window that allows you to add files or folder names to a list of local places that Adobe will allow data to be loaded from. Use the Add or Browse buttons to browse to your Flood Viewer project location and add this folder to the list. Note that you can add a higher folder as Adobe should then accept anything in any sub-folders from this.

    4. After making the above changes to settings close down all the Adobe Settings windows or tabs and then refresh the Flood Viewer page in your browser. Hopefully it will then load successfully after a few seconds.