29.01.2015 Views

Practical Manual - Malareo

Practical Manual - Malareo

Practical Manual - Malareo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The result window shows the number<br />

of health facilities within 2 kilometers of<br />

the National Roads.<br />

<br />

Dissolve<br />

In this example we will use the KZN_ municipalities layer to determine the Districts in KZN. Each<br />

District contains more than one municipality. Thus these District names are repeated for each<br />

municipality in that District. We can aggregate the municipalities layer to show just these<br />

Districts.<br />

o<br />

o<br />

o<br />

o<br />

o<br />

o<br />

o<br />

o<br />

Start a new QGIS project.<br />

Add the KZN_municipalities<br />

layer.<br />

Open the Attribute Table of<br />

this layer.<br />

Look carefully at the<br />

District Field. You will<br />

notice that districts are<br />

repeated. This is because<br />

there is often more than<br />

one municipality in a district.<br />

Open the Dissolve Window in the<br />

Geoprocessing Menu.<br />

Set the Input Vector Layer as<br />

KZN_municipalities.<br />

Set the Dissolve Field as District.<br />

Give the output shapefile an appropriate<br />

name. Make sure you are working in the<br />

correct folder. Click Ok. Select "Yes" when<br />

asked if you want to add the new layer to the TOC.<br />

QGIS for Malaria Page 51

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

Saved successfully!

Ooh no, something went wrong!