Exercise 4: Joining Data



Similar documents
Exercise 5: Working with tables

Setting up Auto Import/Export for Version 7

Lab: Data Backup and Recovery in Windows XP

University of Arkansas Libraries ArcGIS Desktop Tutorial. Section 4: Preparing Data for Analysis

Lab - Data Backup and Recovery in Windows XP

Database Servers Tutorial

Internet Explorer Browser Clean-up

Cookbook for Importing Point Information into a Polygon Shapefile using ArcGIS9

Address Collector. - Tutorial -

QGIS LAB SERIES GST 102: Spatial Analysis Lab 6: Vector Data Analysis - Network Analysis

GIS II: Data Management: Creation, edition and maintenance of geographic data Module 1: Leveraging the where of your geographic data

Guide to Viewing Maps in Google Earth

w w w.mendeley.com Organize. Collaborate. Discover. MIGRATION GUIDE RefWorks, EndNote X7, Zotero, Papers

Tutorial 4 - Attribute data in ArcGIS

Open a PDF document using Adobe Reader, then click on the Tools menu on the upper left hand corner.

Optimal Browser Settings for Internet Explorer Running on Microsoft Windows

PC Agent Quick Start. Open the Agent. Autonomy Connected Backup. Version 8.8. Revision 0

WFP Liberia Country Office

TxEIS on Internet Explorer 7

In this lab you will explore the Windows XP Firewall and configure some advanced settings.

A Brief Explanation of Basic Web Services

To successfully initialize Microsoft Outlook (Outlook) the first time, settings need to be verified.

How to Attach the Syllabus and Course Schedule to a Content Item

Creating a Distribution List from an Excel Spreadsheet

Lab - Configure a Windows XP Firewall

The Application Getting Started Screen is display when the Recruiting Matrix 2008 Application is Started.

Tutorial 6 GPS/Point Shapefile Creation

Spatial Adjustment Tools: The Tutorial

Creating Fill-able Forms using Acrobat 8.0: Part 1

Managing Documents in the Citrix XenApp Remote Desktop

3. USB DRIVER Installation of USB driver Driver for Infinity SD Data Logger. INFINITY Series Acquisition Tools Manual

Intro to evis: the event visualization tool

Create and share a map with GIScloud.com

INTRODUCTION to ESRI ARCGIS For Visualization, CPSC 178

Installation Guide and Machine Setup

ASB Signature. ASB Signature. How to set up an Signature IKT February 2008

Software Licensing Management North Carolina State University software.ncsu.edu

Software localisation: Working with PASSOLO

GOOGLE DOCS APPLICATION WORK WITH GOOGLE DOCUMENTS

Using an Automatic Back Up for Outlook 2003 and Outlook 2007 Personal Folders

Export / Import using itunes File Sharing

How To Use Ticket Validation Software On A Pc Or Mac Or Macbook Or Ipad (For Acedo) On A Computer Or Ipa (For An Ipa) On An Ipad Or Macintosh (For Macintosh) On Pc

1. Launch ArcCatalog, then navigate to the following location using the directory tree on the left side of the screen:

Windows XP Chinese Character Support Installation Instruction

Reassigning Key Functions on Elf or Falcon X3 Windows Mobile

Installing a Browser Security Certificate for PowerChute Business Edition Agent

1. Running EPA TANKS Program

How To Download Nvision Reports In Awnsoft Peoplesoft Report Manager And Nvision Operating Reports In Excel

Troubleshooting Business Analyst Installation and Startup

Internet Explorer 7. Getting Started The Internet Explorer Window. Tabs NEW! Working with the Tab Row. Microsoft QUICK Source

Mail Merge (Microsoft Office 2010)

Person Inquiry Screen

First Settings Check for your Internet Explorer 7.0. Please make sure that you follow the settings process on all pages attached

smespire - Exercises for the Hands-on Training on INSPIRE Network Services April 2014 Jacxsens Paul SADL KU Leuven

How to Download Census Data from American Factfinder and Display it in ArcMap

Passport Installation. Windows XP + Internet Explorer 8

WHAT IS VIRTUAL DESKTOP? WHAT YOU NEED LOG IN TO VIRTUAL DESKTOP SET UP CITRIX RECEIVER REMOTE ACCESS GUIDE

Make Voice Calls and Share Documents using Skype*

This help document will demonstrate the usage of the website.

Pattern Graphix Pattern Graphix is a program complex that provides the automatic detection of the technical analysis patterns in MetaTrader 4.

How To Install Cubase Patch Script On A Computer Or A Mouse Or Keyboard

Document Revision Date: August 14, Create a New Data Protection Policy in the Symantec.cloud Management Portal

GIS III: GIS Analysis Module 2a: Introduction to Network Analyst

How to install and use the File Sharing Outlook Plugin

Aladin. There are currently two recommended links for Aladin. Suitable for most users, the default Aladin link is:

Export the address book from the Blackberry handheld to MS Outlook 2003, using the synchronize utility in Blackberry Desktop Manager.

Guide to Using the NIMC Audit Spreadsheet

Flash MX Image Animation

Baylor Secure Messaging. For Non-Baylor Users

Converting GIS Datasets into CAD Format

(CP) Claim Processing Electronic Select Short Cut Key (F12) Type in Menu Id:

Publishing KML Services Tutorial

