Tute M07 QGIS 2D MAT Archive

From Tuflow
Jump to navigation Jump to search

    Introduction

    This page describes the method for using QGIS to create the GIS based material types (land use areas) for the proposed development. Once these layers have been setup, surface roughness or bed-resistance values (e.g. Manning’s n) are assigned to each of these land use areas via the materials.csv file created in Module 1.

    Method

  1. Copy the contents of the Module_data\Module_07\Materials into the TUFLOW\model\gis folder. This folder contains the following two layers: 2d_mat_M07_DEV_001_R and 2d_mat_M07_DEV_Buildings_001_R.
  2. Open both layers in QGIS. The 2d_mat_M07_DEV_001_R layer contains polygons defining grassed areas and roads within the proposed development. The 2d_mat_M07_DEV_Buildings_001_R layer contains polygons defining the buildings within the proposed development.
  3. The materials attribute for a number of polygons representing proposed roads in the 2d_mat_M07_DEV_001_R layer have not been assigned and will need to be populated. Assign a Material ID of 2 to these polygons as shown in the figure below. Leave the remaining larger polygon with a Material ID of 1.

    M07 mat roads QGIS.png

    All polygons within the 2d_mat_M07_DEV_Buildings_001_R layer represent the buildings of the proposed development and will have the same Material ID of 3. Make use of the ‘Update All’ feature to automatically assign this value to all objects at the same time. Toggle Editing for the 2d_mat_M07_DEV_Buildings_001_R layer then right-click and select Open Attribute Table. Type '3' in the blank field and select Update All as shown in the figure below.

    M07 mat update QGIS.png

  4. Open the Materials.csv file created in Module 1 within the TUFLOW\model\ folder to observe the Manning’s n values that will be assigned to each Material ID.
  5. Save both 2d_mat_M07_DEV_001_R and 2d_mat_M07_DEV_Buildings_001_R layers.

    Conclusion

    Two 2d_mat GIS layers have been created to define land use categories representing the proposed development. Please return to the main page of module 7.