the - medrix€¦ · web viewgilbert's version (1958) of john snow's 1855 map of the...

109
How to use Geographic Information Systems to monitor outcomes of health care research and projects Robert Catherman MEDRIXFebruary 2016 Edition E.3.8 Monitoring Health Care Outcomes Using GIS

Upload: others

Post on 17-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

How to use Geographic Information Systems to monitor outcomes of health care research and projects

Robert CathermanMEDRIX™

February 2016Edition E.3.8

MonitoringHealth CareOutcomesUsing GIS

Page 2: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Monitoring Health Care Outcomes Using GIS

How to use Geographic Information Systems to monitor outcomes

of health care research and projects

Robert CathermanMEDRIX™

February 2016Edition E.3.8

Page 3: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Preface

The purpose of this handbook is to provide a standardized source of information for developing and operating a Monitoring and Evaluation System using Geographic Information System outputs to display health care program and project outcomes.

This handbook includes: Part One: Monitoring and Evaluating Health Care Outcomes. Part Two: Creating Reference Maps. Part Three: Working with Data. Part Four: Creating Thematic Maps. Part Five: Formatting Maps for Printing. Appendices: Information and forms referenced in the main sections of the

handbook.

MEDRIX declares the contents of this handbook to be open-source, available without charge. Copies of this handbook are available for downloading from the MEDRIX website.

Users assume full responsibility for the outcomes of constructing and operating GIS-M&E systems using these instructions.

A handbook edition number identifies the most up-to-date information. The letter before the edition number signifies the language of the document. The first number identifies the version; the number following the period indicates the level of minor revision including corrections and updates. For example, the edition number “E.2.3” indicates this is the second English version released for publication with three levels of minor revisions. The edition number “V.2.2” indicates this is the Vietnamese translation of the English version E.2.2.

This handbook is designed to permit you, the user, to update pictures and information to reflect the realities in your part of the world. Feel free to substitute your own digital pictures to make the information more relevant to readers in your region.

Your feedback about this handbook is welcome. Improving the quality of open source documents is the responsibility of all who use the information.

Submit suggestions and recommended changes for this handbook to:

MEDRIXPO Box 178Redmond, WA 98073 [email protected]

Page 4: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Include the edition number of this handbook in any communications.

This work is licensed under the Creative Commons Attribution-Share Alike 2.5 License. To view a copy of this license, visit the Creative Commons website or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.

You are free:

to Share -- to copy, distribute, display, and perform the work to Remix -- to make derivative works

Under the following conditions:

Attribution. You must attribute the work to MEDRIX as the original creator and refer users to the MEDRIX website at www.medrix.org

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one.

For any reuse or distribution, you must make clear to others the license terms of this work.

Any of these conditions can be waived if you get permission from the copyright holder.

Disclaimer

This publication is based on the collective experience of MEDRIX in monitoring and evaluating the software, methods and procedures described herein. While every effort has been made to ensure the accuracy of this work, any judgments as to the suitability of information for the reader’s purposes are the reader’s responsibility. MEDRIX does not extend any warranties, and assumes no responsibility, for the suitability of this information or the consequences of its use.

Page 5: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

AcknowledgmentsDr. Joe Hannah, of faculty of Geography Department at University of Washington, my instructor in GEOG 360 who taught me principles of map making and how to effectively use GIS technology as well as shared frequent consultations over coffee during the development of this project.

Student Team A from University of Washington class GEOG 335, Service Learning Project, helped with the idea formulation and rough drafts of the first maps: students Geoffrey Morgan, Rahima Niyazova and Robert Sepler.

Student Team B from University of Washington class GEOG 469, Senior project, converted the ArcGIS™ instructions into instructions for using QGIS open source software: students Alyssa Knight, Duc Chi Du, Mike Ridgely, Pao Thao, and Thanh Nguyen. And thanks to Dr. Sarah Elwood and graduate student Joe Eckert for overseeing the 2011 Senior Project work.

Staff of Preventative Medicine department of Health Services, Thua Thien – Hue province, Vietnam, reviewed and critiqued the initial drafts and provided valuable input regarding data collection methods. Special thanks to Dr. Tu, Vice Director, for his enthusiastic support of the idea.

Mrs. Phạm Thị Thu Hà of MEDRIX staff in Hanoi, Vietnam, who prepared and refined the data collection forms, translating the English into Vietnamese.

Ms. Nguyễn Thị Tằm of IREB, Hue, Vietnam, provided translation help early in the project and co-authored an article for a joint Vietnamese-Korean conference held in Hue, Vietnam when these ideas were first aired to the general public.

Ms. Hoàng Ngọc Tường Vy, software engineer in Hue, Vietnam, who had no prior knowledge of GIS, carefully tested the accuracy and readability of the English instructions for creating the QGIS maps, corrected errors and made helpful suggestions for revisions.

Dr. Nguyễn Thụy Thị Hồng, while a PhD candidate at Washington State University, gave the instructions a thorough test, corrected some errors, and made numerous insightful suggestions for improving readability. She also began translation of the instructions from English into Vietnamese.

Mr. Dewey Calfee, reviewer extraordinaire, painstakingly followed these instructions to the letter and uncovered omitted steps, clarified imprecise wording and rewrote the introduction, all after starting from ground zero in learning to use GIS.

Student Team C from University of Washington class of 2012 GEOG 469, capstone project, investigated the capabilities and limitations of converting from desktop-based GIS software to on-line cloud-based GIS software - students Thong Nguyen and Thảo Vũ. Thanks to Dr. Timothy Nyerges for overseeing the Senior Project work.

Ms. Thảo Vũ, BA from UW in 2012, who worked as a summer intern at MEDRIX and completed the mapping case study included in the text.

Student Team D from University of Washington class of 2013 GEOG 469, capstone project, revised formatting to improve readability and added new material - students Anthony Caratao, Dan Kim and Matt Peterson. Thanks to Dr. Timothy Nyerges for overseeing their work.

Philip M. Condit, retired GIS professional with municipal government agencies, for editing revisions from QGIS 2.0 and change of case study material.

John Murphy, GIS professional, who reviewed and made suggestions for incormporating new features from version 2.12.

Chris Beaudette, GIS professional, who thoroughly tested and edited text portions and added numerous screen shots to illustrate the words of instruction with examples.

Page 6: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

ContentsPart 1: Monitoring and Evaluating Health Care Outcomes 6

Chapter 1 Introduction to Geographic Information Systems 7

Part 2: Creating Reference Maps 12

Chapter 2: Installing QGIS Software 13

Exercise 1: QGIS Software Installation for Windows PC 13

Chapter 3: GIS Terminology 14

Chapter 4: Locating GIS Map Data 17

Exercise 2: GIS Map Data File Download 18

Chapter 5: Creating a Reference Map 21

Exercise 3: Creating a Province-Level Reference Map 22

Part 3: Working with Data 29

Chapter 6: Defining Data Requirements and Key Indicators 30

Chapter 7: Designing and Creating a Data Input Table 32

Exercise 4: Create a data file for input to QGIS 33

Exercise 5: Create another data file for input to QGIS 34

Part 4: Creating Thematic Maps 36

Chapter 8: Creating the Thematic Map 37

Exercise 6: Create a category thematic map 38

Exercise 7: Joining layers 40

Exercise 8: Displaying categories with colors 43

Exercise 9: Adding point data to maps46

Chapter 9: Adding Data to the Map 49

Exercise 10: Adding staff training data to the map 49

Page 7: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Part 5: Formatting Maps for Printing55

Chapter 10: Creating Maps for Printing 56

Exercise 11: Add legends, titles, and sources of data56

Chapter 11: Updating data and printing maps 66

Exercise 12: Updating data from field reports 67

Exercise 13: Printing maps 68

Part 6: APPENDIXES 70

Appendix A: Knowing Where You Are - Geographic Coordinates 71

Appendix B: How to take a screenshot 78

Appendix C: How to use Excel Pivot Tables 80

Page 8: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Part 1: Monitoring and Evaluating Health Care Outcomes

.Edition E.3.8

6

MonitoringHealth CareOutcomesUsing GIS

Page 9: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 1Introduction to Geographic Information Systems

Why use maps to communicate a message?

Maps are a compact and elegant method of communicating information. With a well-designed map, a reader should be able to quickly interpret the displayed information without assistance. Today, the most efficient and effective method of producing maps that communicate your message is with a computer-based Geographic Information System.

What is GIS?

A Geographic Information System (GIS) is a system designed to capture, store, manipulate, analyze, manage, and present all types of geographically referenced data. In the simplest terms, GIS is the merging of cartography, statistical analysis, and database technology.

History of use of GIS in public health

