SDC Sphy Manual
  • 📚Readme
  • manual
    • SPHY Manual
      • 1. Introduction
      • 2. Theory
        • 2.1 Background
        • Modules
        • Reference and potential evaporation
        • Dynamic vegetation processes
        • Snow processes
        • Glacier processes
        • Soil water processes
        • Soil erosion processes
        • Routing
      • 3. Applications
        • Irrigation management in lowland areas
        • Snow- and glacier-fed river basins
        • Flow forecasting
      • 4. Installation of SPHY
      • 5. SPHY model GUI
        • 5.1 Map canvas layers and GUI interactions
        • 5.2 Top menu buttons
        • 5.3 General settings
        • 5.4 Climate
        • 5.5 Soils
        • 5.6 Groundwater
        • 5.7 Land use
        • 5.8 Glaciers
        • 5.9 Snow
        • 5.10 Routing
        • 5.11 Report options
        • 5.12 Running the model
        • 5.13 Visualizing model output
      • 6. SPHY model preprocessor v1.0
        • 6.1 Overview
        • 6.2 General settings
        • 6.3 Area selection
        • 6.4 Modules
        • 6.5 Basin delineation
        • 6.6 Stations
        • 5.7 Meteorological forcing
      • 7. Build your own SPHY-model
        • Select projection extent and resolution
        • Clone map
        • DEM and Slope
        • Delineate catchment and create local drain direction map
        • Preparing stations map and sub-basins map
        • Glacier fraction map
        • Soil hydraulic properties
        • Other static input maps
        • Meteorological forcing map series
        • Open water evaporation
        • Soil erosion model input
        • Sediment transport
        • Reporting
      • Appendix 1: Input and Output
      • Appendix 2: Hindu Kush-Himalaya database
      • References
      • Copyright
Powered by GitBook
On this page
  1. manual
  2. SPHY Manual
  3. 5. SPHY model GUI

5.1 Map canvas layers and GUI interactions

5.1.1 Interaction with the map canvas

During model setup in the GUI, the QGIS map canvas will be extended with more and more layers that are added by setting model input maps and evaluating model output maps. The user can modify layer legends to its own preferences, because this does not influence the model results. You are also free to add additional layers or remove layers from the QGIS map canvas. Both actions will not affect model results; because the maps that are used in the model are always shown in the text lines in the GUI (see for example the catchment settings in Figure 28). If you select a model input map in the GUI, this map will automatically be added to the QGIS map canvas. If this layer name already existed in the map canvas, then it will be overwritten with the new selected layer.

Map canvas layout

The map canvas is built using several layer groups. At the beginning of each new project the map canvas is empty. The layer groups are built after model map layers have been selected and added to the canvas. The layer group layout is shown below:

  • Input

    • General

    • Climate

    • Soils

    • Land-use

    • Glaciers

    • Snow

    • Routing

  • Output

    • Annual

    • Monthly

    • Daily

An example of this layer group (with layers) layout is shown in Figure 17. The Input layer groups correspond with the GUI tab widgets that need to be completed by the user during Sections 'General sections' through Section 'Visualizing model input'. The Output layer groups are built during the last step of the GUI: Visualize results.

Setting a background layer

As can be seen from figure 17, a Google Physical background has been added to the canvas. Background layers in QGIS, such as the Google Physical background layer, are available as plugins. The Google Physical background layer, together with layers as OpenStreetMap, Bing maps and other Google maps, are part of the OpenLayers plugin. This plugin can be installed and activated in a similar way as the SPHY model plugin was activated. You can search for this plugin by typing google in the search window (Figure 18). Then select the OpenLayersPlugin and click Install plugin and after installation click Close. You are now able to set any background map from the OpenLayersPlugin you like (Figure 19).

It should be noted that setting and viewing a background layer requires an internet connection. Because of the continues connection with internet, the use of background layers may slow down processes such as panning and zooming inside QGIS.

Previous5. SPHY model GUINext5.2 Top menu buttons

Last updated 1 year ago

Figure 17: Example of map canvas groups and layers layout
Figure 18: Activating the OpenLayers Plugin in QGIS
Figure 19: OpenLayers plugin in the QGIS menu