(You will use the login ID and password below to login through the first two websites.)

Mitigation Planning Portal MPP Reporting System

Endnote Web. Format Create a standalone bibliography Insert references into your Word document

This workshop introduces the basics of using the EndNote software with Windows.

Working with Office Applications and ProjectWise

Affiliation Security

Online Appointment Tracking System (OATS) Division/Department Admin User Reference Guide

Workspaces Creating and Opening Pages Creating Ticker Lists Looking up Ticker Symbols Ticker Sync Groups Market Summary Snap Quote Key Statistics

WINDOWS 7 EXPLORE INTERNET EXPLORER 8

Office 2013 Settings Customization Created 7/29/2014 by ICIT Training

Task Card #2 SMART Board: Notebook

BI 4.1 Quick Start Guide (for Online Report Users)

Rx Medical. SMD Utility. Task Scheduler Configuration

How to create pop-up menus

Remedy ITSM Service Request Management Quick Start Guide

Learning Management System. Student Guide

Business Online Banking ACH Reference Guide

Instant Messenger Operator Manual

What do I do first in ArcView 8.x? When the program starts Select from the Dialog box: A new empty map

Setup of Electronic Payment File Setup

Government 1009: Advanced Geographical Information Systems Workshop. LAB EXERCISE 3b: Network

Knowledgebase Article

How to use PGS: Basic Services Provision Map App

To begin, visit this URL:

From Data Modeling to Data Dictionary Written Date : January 20, 2014

Transcription:

Exercise 4: Joining Data In this exercise you will learn how to join data from an excel table to spatial data in QGIS. Since the shapefile contains multiple, unique records, the data to be linked must be in the same form. If a name field is used for linking, ensure that the spelling is exactly the same. Section 1: Join Attributes The VNM_adm2 layer only contains the name information for Provinces and geographic information. You will join the Province_Statistics file to the VNM_adm2 layer in order to display the indicator data contained in the excel file. 1. Launch the QGIS Desktop application 2. Click File>Open 3. Navigate to \\Vietnam_Training\04_Exercises\Project_Files\VNM_Joining_Data.qgs 4. Click the Add Vector Layer button from the toolbar 5. Click the Browse button 6. Select All Files (*),(*,*) from the File Type menu on the bottom right 7. Navigate to \\Vietnam_Training\05_Data\01_Excel\Province_Statistics.xls 8. Click Open 9. Right click on the Province_Statistics layer and select Open Attribute Table 10. Explore the attribute table 1

11. Right click on the VNM_adm2 layer in the Layer Panel and select Properties 12. Click the Joins tab in the Layer Properties window 13. Click the Plus button 14. Set Join Layer to Province Statistics 15. Set Join Field to ID_2 16. Set Target Field to ID_2 (Both layers have an ID_2 field in their respective attribute tables.) Your Add vector join window should look like the image below 17. Click OK 18. Click OK to close the Layer Properties window 19. Right click on the VNM_adm2 layer and select Open Attribute Table 20. Scroll to the right to see the newly joined data You should see the data for select variables joined to the appropriate region. You can now map this data or send the file to colleagues. Note: If the attribute table does not contain the data for the variables you just attempted to join, go back to the.dbf file to ensure that the Join field is spelled exactly the same as the target join field from the shapefile. If there are any differences in spelling, accents, hyphens, or one field contains extra spaces, the attribute join will not work for that record. The joined data is currently being stored in virtual memory. To save the join permanently, you must export it as a new layer. 21. Right click on the VNM_adm2 layer and select Save As 22. Choose ESRI Shapefile as the Format 2

23. Click Browse for save as, navigate to \\Vietnam_Training\06_Participant_Work Name the shapefile Indicator_Join 24. Click Save 25. Select Layer CRS for CRS 26. Check the box next to Add Saved File to Map The resulting window should look like this: 27. Click OK Section 2: Join Attributes by Location Now we will join the Settlements_Cities (VNM_settlements_cities) data to the Provinces (VNM_adm2) based on location. 1. Click Layer>Add Vector Layer 2. Browse to \\Vietnam_Training\06_Participant_Work \VNM_settlements_cities.shp 3. Click Open 4. Click Vector>Data Management Tools>Join Attributes by Location 3

5. Set Target Vector Layer field to VNM_settlements_cities 6. Set Join Vector Layer to VNM_adm2 7. Set Attribute Summary to Take Attributes of First Located Features 8. Set the Output Shapefile folder to \\Vietnam_Training\06_Participant_Work 9. Name the shapefile Reg_Cities_Join 10. Set Output Table to Keep All Records (Including non-matching Target Records) The resulting window should look like this: 11. Click OK 12. In the pop-up box, click Yes to Would you like to add the new layer to the TOC? 13. Click Close 14. Right click on the Reg_Cities_Join layer, select Open Attribute Table, you should now see the regional attribute information for each city as new fields 4

Note: Each of the 778 populated places will have their name in the FULL_NAME field and the containing province name in the VARNAME_2 field. End Exercise. The information provided in this exercise is not official American Red Cross information and does not necessarily represent the views of the American Red Cross. The exercise was adapted from materials produced by MEASURE DHS and MEASURE Evaluation, which are funded by the U.S. Agency for International Development (USAID). The information from those materials is not official U.S. government information and does not necessarily represent the views of USAID or the U.S. government. 5