Maps have been used in monitoring and evaluation systems long before computers and technical names for processes were developed. One of the early adapters in 1854 was Dr. John Snow who depicted a cholera outbreak in London using points plotted on a map to represent the locations of individual deaths from cholera. His study of the distribution of cholera deaths led Dr. Snow to propose that the source of the disease was a contaminated water pump, the Broad Street Pump, whose handle he had removed in an effort to curtail the spread of the cholera outbreak.

See Figure 1.1 for an example of the type of map Snow used in the 1850s.

While the basic elements of topography and theme existed previously in cartography, the John Snow map was unique, using cartographic methods not only to depict but also to analyze clusters of geographically dependent phenomena. Dr. Snow’s use of a map to display the data he had collected is similar to the method we are proposing in this handbook.

The best book on the story of Dr. Snow is named “The Ghost Map.”

.Edition E.3.8

7

Chapter Objectives Develop a basic understanding of GIS Explore some applications of GIS to public health issues

Page 10: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

The author of the book, Steven Johnson, has prepared an excellent video summarizing the message of his book, which you should watch. This video is available on at http://www.youtube.com/watch?v=3P8shnNEXb4

Figure 1.1. E. W. Gilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854.

Recent history of GIS

In the past several decades, most map making has moved from hand drawn maps to maps produced by computers using specialty software and taking advantage of connected printers for output.

Case Study and Exercises:

The exercises we will use in this curriculum originated from a project completed for the not-for-profit organization MEDRIX working in Vietnam since the mid-1990s. MEDRIX has a long history of sponsoring training of medical professionals using a WHO/UNICEF-designed course titled Integrated Management of Childhood Illness (IMCI).

.Edition E.3.8

8

Page 11: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Training has targeted the health care professionals in the nine districts of Thua Thien - Hue province in central Vietnam. The nine districts vary greatly in population density of residents.

The question this project proposes to answer is this:

Is MEDRIX training health workers in proportion to the percentage of each district’s resident population where the health professionals work?

For example, , If one district has 40% of the region’s population, are 40% of the health care professionals trained by MEDRIX programs working in that district?

The form on the following page can be used to define the maps needed for a project and record the sources of data used.

.Edition E.3.8

9

Page 12: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Form 1: GIS Project Data

Project name: Organization Name: Your name:

Project due date: Key contacts: Key stakeholders:

Project description:

Benefits to organization:

Intended audience(s) and languages:

GIS software used: (6)

Map file sources: (7)

Key indicators: (9)

Data sources, responsible persons and frequency of collection: (9,10)

.Edition E.3.8

10

Page 13: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Project name:

Describe the deliverable maps expected including size of area covered: (12)

What question does this map answer?

Comments:

.Edition E.3.8

11

Page 14: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Part 2:Creating Reference Maps

.Edition E.3.8

12

MonitoringHealth CareOutcomesUsing GIS

Page 15: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 2: Installing QGIS Software

Exercise 1: QGIS Software Installation for Windows PCTime to Complete: 10-20 minutes (Depending on your download speed)

The following instructions will help you download the software, set the program to read Vietnamese accent marks, and create a province-level reference map.

Step 1: Download the latest version of QGIS software from the QGIS download website:Note – Special instructions for Mac users can be found in Appendix A of

this document.Choose Stand Alone Installer. To see whether your computer has a 32 or 64 bit processor, go to Control Panel > System and view the “System type” in the System section:

If you are unsure as to whether to install a 32 or 64 bit version of QGIS, select the 32 bit version.

Install the QGIS program by following the instructions on that website. Detailed instructions can be found on the QGIS Installers web page.

Step 2: In the situation where the Internet is not available, install the software from the thumb drive supplied by your instructor.

Insert the thumb drive in your computer’s USB portBrowse for the file QGIS_InstallDouble click on the file QGIS_Install and follow the instructions

Step 3: Testing the installation

Start QGISIf your installation was successful, the QGIS program should open.

Select Project > Exit QGIS

References:

.Edition E.3.8

13

Page 16: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

QGIS – http://www.qgis.org/

.Edition E.3.8

14

Page 17: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 3: GIS Terminology

When operating GIS software, it is important to understand the vocabulary used to describe the different files, layers, datasets, and resources that are involved in making a map.

Attribute: A characteristic of a geographic feature, typically stored in tabular format and linked to the feature in a relational database. The attributes of a well-represented point might include an identification number, address, and type.

Vector: A representation of the world using points, lines, and polygons. Vector models are useful for storing data that has discrete boundaries, such as district, province, and commune borders, as well as land parcels, and streets.

Layer: A layer is a slice or portion of the geographic reality in a particular area, and is more or less equivalent to a legend item on a paper map. A layer represents one kind of information about the area of interest on a map. On a road map, for example, roads, national parks, political boundaries, and rivers would be different layers.

Figure 3.1: This image shows the different layers as slices of a geographic feature that can be laid atop one another for viewing or spatial analysis..

Edition E.3.815

Page 18: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Coordinate System: A reference framework consisting of a set of points, lines, and/or surfaces, and a set of rules, used to define the positions of points in space in either two or three dimensions. The Cartesian coordinate system and the geographic coordinate system used on the earth's surface are examples of coordinate systems that are commonly used in GIS. It’s important to note that when adding layers to a map in a GIS, all layers must use the same coordinate system. In the exercises found in this handbook, we use the WGS84 coordinate system.

Map Scale: The ratio or relationship between a distance or area on a map and the corresponding distance or area on the ground, commonly expressed as a fraction or ratio. A map scale of 1/100,000 or 1:100,000 means that one unit of measure on the map equals 100,000 of the same unit on the earth. The concepts of “large scale” and “small scale” are often reversed. When comparing the scales 1:1,000,000 and 1:100, for example, the latter is actually a much “larger” scale. “Large scale” means “zoomed far in” and “small scale” means “zoomed far out”, so as you can see, 1:100 is zoomed much farther “in” than 1:1,000,000. 1:1 would be the largest possible scale, i.e. where 1 meter in real life is equal to 1 meter on the map.

Resolution: The detail with which a map depicts the location and shape of geographic features. The larger the map scale, the higher the possible resolution. As scale decreases, resolution diminishes and feature boundaries must be smoothed, simplified, or not shown at all; for example, small areas may have to be represented as points at small scales but could be represented as polygons at large scales.

Extent: The boundary that contains the entire area of interest of the map. For example, a map of Vietnam may have an extent that includes only Vietnam itself.

Shapefile: A vector data storage format for storing the location, shape, and attributes of geographic features. A shapefile is stored in a set of related files and contains one feature class.

Clip: A process that extracts features that reside entirely inside a user-defined boundary.

Reference Map: A map designed to show where geographic features are in relation to each other. A road map is an example of a Reference Map.

Thematic Map: A map designed to convey information about a single topic or theme, such as population density or geology.

Choropleth Map: A thematic map in which areas are distinctly colored or shaded to represent classified values of a particular phenomenon. For example, population of an area could be clas-sified into densities and rendered on a map using a color ramp, where light blue indicates a pop-ulation of 0-1000, a slightly darker blue represents a population of 1000-2000 etc.

Dot Density Map: A quantitative, thematic map on which dots of the same size are randomly placed in proportion to a numeric attribute associated with an area. Dot density maps convey the intensity of an attribute.

Inset Map: A small map set within a larger map. An inset map might show a detailed part of the map “magnified” to a larger scale, or show the extent of the existing map drawn at smaller scale

.Edition E.3.8

16

Page 19: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

within the context of the larger map. Inset maps almost always have a border around them to distinguish them from the larger, containing map.

.Edition E.3.8

17

Page 20: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 4: Locating GIS Map Data

After you install the GIS software application, the next step is to locate digital maps for the project area of interest to you and your organization.

One useful source of digital maps for GIS systems is the website for GADM Database of Global Administrative Areas which can be accessed at http://www.gadm.org/ Another useful site containing data for roads, rivers, population data, etc. is http://www.diva-gis.org/gdata

GADM is a spatial database of the world's administrative boundaries for use in GIS software. Digital data can be downloaded from the GADM website by country. The coordinate reference system is “latitude/longitude” and the datum used is “WGS84”. These maps contain up to 5 levels of administrative subdivisions.

A general understanding of the concept of “administrative areas” is presented in Wikipedia at http://en.wikipedia.org/wiki/Administrative_division

As an example, the administrative levels of the country of Vietnam are, from largest to smallest:

1: Country2: Country is divided into provinces (tỉnh) or centrally controlled municipalities (thành phố trực thuộc trung ương), which are administratively on the same level as provinces3: Provinces (tỉnh) are divided into districts or counties (huyện), provincial cities (thành phố trực thuộc tỉnh), and county-level towns (thị xã). The centrally controlled municipalities are subdivided into districts (quận) and counties, which are further subdivided into wards (phường).4: Counties (huyện) are in turn subdivided into towns (thị trấn) or communes (xã). The centrally controlled municipalities are subdivided into rural counties (huyện), county-level towns or townlets (thị xã), and urban districts (quận).5: Urban districts (quận) are subdivided into wards (phường).

