29.01.2015 Views

Practical Manual - Malareo

Practical Manual - Malareo

Practical Manual - Malareo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Active Layers in the TOC<br />

Mathematical Operators<br />

Expression Area<br />

In order to perform a calculation we need to setup the calculation as an expression. This is done in the<br />

Raster Calculation Expression Area. To build this expression we use the layers from the Raster Bands box<br />

and the mathematical operators.<br />

We are going to answer the question: "Where in eThekwini is the elevation higher than 500 meters"<br />

The raster calculation expression for this is: "elevation_UTM" > 500<br />

<br />

<br />

If we had wanted to include the 500m height, we would have used the >= sign.<br />

To start the expression by selecting the layer. To do this double click the elevation_UTM layer in<br />

the Raster Bands box. This will add it to the expression box.<br />

Then single click the "greater than" operator (>)<br />

Then type in 500.<br />

<br />

<br />

<br />

<br />

<br />

You will notice a note in the bottom left hand corner of the Raster Calculator. This note tells you<br />

whether or not your expression is valid.<br />

Make sure you give the Output layer a name and check the Add Result to Project box.<br />

Select GeoTIFF as the output format.<br />

Display the resulting image as a<br />

Psuedocolor map.<br />

The areas in Red are those that are<br />

higher than 500m.<br />

QGIS for Malaria Page 55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!