Difference between revisions of "QGIS Importing a Grid"

From Tuflow
Jump to navigation Jump to search
 
Line 20: Line 20:
 
<br><br>
 
<br><br>
 
If you are viewing a DEM, you may also wish to apply a relief shading to give the DEM a more "3D" appearance, to do this see the [[QGIS_Relief_Shading | QGIS Relief Shading tip]].
 
If you are viewing a DEM, you may also wish to apply a relief shading to give the DEM a more "3D" appearance, to do this see the [[QGIS_Relief_Shading | QGIS Relief Shading tip]].
 +
<br>
 +
<br>
 +
{{Tips Navigation
 +
|uplink=[[QGIS_Tips | Back to QGIS Tips And Tricks]]
 +
}}

Latest revision as of 14:40, 22 June 2021

Introduction

The ESRI Arc/Info Grid (.asc) format is a widely used format for gridded datasets (such as DEMs and results files). The TUFLOW_to_GIS utility outputs in this file format.

Method

QGIS has native support for this format.

  1. ESRI grid (.asc) files can be directly opened in QGIS by selecting Layers >>> Add Raster Layer.
  2. Navigate to the desired file and select Open.

The opened grid will be displayed in the projection of the project. This should be set to the projection of the grids, to change the projection of the project see the Setting Project Projection page.

  • The .asc file can also be dragged and dropped into the QGIS session, rather than using the Add Raster Layer option.

Coloring / Shading

Note that by default the The default shading is grayscale so the import raster is likely to look gray. To change this to a simple colour shading right click on the layer in the layer control and select Properties. In the Style tab, drop the colour map to Pseudocolor.
QGIS raster display1.JPG

The raster grid should now have a color ramp applied. More advanced coloring can be applied by using the Colormap option (this enables a colormap tab).
QGIS raster display2.JPG

If you are viewing a DEM, you may also wish to apply a relief shading to give the DEM a more "3D" appearance, to do this see the QGIS Relief Shading tip.

Up
Go-up.png Back to QGIS Tips And Tricks