.Edition E.3.8

18

Chapter Objectives Learn where to find appropriate GIS map data Download digital data for use in GIS maps

Page 21: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Exercise 2: GIS Map Data File Download

Step 1: Download administrative maps

Create a new folder on your computer for this project andname the new folder “TT-Hue-Province”

Create a sub-folder in this new project folder named “VN-Maps”

Download the administrative maps from the GADM website at http://www.gadm.org/

Select download country level files

Country = VietnamFile format = ShapefileClick the OK button

.Edition E.3.8

19

Exercise Objectives Learn how to download map data files

Page 22: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Click the download link button

NOTE: At the time this curriculum was prepared, the GADM website maps were version 2.8, dated November 2015.

After the download finishes, copy and paste the ZIP file into the folder named VN-Maps that you created earlier

Extract the compressed ZIP files into the folder named VN-Maps(Note: If you need help with this step, a reliable open-source program for uncompressing files is 7-Zip -- you can download at http://www.7-zip.org/)

At this point, fill in your map source choices on the Project Form in the box titled “Map file sources”.

Step 2: In the situation where the internet is not available, copy the map files from the thumb drive supplied by your instructor.

.Edition E.3.8

20

Page 23: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Insert the thumb drive in your computer’s USB portBrowse for the folder QGIS_MapsCopy all files in the folder QGIS_Maps into the folder VN-Maps

.Edition E.3.8

21

Page 24: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 5: Creating a Reference Map

Purpose

The purpose of creating a reference map is to provide a starting point for displaying data related to the main topic of your project.

A reference map orients readers to the broad-scale geography of the area of interest. The reference map usually displays regional boundaries such as borders of countries, states, etc. In addition, the reference map may contain roads, rivers, lakes, cities and towns.

Coverage

The area of interest of your project determines the size of the area covered by the reference map. There are many ways to present this area, but it is important to choose a scale that presents the information in a meaningful way. The map scale should be small enough that viewers can orient the project area of interest to the area around it, but not so small that the data of interest becomes “lost” in the region around it.

Tips

Exercise care in selecting how many detailed features to include on the reference map. Features should be included that will assist the user in interpreting the main topic of the map – the theme of the map. Features that do not add to the user’s understanding should be omitted. The simpler the map, the better; maps cluttered with too much detail can detract from the message you want to communicate.

More details will be added to the map in Chapter 8 when we create the Thematic Map layer; at that time we will add the unique data related to the specific project you are monitoring.

References:

The GADM website is an excellent source of digital reference maps of regional boundaries (also called administrative areas) and was described in Chapter 4.Example: A base reference map for one province might look like this:

.Edition E.3.8

22

Chapter Objectives Load map data into QGIS Create a reference map

Page 25: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Figure 5.1: Reference Map of Thua-Thien Hue province.

Exercise 3: Creating a Province-Level Reference MapTime to Complete: 20-30 minutes

Two different types of map layers are needed for this project: 1. REFERENCE map layers that show the boundaries for the country,

province, district and commune levels, and 2. THEMATIC map layer that contains the data to be analyzed and

displayed on the REFERENCE map.

In this exercise you will create the REFERENCE map layers. In a later chapter, you will create the THEMATIC map layer.

Step 1: Run QGIS program

Start QGISChoose menu option Project > New

.Edition E.3.8

23

Exercise Objectives Learn how to create a Province-Level Reference Map Learn how to “clip” layers

Page 26: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Step 2: Add a layer for the country On the menu bar select Add Vector Layer icon

For Dataset, browse to folder VN-MapsSelect file VNM_adm0.shp

Open > Open

Right click on the layer named VNM_adm0 > Rename to select the name then type “Country” on top of “VNM_adm0”

Step 3: Add a layer for provinces On the menu bar select Add Vector Layer icon

For Dataset, browse to folder VN-Maps.

Edition E.3.824

Page 27: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Select file VNM_adm1.shpOpen > Open

Step 4: Add a layer for districts On the menu bar select Add Vector Layer icon

For Dataset, browse to folder VN-Maps Select file VNM_adm2.shpOpen > Open

Step 5: Add layer for communesOn the menu bar select Add Vector Layer icon

For Dataset, browse to folder VN-Maps Select file VNM_adm3.shpOpen > Open

Step 6: Save Project

Choose menu option ProjectSelect Save As

Browse to folder TT-Hue-Province Type file name = TT-Hue-Map

Save

Step 7: Clip layers to a specific area of interest to remove all data except data for the province of TT-Hue. This will make the project file load and redraw much faster.

Figure 5.2: The process of clipping a smaller area from a larger area is shown. If you only need to focus on a certain area, you can discard the unnecessary spatial information with no loss to the original data. The first frame shows the original image, followed by the same image with the area to be clipped selected by the circle. Finally, the last image shows the new layer, clipped from the original.

First, you will select the smaller area that you will use to perform the “clip” function

Right click VNM_adm1 layer > PropertiesSelect General tab Select Query Builder button in the Feature subset boxDouble click VARNAME_1 in Fields box to insert in SQL where clause

boxSingle click Operator “=” to insert in SQL where clause box

.Edition E.3.8

25

Page 28: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Choose “All” in Values boxDouble click Thua Thien-Hue to insert in SQL where clause boxOK > Apply > OK

You will probably experience a delay waiting for the screen to redraw. This redrawing is called “rendering”. We will temporarily fix this problem by telling QGIS not to redraw the screen after each activity.

In the lower right corner of your screenUncheck the box next to Render

You will now perform the “clip” function

Choose menu option Vector > Geoprocessing Tools > ClipIn the Clip window, choose Input vector layer = VNM_adm1Choose Clip layer = VNM_adm1Click the Browse button and browse to folder named TT-Hue-ProvinceIn the Save Output Shapefile window, select UTF-8 in Encoding box In File Name box type Province Click Save in the Save Output Shapefile windowCheck the box Add result to canvas?Click OK in the Clip window

Right click VNM_adm1 layer > Remove

Choose menu option Vector > Geoprocessing Tools > ClipChoose Input vector layer = VNM_adm2Choose Clip layer = ProvinceBrowse to folder named TT-Hue-ProvinceIn File Name box type Districts

.Edition E.3.8

26

Page 29: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Save Choose Yes for question Would you like to add the new layer to the TOC? OK Close

Right click VNM_adm2 layer > Remove > OK

Choose menu option Vector > Geoprocessing Tools > ClipChoose Input vector layer = VNM_adm3Choose Clip layer = ProvinceBrowse to folder named TT-Hue-ProvinceIn File Name box type Communes> SaveChoose Yes for question Would you like to add the new layer to the TOC? OKClose

Right click VNM_adm3 layer > Remove > OK

In the lower right corner of your screenCheck the box next to Render

Choose menu option Project > Save

The project file is now optimized to contain only map data for TT-Hue province.

Step 8: Zoom to province level

In the TOC panel, uncheck the box next to Country

Right click Province layer > Zoom to Layer

Step 9: Adjust layer properties

For this project we will not be using the layers Country and CommunesUncheck the box to the left of the layer CountryUncheck the box to the left of the layer Communes

Right click Province layer > PropertiesSelect Style tab Click on Simple Fill

For Fill Style select No BrushFor Border Color select blackFor Border Style select solid line

.Edition E.3.8

27

Page 30: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

For Border Width type 0.5

Your dialog box should look similar to this:

Click OK

Right click Districts layer > PropertiesSelect Style tab Click on Simple Fill

For Color Fill select pale yellow > OKFor Fill Style select solidFor Border Color select blackFor Border Style select solid lineFor Border Width type 1.0

OK

Step 10: Save Project and exit

Choose menu option Project > SaveChoose menu option Project > Exit QGIS

This completes the REFERENCE map for the Province of Thua Thien-Hue.These instructions should produce a simple reference map of Thua Thien-Hue province that looks similar to the following map (colors may differ):

.Edition E.3.8

28

Page 31: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Figure 5.3: A screen shot of a completed reference map for the Thua Thien Hue province in Vietnam.

.Edition E.3.8

29

Page 32: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Part 3:WorkingwithData

.Edition E.3.8

30

MonitoringHealth CareOutcomesUsing GIS

Page 33: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 6:Defining Data Requirements and Key Indicators

Purpose of collecting data

Our purpose is to define and collect individual items of data that can be displayed in map format to create a useful information tool for project stakeholders.

These individual data items are often described as “key indicators”. One definition of a key indicator is: “a quantitative or qualitative factor or variable that provides a simple and reliable means to measure achievement, to reflect changes connected to an intervention, or to help assess the performance of a development actor.” (Kusek and Rist, 2004)

Good questions to ask when defining key indicators are How will we know success when we see it? Are we making progress toward the desired outcomes of our project?

Deciding where to collect data

Where you collect data depends on the scope and scale of the area covered by your project. You may decide to sample data at every location in your project. Or, because collecting data can be both time and cost intensive, you may decide to only sample some locations as representative of all other locations. The decision where to collect data is highly dependent on the parameters of your project. Deciding where to collect data may influence your next decision, which is deciding what data to collect.

Deciding what data to collect

Data is the fuel that drives this project. The decision about what data to collect may be one of the most important decisions you will make.

Two basic types of data can be used to accomplish your purposes. Primary data are collected firsthand by you for your specific project and are usually the most useful data because you collect this data with your project goals in mind. Another type of data is

.Edition E.3.8

31

Chapter Objectives Define the purpose of collecting data Decide where to collect data Choose what data to collect

Page 34: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

secondary data which originates from others who collect data for a task unrelated to your project. Nevertheless, secondary data can still be of value to you.

The cardinal rule of data collection is “Only collect the amount of data you need – no more.” Limit the number of data items to be monitored to a manageable amount that will provide the most useful information for the project and that will not require the use of excessive personnel time and project money.

The key indicators you define for data collection are highly dependent on the nature of your project. At this point it would be a good idea to read Chapter 3, Selecting Key Performance Indicators to Monitor Outcomes in the book “Ten Steps to a Results-based Monitoring and Evaluation System”.

The goal is to identify the key indicators needed to create a thematic map that will be a graphic portrayal of the answer to a question.

Some examples of key indicators for data collection used in the exercises in this handbook are:

What district does the medical staff person work in? What is the population of the districts in the province? What job title does the medical staff person hold?

In addition to key indicators, we must have some spatial data for the purpose of accurately positioning the data on a map. Each set of key indicators for one specific location must have coordinates specifying the latitude and longitude of the location. This location data can be obtained using a GPS, derived from a reference map or from an online resource such as Google Earth or Google Maps.

At this point, fill in your data source choices and your key indicators on the Project Form in the boxes titled “Data sources” and “Key indicators”.

.Edition E.3.8

32

Page 35: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 7:Designing and Creating a Data Input Table

Purpose

This is perhaps one of the most important chapters in this entire document. Consequently, it will also be longer than most chapters in order to explain the steps in creating the data input table.

In this chapter we will use the data items that you defined as key indicators in Chapter 6, and logically format those items in a spreadsheet. This will result in a spreadsheet table that will be the input to your GIS program and will reside in an attribute table inside your GIS application.

Getting Started

This process is best accomplished by repeating it several times and refining it each time, or “iteratively”. First, sketch your ideas out on paper. Then create a simple table in a spreadsheet program such as Microsoft Excel or the free, open-source software OpenOffice and import the data into your GIS to create an attribute table. Once this process is well understood and working correctly, then complete your spreadsheet table with all the data items (key indicators) you plan to monitor and repeat the importing step.

Defining data items as GIS attributes

Required data items

Unique record ID

Each row of data in the spreadsheet should have a unique identifier. You can assign these unique identifiers yourself or use some system that already exists to number the locations..

Saving data for importing into GIS

Some GIS software requires that files used for importing data be in the format CSV (comma separated variables). If you are using non-English language text in your .

Edition E.3.833

Chapter Objectives Formatting key indicators in a spreadsheet Learning what data items are required for QGIS Designing data collection forms

Page 36: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

spreadsheet, you should save your spreadsheet file in Unicode Text format to preserve characters with accent marks or non-English characters. Most spreadsheet programs have this option for saving files. Test your GIS software to see if this is a requirement for importing your data files.

Exercise 4: Create a data file for input to QGISTime to complete: 15 minutes

Step 1: Create a data file of the staff training statistics of each district.

In Excel create a data file of the following staff training statistics by district in TT-Hue province and save the file in Unicode Text format. The Unicode Text option will permit you to store Vietnamese characters with proper language markings

Start Excel spreadsheet program

In Excel, enter the staff training data shown. When you have finished entering data

Select File > Save As > Staff in folder TT-Hue-ProvinceIn the Save as type box, choose Unicode TextSave > OK > yes File > Exit > Don’t Save

The ID_2 field will be used later to merge this data with the district map layer. .

Edition E.3.834

Exercise Objectives Learning how to create a data file for importing into QGIS

Page 37: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Exercise 5: Create another data file for input to QGIS Time to complete: 10 minutes

Step 1: Create a data file of the population of each district.

In Excel create a data file of the following populations by district in TT-Hue province and save the file in Unicode Text format. The Unicode Text option will permit you to store Vietnamese characters with proper language markings.

Start Excel spreadsheet programIn Excel, enter the population data shown above. When you have finished

entering data

Select File > Save As > Pop in folder TT-Hue-ProvinceIn the Save as type box, choose Unicode TextSave > OK > yes

.Edition E.3.8

35

Mac usersIf you are using an Apple Mac and Excel for Mac, there is a known problem when the file is saved as File Type = “CSV”. So, even if you don’t intent to write text in languages other than English, use file type “UTF-16 Unicode Text” so the data can be successful added as a delimited text layer in QGIS.

Exercise Objectives Practicing how to create a file of population data for importing into QGIS

Page 38: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

File > Exit > Don’t Save

.Edition E.3.8

36

Page 39: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Part 4:Creating Thematic Maps

.Edition E.3.8

37

MonitoringHealth CareOutcomesUsing GIS

Page 40: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 8: Creating the Thematic Map

Maps are a compact and elegant method of communicating information. Thematic map layers are content-specific displaying data related to the topic or theme of the map.

Purpose

The purpose of creating a thematic map is to display the data that has been defined and collected in Chapters 6 and 7 using the reference map created in Exercise 3 of Chapter 5 as a base or platform. The data is the “theme” that will be displayed on your completed maps.

At this point, fill in your outcome map descriptions on Form 1, Project Form in the box titled “Outcome maps expected”. Before you spend any time creating thematic maps, fill in the box of the Project Form titled “What question does this map answer”.

Symbols

Once you have imported your data into GIS and displayed the data as a map layer, you must give the person viewing your map some clues to correctly interpret the meaning of your data. Data is displayed as symbols such as points, lines, objects or pictures on the map that represent real objects on the ground.

Some tips on choosing appropriate symbols are: Using different shapes for symbols is preferred to using different colors. The

reason is that if your maps are copied on a black and white copy machine, shapes will be unchanged but colors may become indistinguishable.

Colors may have “hidden” meanings that may vary from culture to culture - the classic example is “red means danger, yellow means caution and green means good” which corresponds to the colors in a traffic light. In some cultures, those colors may have other meanings. Understand the meanings in the culture you are working in.

Choose shapes and colors for point symbols that are culturally appropriate -- review your choices with key stakeholder.

.Edition E.3.8

38

Chapter Objectives Creating a thematic map Learning how to import data from spreadsheet files Choosing appropriate symbols and labels to use in your map

Page 41: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Exercise 6: Create a category thematic map Time to complete: 30 minutes

A category map is a thematic map in which areas are shaded or patterned in proportion to the measurement of the statistical variable being displayed on the map, such as population density or per-capita income. The category map is most useful in displaying two sets of data on the same map and provides a useful method of comparison of those two sets of data values. In the following example we will compare the number of health workers receiving training with the general population densities of areas where the workers serve. A category map is sometimes called by its more technical name - a “choropleth” map.

Figure 8.1: An example of a Choropleth map that provides an easy way to visualize how a measurement varies across a geographic area or show the level of variability within a region.

.Edition E.3.8

39

Exercise Objectives Create a category map Importing data from a spreadsheet file

Page 42: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

The next step is to import data from your research into the GIS software and display this data on your thematic map.

Step 1: Add the district population data as a text layer to your QGIS reference map

Start QGIS

Select menu option Project > Open RecentSelect File Name = TT-Hue-Map > Open

It is a good idea to save this project now with a new name so you do not accidentally overwrite your “master” copy of your reference map. You will use the master copy of the reference map again and again to save time.

Select menu option Project > Save AsBrowse to folder TT-Hue-ProvinceType File name = CategoryMap > Save

Select the menu option Layer > Add LayerOn the drop down sub-menu select Add Delimited Text Layer

Browse for the file Pop > Open (created in Exercise 5)On the File Format line, select Custom delimitersCheck the Tab boxOn the Geometry Definition line, select No Geometry

Your Create a Layer from a Delimited Text File dialog should look similar to this:

.Edition E.3.8

40

Page 43: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Click OK

Step 2: Save your project file

Select menu option Project > Save

Exercise 7: Joining layers

We now have the boundaries of the districts in the District layer and populations of the districts in the Pop layer. We want to add the population data to the District layer. We can do this using the Join function. Each layer must have a common field for the Join function to use. While it is not necessary that the fields are named identically, it is necessary to have common values between the joined fields. In our case the common field is ID_2 in both layers.

Step 1: Join the Population layer with the District map layer

Right click Districts layer > PropertiesSelect Joins tab

Select plus sign Choose Join Layer PopChoose Join Field = ID_2 Choose Target Field = ID_2

Your Add vector join dialog should look similar to this:

.Edition E.3.8

41

Page 44: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Click OK. Your Layer Properties – Districts | Joins dialog should look similar to this:

Click OK

The population data for each district has now been added to the data in the District layer. You will see the added population data in the next step.

To permanently save the population data joined to the Districts layer, the layer must be saved to a new shapefile.

Right click Districts layer > Save AsSelect Format = ESRI ShapefileBrowse to folder TT-Hue-ProvinceType File name = Districts_with_Pop > Save

Check the box Add saved file to mapClick OK

The Population layer can be removed since that data now resides in the Attribute Table of the Districts_with_Pop layer.

Right click the Pop layer > Remove > OK

Step 2: Performing calculations on data in the attribute table

Calculate the percentage of each district’s population as a part of the total population of the province.

Right click Districts_with_Pop layer > Open attribute table .

Edition E.3.842

Page 45: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Select Toggle Editing at the top of the screen to turn editing “on”

Select the Open Field Calculator iconCheck the Create a New Field box Type Pop% in the Output Field NameIn Output Field Type select whole numberClick on the arrow sign next to Fields and Values Double click on Pop_PopClick once on “*” operator to multiply Type 100Click once on “/” operator to divide Double click on Pop_Total

Your Field calculator dialog should look similar to this:

Click OK

Select Toggle Editing on the toolbar in the Attribute table – Districts_with_Pop dialog to turn editing “off” Choose Save in the Stop editing prompt

Check your work Scroll to the far right edge of the tableYou should see the column you added named Pop% filled with the calculated percentages:

.Edition E.3.8

43

Page 46: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Close the attribute table by clicking on the X in the upper right corner

Six months from now, someone might ask you, “What year do the populations data represent?” A good practice to adopt is to record the source of your data while that information is still fresh in your mind. The place to store that data is in the Metadata tab of Properties.

Right click Districts_with_Pop layer Select PropertiesSelect the tab Metadata

In the Title box, type Population data 2014In the Abstract box

Type District boundaries from http://www.gadm.org version 2.7, August 2015

Population data from Thua Thien Hue Statistic Year Book 2014 issued by Statistical office of Thua Thien Hue province for the year 2014

Click OK

Step 3: Save your project file

Select menu option Project > Save

.Edition E.3.8

44

NOTE: If you have used QUERY BUILDER on this layer, you cannot edit data in the attribute table.

Page 47: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Exercise 8: Displaying categories with colors

Step 1: Display population distribution on a category map using district population data.

Right click Districts_with_pops layer > PropertiesSelect Style tab

Choose Graduated in drop-down box at upper leftChoose Column box = Pop%In Precision box type 0Choose Mode = Natural Breaks (Jenks)Choose Classes = 4 Click on Classify button

Within the Color ramp, choose Greens

Apply > OK

Step 2: Define, format and position the names of districts on the map

Select the Districts_with_pops layerSelect main menu option Layer > Labeling

Check “X” in box to left of Label this layer withChoose Name_2 in Label this layer with box

.Edition E.3.8

45

Exercise Objectives Display colors based on data values Define text for use in legends

Page 48: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Select Text optionSelect Font = Arial, Style = Bold, Size = 16, Select Color = black

Select Placement tab Choose Placement around centroid

Choose Distance = 6 mmSelect Buffer tab

Check box next to Draw Text BufferClick OK

Step 3: Save your project file

Select menu option Project > Save

Your map should now look similar to this map

.Edition E.3.8

46

NOTE: Most map readers intuitively understand that dark colors represent higher values and light colors represent lower values. When choosing your colors, remember that most map readers will generally understand a dark-to-light color scheme.

Page 49: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Figure 8.2: Categories distinguished by color

Exercise 9: Adding point data to maps Time to complete: 30 minutes

Adding data at specific points on a map is an important skill to learn. For this project, let’s add the district capital cities of each district to the map.

Step 1: Create a data file of the capital cities of each district.

In Excel create a data file of the following capital cities by district in TT-Hue province and save the file in Unicode Text format. The Unicode Text option will permit you to store Vietnamese characters with proper language markings.

Addition data could be added in Columns E and beyond. Some examples of additional data might be the city’s population, land area, elevation, etc.

Figure 8.3: Capital cities data

Start Excel spreadsheet program

.Edition E.3.8

47

Exercise Objectives Import point data from a spreadsheet file

Page 50: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Format cells in columns C and D as Numeric with 3 decimal places

In Excel, enter the capital cities data shown. When you have finished entering data

Select File > Save As > Capitals in folder TT-Hue-ProvinceIn the Save as type box, choose Unicode TextSave > OK > yes File > Exit > Don’t Save

Step 2: Add the capitals data as a text layer to your QGIS reference map

Select the menu option Layer > Add LayerOn the drop down sub-menu select Add Delimited Text Layer

Browse for the file Capitals > OpenOn the File Format line, select Custom delimitersCheck the Tab box

Geometry Definition should automatically be set to PointsThe X Field box should contain LonThe Y Field box should contain LatOKSelect WGS 84OK

Select the Capitals layerSelect main menu option Layer > Labeling

Check “X” in box to left of Label this layer withChoose CityName in Label this layer with box Select Buffer tab

Check box next to Draw Text Buffer > OKOK

Your map should look similar to the following:

.Edition E.3.8

48

Page 51: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Figure 8.4: Capital cities of districts in Thua Thien Hue province

Step 3: Turn off the display of point data for capital cities

We will not be displaying the capital cities in this project so we will turn their display “off”.

Uncheck the “X” to the left of the Capitals layer

Step 4: Save your project file

Select menu option Project > Save

.Edition E.3.8

49

Page 52: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 9: Adding Data to the Map

Importing the key indicator data you have collected into your QGIS software is the next step to display data on your thematic map.

Exercise 10: Adding staff training data to the map

Step 1: Add staff training statistics as a text layer using data from Excel file

Select the menu option Layer > Add LayerOn the drop down sub-menu select Add Delimited Text Layer

Browse for the file Staff > OpenOn the File Format line, select Custom delimitersCheck the Tab boxOn the Geometry Definition line, select No GeometryClick OK

Step 2: Join the Staff layer with the Districts map layer

Right click Districts layer > PropertiesSelect Joins tab

Select plus sign Choose Join Layer StaffChoose Join Field = ID_2 Choose Target Field = ID_2

Click OK > OK

The staff trained counts for each district has now been added to the data in the District layer. You will see the added count data in the next step.

To permanently save the staff trained counts data joined to the Districts layer, the layer must be saved to a new shapefile.

Right click Districts layer > Save AsSelect Format = ESRI ShapefileBrowse to folder TT-Hue-ProvinceType File name = Districts_Staff > Save

.Edition E.3.8

50

Exercise Objectives Practice importing data from a spreadsheet file Display data using the labeling function Create and save a style

Page 53: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Check the box Add saved file to mapClick OK

The Staff layer can be removed since that data now resides in the Attribute Table of the Districts_Staff layer.

Right click the Staff layer > Remove

Step 3: Add a column to attribute file to total staff counts

Right click Districts_Staff layer > Open attribute table

Select Toggle Editing at the top of the screen to turn editing “on”

Select the Open Field Calculator iconCheck the Create a New Field box Type Total in the Output Field NameIn Output Field Type select whole numberClick on arrow sign next to Fields and Values Double click on Staff_DoctClick once on “+” operator to add Double click on Staff_NursClick once on “+” operator to add Double click on Staff_MidwClick OK

Select Toggle Editing on the toolbar to turn editing “off” Choose Save

Check your work Scroll to the far right edge of the tableYou should see the column you added named Total filled with the total staff count by district:

.Edition E.3.8

51

Page 54: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Close the attribute table by clicking on the X in the upper right corner

Step 4: Display staff training statistics on the map

Display the number of staff trained

Right click Districts_Staff layer > Properties

Select Labels tab Check “X” in box to left of Label this layer withChoose Staff_doct in Label this layer with box Select Text option

Select Font = Arial, Style = Bold, Size = 20Select Color = black

Select Placement option Choose Placement offset from CentroidChoose Offset X,Y = 0,0 mm

Select Buffer optionCheck box next to Draw text bufferIn Size box, type 2

Select Rendering optionCheck box next to Show all labels ….

When you are finishedSelect Style > Save Style Select QGIS Layer StyleFileBrowse to folder = TT-Hue-ProvinceType Style Name = DoctorStyleSave > OK

Your map should now look similar to this:.

Edition E.3.852

Page 55: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Step 5: Changing the display for more effective communication.

Two districts on the map had zero doctor participants in the IMCI training. We would like to emphasis that these districts should receive some training opportunities. How can we make the zero numbers “jump up and attract attention”? The following is one way easy to accomplish this goal

Right click Districts_Staff layer > DuplicateAnother layer name Districts_Staff copy will be created

Right click Districts_Staff copy layer > PropertiesSelect General tab

Select Query Builder in the lower right cornerDouble click on Staff_doctClick once on the = symbolType 0 after the = symbol

Select Labels tab Select Text option

Select Font = Arial, Style = Bold, Size = 30Select Color = red

.Edition E.3.8

53

Page 56: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Select Style > Save Style Select QGIS Layer StyleFileBrowse to folder = TT-Hue-ProvinceType Style Name = DoctorStyleZeroSave > OK

OK

Check “X” in the check box for the layer Districts_Staff copy

In the TOC of layers, the layer Districts_Staff must be above the layer Districts_Staff copy. If the layers are not in this order, click and drag to this order.

Now your map should look similar to this:

Step 6: Display other staff training statistics on the map

Create a style for Nurses by returning to Step 4 above, and following the same steps

Choose Staff_Nurs in Label this layer with boxRepeat the symbol, value and label formatting steps above

(you may need to reduce the number of Classes)When you are finished

Select the Save Style buttonSelect QGIS Layer StyleFile

.Edition E.3.8

54

Page 57: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Browse to folder = TT-Hue-ProvinceType Style Name = NurseStyleSave > OK

Repeat the style creation for Midwife

Step 7: Save your project file and exit QGIS

Select menu option Project > Save

Select menu option Project > Exit QGIS

.Edition E.3.8

55

Page 58: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Part 5: Formatting Maps for Printing

.Edition E.3.8

56

MonitoringHealth CareOutcomesUsing GIS

Page 59: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 10: Creating Maps for PrintingExercise 11: Add legends, titles, and sources of data

Time to Complete: 45 minutes

This exercise will help you create a template that will make it much easier to recreate a map with the same legend and symbology. This will save you a lot of time; you will not have to recreate the legend and symbology over and over for each map.

Step 1: Start QGIS

Start QGIS

Select menu option Project > Open RecentBrowse to folder TT-Hue-ProvinceSelect File Name = CategoryMap > Open

Step 2: Load the status style

Right click Districts_Staff layer > PropertiesSelect Style button Select Load Style optionChoose DoctorStyleZero > Open > OK

Right click Districts_Staff copy layer > PropertiesSelect Style button

Select Load Style optionChoose DoctorStyle > Open > OK

Step 3: Create a new template for printing the map

Select the map layers you want to appear on the printed map. In the table of contents on the left of the screen, uncheck layers you don’t want to print. Normally, you will have checked the layers of Districts_Staff, Districts_Staff copy and Districts_with_pop

Position the map in the screen as you want it to appear when printed.

.Edition E.3.8

57

Exercise Objectives Learn how to prepare maps for distribution Create template for the map Add titles, legends and text boxes to the map

Page 60: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

(optional) Select the Zoom In icon and, while holding down the left click button, draw a rectangle around the area that you want to appear when the map is printed.

Composer Format:

Select menu option Project > New Print ComposerType Doctor in the Composer Title box > OK

On the menu bar on the left, select the Add New Map icon Hold down the left click button, draw a rectangle around the area where you want to the map to appearIf the map does not appear the way you want,

Go back to the main map to adjust the view Return to Print Composer

If the map does not render clearly or sharply

Click on the Refresh icon

To keep the map from being accidentally moved, lock its positionLeft click anywhere inside the map

Click on the Lock icon

Select menu option Composer Select Save as Template…Browse to folder = TT-Hue-Province File Name = DoctorMapSave

Step 4: Adding Title, Legend and other map text

To make changes to this print layout once it has been created, Select menu option Project

Select Print Composers = Doctors

For the correct positioning of the following labels, refer to the sample map at the end of this exercise.

Step 4.1: Add Map Title (bi-lingual - Vietnamese and English):

Map titles can be in a single language or bi-lingual. We will create one bi-lingual title to demonstrate the method and will then let you create other bi-lingual text on your own.

.Edition E.3.8

58

Page 61: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

For “category map” titles, a common terminology to use begins with “Distribution of ….”

On the menu bar, select Layout > Add LabelClick in the map at the position where you want the title to appear

In the right panelSelect Item Properties tab

In the Main Properties box type (or copy and paste) an appropriate Vietnamese title for the map

Phân bố của dân số theo huyệnSố bác sĩ được đào tạo IMCI taitỉnh Thừa Thiên Huế giai đoạn 2006-2015

Select Font > Arial > Font Style > Bold > Size 16 > OKSelect Alignment Horizontal = Left Check X in Frame boxUncheck X in Background box

On the map, drag the edges of the Title frame until all text is visible and there is a blank space for the English title at the bottom of the frame.

On the menu bar, select Layout > Add LabelClick in the map at the position where you want the title to appear

In the right panelSelect Item Properties tab

In the Main Properties box type (or copy and paste) an appropriate English title for the map

Distribution of Population by DistrictNumber of Doctors Trained in IMCIin Thua Thien Hue Province - 2006-2015

Select Font > Arial > Font Style > Regular > Size 12 >OKSelect Alignment Horizontal = Left Uncheck X in Frame boxUncheck X in Background box

Drag the English map title box inside the Vietnamese language map title box .

Edition E.3.859

Page 62: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

If the English title box disappears, On the menu bar, select Layout > Bring to the Front

Connect the two title boxes to form a “group” so they can be moved together as one.

Left click on the Vietnamese title frameHold down shift key and left click on English title frameSelect from menu Layout > Group

Both the Vietnamese and English titles are now “joined” to behave as a single title.

Position the map title box in the upper right corner of the map.

Step 4.2: Add a “banner” title as an eye-catcher:

On the menu bar, select Layout > Add LabelClick in the upper left corner of the map

In the right panelSelect Item Properties tab

In the Main Properties box type Doctors = 136Select Font > Arial > Font Style > Bold > Size 24 > OKSelect Alignment Horizontal = Left Uncheck X in Frame box

Your map should look similar to this:

.Edition E.3.8

60

Page 63: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Step 4.3: Add Data Source Labels:

On the menu bar, select Layout > Add LabelClick in the lower left corner of the map at the position where you want the title to appearType

MEDRIX IMCI ProjectData Sources:- MEDRIX- Preventative Medicine Department

In the right panelSelect Item Properties tab

In the Main Properties box type a description of the sources of data for the map

Select Font > Arial > Font Style > Bold > Size 10 >OKSelect Alignment Horizontal = Left Uncheck X in Frame box

Step 4.4: Add Date Label:

On the menu bar, select Layout > Add Labelclick in the map at the position where you want the title to appear

In the right panelSelect Item Properties tab

In the Main Properties box type the date Select Font > Arial > Font Style > Bold > Size 16 > OKSelect Alignment Horizontal = Center

.Edition E.3.8

61

Page 64: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Uncheck X in Frame box

Position the date label box in the upper part of the map in a place where it does not cover any site labels.

Step 4.5: Add Legend:

On the menu bar, select Layout > Add LegendClick in the map at the position where you want the legend to appear

In the right panel

Uncheck the Auto Update box

Select and delete unused titles such as Commune, Country, etc. Keep only the title Districts_with_Pops

Select the title to delete with a Left click

Click on the minus sign icon to remove the title

Select Item Properties tab Select Fonts > Title Font > Arial > Font Style > Bold > Size 24 > OKSelect Fonts > Sub-Group Fonts > Arial > Font Style > Bold > Size 16 > OK

A useful feature for formatting the legend titles is the “wrap” feature found in Print Composer by left clicking in the Legend box In the Main Properties box. You can define a “wrap character” and insert that character in the legend title to force the text following the wrap character to move onto the next line.

In the Main Properties box at top of the column

Delete the word Legend in the Title box

In Wrap Text On box type ^

In the Legend Items box Click on Districts_with_Pops

Select Update iconIn Item Text box type Population^distribution by^percentage

.Edition E.3.8

62

Page 65: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Click OK

Drag the legend to the lower right corner of the map, then use the arrow keys for fine-tuning position adjustments

Step 4.6: Add North Arrow:

On the menu bar, select Layout > Add ImageLeft click in the lower right corner of the map at the position where you

want the North Arrow to appearOn the right panel select Main Properties tabClick on Search directories section to expandChoose the north arrow you prefer from icon tableIn the Placement dropdown box, select MiddleUncheck the Background box

Step 4.7: Add Scale Bar:

On the menu bar, select Layout > Add Scale BarLeft click in the lower right corner of the map at the position where you

want the Scale Bar to appearIn the right panel in Scalebar Units box select MetersIn the Label Unit Multiplier box type 1000In the Label for Units box type km

In Segments select Left 0 and Right 3Check the Fixed Width buttonIn the box to the right of the Fixed Width label, type 10000

.Edition E.3.8

63

Page 66: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Drag the Scale Bar and North Arrow to resize and position

Step 5: Save as Template:Select menu option Composer > Save as Template

Browse to folder = TT-Hue-Province File name = DoctorMapSave > Yes

Select menu option Composer > Quit

Step 6: Create printing templates for Nurses, Midwives and Total Staff

Repeat Step 2 changing DoctorStyle to NurseStyleSelect menu option Project > New Print Composer

Type Nurse in the Composer Title box > OKSelect menu option Composer > Load from Template

Select DoctorMap > Open

.Edition E.3.8

64

Page 67: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Select menu option Composer > Save as TemplateBrowse to folder = TT-Hue-Province Type File Name = NurseMapSave

Edit the title and other text boxes to reflect “nurse” data

Select menu option Composer > Save as TemplateBrowse to folder = TT-Hue-Province Select NurseMap Save > Yes

Select menu option Composer > Quit

Repeat Step 6 for Midwives and for Total Staff

Step 7: Save your project and exit

Select menu option Project > SaveSelect menu option Project > Exit QGIS

The result of your work is a map for doctors’ training data that should look similar to this:

.Edition E.3.8

65

Page 68: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Step 8: Backup your work

Make a copy of the entire project folder on a CD, DVD, thumb drive, portable hard drive or some other media such as online cloud storage like Google Drive. Store this copy at some location away from your computer in case of fire, theft, earthquake, hard drive crash, etc. After working so hard on this project, it would be a shame to lose all your labor.

.Edition E.3.8

66

Page 69: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Chapter 11: Updating data and printing maps

Purpose

A good final step is to ask one or two colleagues to review your maps. Another set of eyes can often find errors that are invisible to you, the map creator. It is best to get this feedback before your maps are published.

Written instructions describing how to prepare the maps are absolutely necessary. The written instructions are useful whenever the responsibility for preparing maps changes from one person to another. The person familiar with the map preparation procedures may not be available to train a new person. Another benefit of written instructions is to make sure this step is completed quickly and accurately -- two areas that can suffer if the preparer has only his or her memory to rely on for preparing the maps.

Distribution of the maps as reports is another critical step. If your hard work in data collection and map preparation does not get to people who can use the information to make decisions, then your hard work may be wasted. Distribution can be in the form of printed maps or can be done electronically.

.Edition E.3.8

67

Chapter Objectives Learning how to prepare maps for distribution

Page 70: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Exercise 12: Updating data from field reportsTime to Complete: 25 minutes

It is very important to update your data with each new field report from the data collectors. The accuracy of your map depends on the freshness of data. If the data collected in your attribute table is too old or out-of-date, the information you wish to convey in your map may have become obsolete. This exercise will teach you how to update the attribute table with new data.

Step 1: Review the report received from the data collectors for accuracy.

Accuracy is critical if the resulting report maps are to tell the true story of your project. Quality control of data entry should be performed by a second person.

Step 2: Preparing the QGIS attribute table for updating

Start QGISSelect menu option Project > Open

Browse to folder TT-Hue-ProvinceSelect the project named CategoryMapOpen

Right click Districts_Staff layer > Open attribute table

Select Toggle Editing at the top of the screen to turn editing “on”

Step 3: Make changes to the data

Click on entry to be changedType the new valuePress Tab keyRepeat these actions until all data is updated

Note: the format for entering a date in a field whose format is date is yyyy-mm-dd. If you enter data in another format, the field value will not update. For example, enter June 23rd, 2015 as 2015-06-23.

Step 4: Save the edits to the attribute table

When you are finished updating data

.Edition E.3.8

68

Exercise Objectives Learn how to update the attribute table with data from Field Reports Learn how to print maps

Page 71: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Select Toggle Editing on the toolbar to turn editing “off” Choose Save

Close the attribute table by clicking on the X in the upper right corner

Step 5: Save your project

Select menu option Project > Save

Step 6: Backup procedure:

To avoid losing data in the event of a human or computer error, make a backup copy of the updated data as follows:

Right click Staff_counts layer > Choose Save AsChoose Format Unicode TextFile name StaffBackupData > Save > OK > OK

The attribute table could be quickly rebuilt from this backup file using the steps found in this exercise.

Exercise 13: Printing mapsTime to Complete: 15 minutes

Step 1: Update data

Follow the instructions in Exercise 11 to update your data.

Step 2: Open project file

Start QGISSelect menu option Project > Open

Browse to folder TT-Hue-ProvinceSelect map file named CategoryMap

.Edition E.3.8

69

Exercise Objectives Learn how to print maps for distribution

NOTE: If you use QUERY BUILDER for this layer, you cannot edit data in the attribute table of this layer.

Page 72: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Step 3: Select data to print

Right click Districts_Staff layer > PropertiesSelect Style tab Select Load Style DoctorStyleZero > Open

Select Apply > OK

Right click Districts_Staff copy layer > PropertiesSelect Style tab Select Load Style DoctorStyle > Open

Select Apply > OK

Step 4: Load Template to print

Select menu option Project Select Print Composers > Doctor > Show

Click on the Refresh icon

Step 5: Change the Date and count of Doctors trained

Click in the date box > select Main Properties tab Change the date to the current reporting monthClick in the banner box > select Main Properties tab Change the count to the current total

Step 6: Create image file of map

Select menu option Composer Select Export as Image Choose Files of Type jpgName file with an appropriate nameSave

Step 7: Save Project

Select menu option Project > Save

Step 8: Print your map from the saved image

Open the JPG Image of your map using Microsoft Office Picture Manager or any program that will open a JPG fileFile > Print > uncheck fit picture to framePrint

.Edition E.3.8

70

Page 73: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Part 6:APPENDIXES

.Edition E.3.8

71

MonitoringHealth CareOutcomesUsing GIS

Page 74: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Appendix A: Knowing Where You Are - Geographic Coordinates

Where am I? To know exactly where you are on the face of the Earth requires a system that gives every point a unique “address”. To solve this problem, people have agreed to use various systems of geographic coordinates.

These geographic coordinate systems enable any location on the Earth to be specified by a set of numbers or letters. The most commonly-used coordinate system is latitude and longitude. Lati-tude and longitude are imaginary lines drawn on maps to easily locate places on the Earth.

LatitudeWhen looking at a map, latitude lines run horizontally. Latitude lines are also known as parallels since they are parallel and are an equal distance from each other. Latitude is the distance north or south of the Equator (an imaginary circle around the Earth halfway between the North Pole and the South Pole).

The Equator is the line of 0° (zero degree) latitude; the starting point for measuring latitude. The latitude of the North Pole is 90° N; the South Pole is 90° S. The latitude of every point in be-tween must be some degree north or south, from 0° to 90°. One degree of latitude covers about 69 miles (111 kilometers).

To remember latitude, imagine latitudes as the horizontal rungs of a ladder ("ladder-tude").

LongitudeLongitude lines are vertical and are also known as meridians. Unlike latitude lines, longitude lines are not parallel. They converge at the poles and are widest at the equator (about 69 miles or 111 km apart). Zero degrees longitude is located at Greenwich, England which is often called the “prime meridian”. The degrees continue 180° east and 180° west until they meet at the Interna-tional Date Line in the Pacific Ocean.

.Edition E.3.8

72

Chapter Objectives Understand the basics of the latitude and longitude coordinate system How latitude and longitude work together Different latitude and longitude formats

Page 75: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

See the diagram that follows to better understand latitudes and longitudes.

Figure 15.1: Latitude and longitude visualized Credit: https://commons.wikimedia.org/wiki, author unknown

How Latitude and Longitude Work TogetherLatitude and longitude lines form an imaginary grid over the Earth's surface. By combining lon-gitude and latitude measurements, any location on earth can be determined. The units of mea-surement for geographic coordinates are degrees (°), minutes ('), and seconds ("). Each parallel of latitude forms a circle and contains 360 degrees. Each degree is divided into 60 minutes, which in turn is divided into 60 seconds. Latitude and longitude coordinates also include cardinal directions: north or south of the equator for latitude, and east or west of the Greenwich meridian for longitude.

For example, the geographic coordinates of the US Capitol building in Washington, DC, are 38° 53' 23" N, 77° 00' 27" W. Latitude is always listed first.

Different Latitude and Longitude FormatsLatitude and longitude can be expressed in several different formats. The following examples are different formats for the same location, the US Capitol building.

Format Latitude and longitudeDegrees, minutes, seconds 38° 53' 23" N, 77° 00' 27" WDecimal degrees 38.889722, -77.0075Degrees and minutes 38°53.38333, -77°0.44999

.Edition E.3.8

73

Page 76: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

When using decimal degrees for longitude, west longitudes are negative numbers and east longi-tudes are positive numbers. For latitudes, north is positive and south is negative.Determining Latitude and Longitude Coordinates

Purpose

Because data in a GIS is spatially oriented, a method is needed to determine the latitude and longitude of locations where data is collected.

Today the easiest and most commonly used methods depend on satellites that make up the Global Positioning System (GPS).

A total of 27 satellites cover the entire globe and provide signals that allow a GPS receiver to determine its location accurate to within 10 to 20 meters

Of the 27 satellites, any 4 of the satellites must be within line-of-sight of the GPS receiver in order to establish an accurate position

Because the GPS receiver must obtain data from several satellites, you must have a clear view of the sky above. An accurate position fix can not be determined from inside a building, in a street with tall buildings on both sides, in deep canyons or when under thick trees.

When you are actually at the location you wish to locate, three methods can be used to precisely measure the location. All three methods use the Global Positioning System of satellites.

GPS Receiver

A hand-held GPS receiver can determine an accurate location. However, GPS units are expensive.

Smart Phone with GPS capabilities

Most modern smart phones (iPhone, etc.) have GPS capabilities although the user may not be aware of how to access the GPS data. The three most common methods of using the smart phone GPS capabilities are examined below.

Using a GPS App

.Edition E.3.8

74

Page 77: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

There are several free applications for the iPhone, Android, and Windows OS that provide GPS information right in your phone.

The image below is from the iPhone app named Free GPS, which as its name implies, is free to download from the app store.

Note that the coordinates are in degrees and minutes – you must convert these values to degrees and decimal degrees to be in the proper format for importing into QGIS. Many conversion programs can be found on the Internet to perform this function.

Using the iPhone Compass app to determine latitude and longitude coordinates

Make sure that Location Services are ON in the iPhone.

In OIS 6 navigate to Settings > Privacy > Location Services > ONIn the list of apps under Location Services, make sure Compass is ONPress the Home button to exit SettingsOpen the Compass app

Your current GPS coordinates are displayed at the bottom of the screen. If you do not see the coordinates, touch the bar at the bottom of the screen.

.Edition E.3.8

75

Page 78: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Note that the coordinates are in degrees and minutes and seconds – you must convert these values to degrees and decimal degrees to be in the proper format for importing into QGIS. Many conversion programs can be found on the internet to perform this function.

Using the smart phone's camera function

When the smart phone takes a photo, it automatically stores the latitude and longitude of the location in the photo file. To see the latitude and longitude data, you need a free application to open the EXtended Information Format (EXIF) data of the photo. This image is from exifViewer, a free app for the iPhone.

A useful method of data collection is to take a photo of a sign showing the name of the place, or something else that will remind you of where you are. Then, use an EXIF viewer to see the GPS coordinates the smart phone recorded when it took the photo.

.Edition E.3.8

76

Page 79: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

What to do when it is not possible to go to the location

If you cannot go to the place where your data was collected and use a GPS reading to determine the location, there are some other methods that can be used to find the latitude and longitude.

If you can locate the data collection site on a map, you can determine the latitude and longitude without visiting the location.

Getting Coordinates from Google Map Data

Open Google Maps (http://maps.google.com)

Center the map on the area where your data collection site is located.

Move the cursor to the location of the site as accurately as possible

Right click on the map and select What’s here? from the menu

The coordinates for the location are now in the search box at the top of the screen

Getting Coordinates from Google Earth

Using Google Earth requires downloading the free program from earth.google.com/

To find coordinates of a point, go to the general area near the point, then click on the Add Placemark icon. Drag the placemarker over the location you want coordinates for then read the coordinates in the display box.

.Edition E.3.8

77

Page 80: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

A Method of Finding Approximate Lat/Lon Coordinates

You can use this method to get the approximate latitude and longitude coordinates when no other method is available.

Start QGIS and open your map of the region where your data was collected.

Move the cursor around within the map. You will see that the coordinates for where your cursor is hovering are displayed at the bottom of the screen.

Move the cursor over the approximate location of your data collection site and read the coordinates.

This method is useful if you want to position data to be displayed in a general location on the map. For example, if you have data that applies to a region, then you can use this method to find a location where that data will be displayed on the map. An example of this type of data display is shown in Exercise 9 of Chapter 17.

Tips on using a GPS for GIS data collection

When using a GPS to determine the coordinates of a location, set the GPS datum to the same datum used by the digital maps in your GIS. One of the most commonly used datums is WGS 84. You can determine the datum used in your digital map by using your GIS software to look in the map’s metadata.

Set the GPS’s coordinate unit format to meet the input requirements of your GIS, e.g., QGIS input requires that latitude and longitude be formatted as a decimal number so you must set the GPS coordinate unit’s format to degrees and decimals of degrees.

.Edition E.3.8

78

Page 81: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Appendix B: How to take a screenshotTime to Complete: 10 Minutes

This quick exercise will teach you how to create a screenshot on your computer running Windows Software. Taking a screenshot can be helpful because it allows you to save, annotate, or share an image of whatever appears on your computer screen. For example, if you’re having an issue with software operation or errors, it can be helpful to take a screenshot of the situation and email it to your instructor for help. You could also take a screenshot of your completed assignments to share with your instructor for approval.

For Windows XP or older

Step 1: Press the Print Screen key on your keyboard. It may be labeled “PrtScn”

Step 2: Start Microsoft Paint

Click Start > All Programs > Accessories > Paint

Step 3: (Optional) Crop out unnecessary portions of the image

If your image contains unnecessary portions you wish to omit, you may crop those portions out of your image before you save your screenshot.

Click the “Select Tool” from the left sidebar. It looks like a dotted-line rectangle and drag the tool on the image to select your desired area.

.Edition E.3.8

79

TIP: Some keyboards or mobile PC’s that don’t have the “Print Screen” button might use other keyboard combinations, such as FN+INSERT, to take a screen capture. Check the information that came with your computer or the manufacturer’s website for more information.

Exercise Objectives Learn how to create a screenshot with Windows software

Page 82: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Step 4: Save your Screenshot

Select from menu option File > Save AsName your Screenshot “Test Screenshot”Choose a file type you want to save your screenshot asSave your project to your “TT-Hue-Province” folder

For Windows Vista/Windows 7 or Newer

Windows Vista/7 and newer versions of Windows come with a program called the Snipping Tool which allows you to snip different portions of your computer screen

Step 1: Start Snipping Tool Click Start > All Programs > Accessories > Snipping Tool

Step 2: Select the Type of SnipClick on the arrow next to the New button and choose

Free-Form Snip – Take snips of irregular shapes like triangles or circles. Rectangular Snip – Allows you to make a clean rectangular snip of an areaWindow Snip – Captures your current browser window or dialog box in a snipFull-Screen Snip – Takes a snip of whatever is displayed on your computer screen

Step 3: Capture the Snip

Step 4: Save, Annotate, and Share the Image Click the Save Snip button

Enter a name for the SnipChoose a Location to save the SnipChoose a File type to save the Snip asClick Save

Step 5: Share a SnipClick the arrow on the Send Snip buttonSelect an option from the list

Now you should be able to take a screenshot of anything on your computer screen and share it with whomever you want. This should be used to submit completed assignments to your instructor and to ask for help.

.Edition E.3.8

80

Page 83: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Appendix C: How to use Excel Pivot TablesTime to Complete: 30 Minutes

A pivot table is a data summarization tool in Excel. Among other functions, a pivot table can automatically sort, count total or give the average of the data stored in one table or spreadsheet and display the results in a second table showing the summarized data.

The steps to create a pivot table vary depending on which version of Excel is installed. Search the internet for instructions for your version of Excel.

Practice

Start Excel

Open the file named PivotTableData

In this file are 20 records of patients with three different disease diagnosis.

The objective is to easily create a second table of counts of each of the three diseases in the original data.

Use of drop down lists

.Edition E.3.8

81

Exercise Objectives Learn how to create a pivot table in Excel

Page 84: The - Medrix€¦ · Web viewGilbert's version (1958) of John Snow's 1855 map of the cholera outbreak showing the clusters of cholera cases in the London epidemic of 1854. Recent

Index

attribute......................................................14category map..............................................38choropleth map....................................15, 38clip.......................................................15, 24color ramp..................................................44coordinate system......................................15CSV............................................................33EXIF..........................................................75GADM.................................................17, 21Google Earth..............................................76Google maps..............................................76GPS............................................................73inset map....................................................16label...........................................................57

layer...........................................................14legend.........................................................61north arrow.................................................62reference map.................................15, 21, 22scale...........................................................15scale bar.....................................................62screenshot..................................................78shapefile.....................................................15smart phone................................................73thematic map..................................15, 22, 37title.............................................................57Unicode......................................................33vector.........................................................14

zoom.............................26

.Edition E.3.8

82