En esta lección vamos a presentar la selección de herramientas para dar una idea de las capacidades de GRASS.
Open the GRASS Tools dialog.
Look for the r.colors.table module by searching for it in the Filter field of the Modules List tab.
Open the tool and set it up like this:
When you run the tool, it will recolor your raster:
GRASS allows you to use a DEM to visualize your data in three dimensions. The tool you’ll use for this operates on the GRASS Region, which at the moment is set to the whole extent of South Africa, as you set it up before.
When this tool is activated, your cursor will turn into a cross when over the QGIS map canvas.
Using this tool, click and drag a rectangle around the edges of the GRASS raster.
Click OK in the GRASS Region Settings dialog when done.
Search for the nviz tool:
Set it up as shown:
Remember to enable both Use region of this map buttons to the right of the two raster selection dropdown menus. This will allow NVIZ to correctly assess the resolution of the rasters.
Click the Run button.
NVIZ will set up a 3D environment using the raster and vector selected. This may take some time, depending on your hardware. When it’s done, you will see the map rendered in 3D in a new window:
Experiment with the height, z-exag, and View method settings to change your view of the data. The navigation methods may take some getting used to.
After experimenting, close the NVIZ window.
Inicie la herramienta.
The Mapcalc dialog allows you to construct a sequence of analyses to be performed on a raster, or collection of rasters. You will use these tools to do so:
En orden son:
Using these tools:
Construct the following algorithm:
When you click Run, your output should look like this:
Click View output to see the output displayed in your map:
This shows all the areas where the terrain is lower than 500 meters or higher than 1000 meters.
En esta lección, hemos cubierto sólo algunas de las muchas herramientas que GRASS ofrece. Para explorar las capacidades de GRASS por sí mismo, abra el diálogo Herramientas GRASS y desplácese por Lista de módulos. O para un enfoque más estructurado, busque en la pestaña Árbol de módulos, que organiza las herramientas según el tipo.