GIS LAB 1. Basic GIS Operations with ArcGIS. Calculating Stream Lengths and Watershed Areas.

Similar documents
Working with Attribute Data and Clipping Spatial Data. Determining Land Use and Ownership Patterns associated with Streams.

GIS LAB 8. Raster Data Applications Watershed Delineation

Exercise 1: An Overview of ArcMap and ArcCatalog

Geographical Information Systems Institute. Center for Geographic Analysis, Harvard University. LAB EXERCISE 1: Basic Mapping in ArcMap

Tutorial 1 Exploring ArcGIS

LAB 1: Introduction to ArcGIS 8

STUDENT PAGES GIS Tutorial Treasure in the Treasure State

Lab 6: Transforming Spatial Data

Explore some of the new functionality in ArcMap 10

Geography 281 Map Making with GIS Project Two: Map Design Issues in ArcMap

Getting to Know ModelBuilder

Exercise 1: Getting to know ArcGIS

Step by Step GIS. Section 1

Geography 281 Mapmaking with GIS Project One: Exploring the ArcMap Environment

Geography 281 Mapmaking with GIS Project One: Exploring the ArcMap Environment

Lesson 8 : How to Create a Distance from a Water Layer

MAPLOGIC CORPORATION. GIS Software Solutions. Getting Started. With MapLogic Layout Manager

In this exercise, you will convert labels into geodatabase annotation so you can edit the text features.

Introduction to GIS & Mapping: ArcGIS Desktop

Answer the following general questions: 1. What happens when you right click on an icon on your desktop? When you left double click on an icon?

Section 1: Introduction to Arc GIS 10

Downloading shapefiles and using essential ArcMap tools

Basic Mapping: Livelihood Zones In Haiti

In this exercise we will:

Finding and Using Spatial Data

Creating a Smaller Data Set from a Larger Data Set Vector Data

Creating a reference map

Lab 7: Tables Operations in ArcMap

ArcCatalog or the ArcCatalog tab in ArcMap ArcCatalog or the ArcCatalog tab in ArcMap ArcCatalog or the ArcCatalog tab in ArcMap

Basic Tasks in ArcGIS 10.3.x

Welcome to MicroStation

Project 2 CIVL 3161 Advanced Editing

GEO 465/565 Lab 6: Modeling Landslide Susceptibility

ArcGIS Basics: India Creating a Map with ArcMap

Intro to GIS (requirements: basic Windows computer skills and a flash drive)

Select the Parks within Forest Acres

MAPLOGIC CORPORATION. GIS Software Solutions. Getting Started. With MapLogic Layout Manager

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)

Exercise 4 Compiling a Spatial Database: Adding and Linking Attribute Data

INTRODUCTION TO GIS WORKSHOP EXERCISE

for ArcSketch Version 1.1 ArcSketch is a sample extension to ArcGIS. It works with ArcGIS 9.1

Introduction to GIS A Journey Through Gale Crater

Basic Mapping: Livelihood Zones In Haiti

Lab Exercise 1: ArcGIS Basics

Objectives Learn how to import and display shapefiles with and without ArcObjects. Learn how to convert the shapefiles to GMS feature objects.

Lab#1: Introduction to ArcGIS10. In this lab, you will use ArcGIS to work with statewide GIS data of Alaska. You use ArcMap to:

4. If you are prompted to enable hardware acceleration to improve performance, click

Visual Studies Exercise.Topic08 (Architectural Paleontology) Geographic Information Systems (GIS), Part I

Introduction to GIS 2011

A Hands-on Experience with Arc/Info 8 Desktop

Data for this exercise are located in the L1 subdirectory or the class web page. Videos for this exercise are located in the class web page.

Instructions for Using the Databases

Appendix Z Basic ArcMap and GDSE Tools

Session 3: Cartography in ArcGIS. Mapping population data

City of Richmond Interactive Map (RIM) User Guide for the Public

Getting Started with ArcGIS Background and Introduction

Lab Assignment 4 Basics of ArcGIS Server. Due Date: 01/19/2012

Schematics in ArcMap Tutorial

Data for this exercise are in the class resources Lab/lesson 1,

USING DATA DRIVEN PAGES

City of La Crosse Online Mapping Website Help Document

Lab 2. Practice with ArcGIS

Getting Started with GIS using ArcGIS 10.6 What is GIS? and - Module 1 Creating a map document

Starting the QGIS Program. Exercise 1: Exploring QGIS

Data Assembly, Part II. GIS Cyberinfrastructure Module Day 4

Lab 12: Sampling and Interpolation

The ArcMap Interface and Using Basic ArcMap Analysis Tools to Create a Map

In order to follow this set of directions you will need the following

Compilation of GIS data for the Lower Brazos River basin

ArcGIS Basics: Creating a Map with ArcMap (India Data)

-In windows explorer navigate to your Exercise_4 folder and right-click the DEC_10_SF1_P1.csv file and choose Open With > Notepad.

Lab 1: Landuse and Hydrology, learning ArcGIS

Week 5 Creating a Calendar. About Tables. Making a Calendar From a Table Template. Week 5 Word 2010

GIS Basics for Urban Studies

Name: Date: June 27th, 2011 GIS Boot Camps For Educators Lecture_3

_Tutorials. Arcmap. Linking additional files outside from Geodata

Table of Contents. 1. Prepare Data for Input. CVEN 2012 Intro Geomatics Final Project Help Using ArcGIS

GEOG4017 Geographical Information Systems Lab 3 Data Collection and Integration (I)

THE HONG KONG POLYTECHNIC UNIVERSITY DEPARTMENT OF LAND SURVEYING & GEO-INFORMATICS LSGI521 PRINCIPLES OF GIS

FrontPage 98 Quick Guide. Copyright 2000 Peter Pappas. edteck press All rights reserved.

Managing Multiple Layouts in ArcGIS Pro

Introduction to ArcGIS Desktop

1. Start ArcMap by going to the Start menu > All Programs > ArcGIS > ArcMap.

Lab 3: Digitizing in ArcMap

Tutorial 1: Finding and Displaying Spatial Data Using ArcGIS

Geography 104 Instructors: Judd Curran & Mark Goodman. LAB EXERCISE #3 Data Analysis - Buffering (25pts)

Tutorial 4 - Attribute data in ArcGIS

USING CCCR S AERIAL PHOTOGRAPHY IN YOUR OWN GIS

BIO8014 GIS & Remote Sensing Practical Series. Practical 1: Introduction to ArcGIS Desktop

Exercise One: Estimating The Home Range Of An Individual Animal Using A Minimum Convex Polygon (MCP)

Introduction to using QGIS for Archaeology and History Workshop by the Empirical Reasoning Center

Exercise 1: Introduction to MapInfo

Hands-on GIS Project Watershed land use changes Smart Growth?

A Second Look at DEM s

In this lab, you will create two maps. One map will show two different projections of the same data.

Using ArcGIS 9.x: Quickstart Tutorial

DOING MORE WITH WORD: MICROSOFT OFFICE 2010

Objective: To be come more familiar with some more advanced applications in ArcGIS.

ArcGIS Drivers Permit. Using ESRI ArcView 10 and NH GRANIT Data

Ex. 4: Locational Editing of The BARC

Transcription:

GIS LAB 1 Basic GIS Operations with ArcGIS. Calculating Stream Lengths and Watershed Areas. ArcGIS offers some advantages for novice users. The graphical user interface is similar to many Windows packages and lets people use the software without having to spend a great deal of time learning commands. The software can be a little intimidating at first since there are many options and not a lot of guidance being offered. This lab will help you to understand ArcGIS fundamentals and how to examine spatial data. ArcGIS is split into a set of modules by a single map file (*.mxd file). Only one module can be accessed at any one time. The GUI for each module offers different options depending on the active module and whether any software extensions have been activated. We will open two important ArcGIS modules in today s exercises: ArcToolbox and ArcMap. We ll use ArcToolbox to import ArcInfo export files. To access ArcToolbox, we ll need to start ArcMap. Before we start ArcMap, let s copy some GIS data to your user workspace. Open the Windows Explorer and navigate to the t:\teach\classes\fe257\gislab1 location on the forestry network. Using the mouse, right click on this folder and choose copy from the menu that appears. Use Explorer to navigate to your workspace folder. For most of you this will be located on the z:\drive and the will have the same name as your user name- for me it s c:\wingm. Let s create a subfolder named FE257 under your workspace folder- we ll store all the files from this course under that location. You can create the subfolder by clicking once on your workspace, choosing the File menu, the New option, and the Folder option. Once you ve created the FE257 folder, right click on it and choose paste from the menu that appears. This should copy the gislab1 folder and the four files located in it (each will have a.e00 suffix) to your new workspace. ArcMap This is the central portion of ArcGIS and is where we look at data and create maps. Lets start an ArcMap session by clicking on the start button on the task bar and navigating to the ArcMap executable. The sequence is start button, programs, ArcGIS, and choose the ArcMap icon. Let s 1

accept the invitation to start using ArcMap with a new empty map by selecting the Blank Map template and choosing the OK button. You should see the default ArcMap program screen, similar to the graphic above, on your screen. Let s save this map document. Choose Save As from the file menu. Make sure that you are saving under your gislab1 workspace and save this file as gislab1.mxd. All work you have done has been saved up to this point. You can re-open this file to get back to where you left off. 2

At the top of the ArcMap interface, you ll see a row of menus, followed by a row of graphical buttons. One of the buttons will look like a red toolbox. Select this to open the ArcToolbox module into your ArcMap session. The ArcToolbox should open up. The ArcToolbox can be clicked on and dragged to other positions in your ArcMap session or elsewhere on your computer screen. Position the ArcToolbox somewhere that you can work with. 3

Importing Files ArcGIS will import and read ArcInfo coverages. This is important as many organizations that make spatial data available over the Internet or for purchase convert their data into ArcInfo export files. ArcInfo export files are actually single compressed files that contain many files. Export files will have a.e00 suffix attached to them. In the case of large coverages, there may be more than one export file (an additional export file would feature an.e01 suffix) but this is rare. Let s use the ArcToolbox to import coverages produced by ArcInfo workstation software. First, let s click on the Search Tab located on the upper right hand corner of the ArcMap window to look for the Import tool. 1. Choose the Tools option in the Search window. 2. Type import into the dialog box. 3. Choose the icon to the right of the dialog box to see results 4. Find the Import from E00 option and click on it. This should open the tool dialog box. 4

1. Click on the first browse button to navigate to the gislab1 workspace underneath your workspace location. 2. Once you get to your gislab1 folder, you should see the four *.e00 files. Double click on the first one in the list, which should be cites.e00. 3. Use the second browse button to navigate to your workspace location. 4. Change the Output Dataset to cities. 5. Choose OK. You should see some status messages in the lower right hand corner of your screen. Repeat the import process for the remaining three *.e00 files by again: 1. Selecting the Import from E00 ArcToolbox command 2. Navigate in the resulting dialog box and select the next *.e00 file 3. Adjusting the Output name dialog to remove any numbers at the end of the name. 4. Choose the OK button. 5

For other projects, you might want to use the second option browse button to indicate a different location for the new coverage. It is best to restrict ArcInfo coverage names to twelve characters, to avoid using numerical digits as the first character, and to not have spaces in the name. In addition, violating any of these limits in any folder or subfolder under which a coverage is stored can also lead to problems. Please remember this advice when you work with ArcInfo coverages, as all of you are likely to do during your project. After successfully importing all files, remove the ArcToolbox by clicking on the X in the upper right hand corner of the ArcToolbox. ArcMap Again, ArcMap is probably the space within ArcGIS where you ll spend most of your time. Use the Add Data tool to open the Add Data dialog. One thing that s important with any new ArcMap session is to establish a workspace connection. Once we do this, most operations will try to read and write data from this location and can help us stay organized. Use the Connect to Folder button to begin this process. 6

Use the resulting dialog box to indicate the location of your gislab1 folder (remember, this should be in your ONID account). Choose OK when you have the folder selected. Once you ve established a workspace connection, you should be taken to that folder space. 7

Using your mouse and control or shift key, select all four files in the gislab1 folder and choose the Add button. 8

ArcMap allows us to manipulate the display of spatial data and perform basic analyses. Anytime you add data into ArcMap, you are adding it to a data frame. You can have multiple datasets open at the same time in a frame and each data set it referred to as a layer. The names of data frames and layers and access to how you display each layer is in the table of contents, located on the left side of ArcMap. ArcMap has powerful features for controlling how points, lines, and polygons are displayed. You may have multiple data frames in ArcMap. You can assign a name to a data frame by accessing its properties, selecting the General tab, and typing in the Name box. Properties can be accessed by double clicking on the data frame or right clicking on the data frame and choosing Properties from the menu that appears. The last operations should have opened all four ArcInfo covers into ArcMap. In ArcGIS terminology, each these covers are now known as layers and are contained in the Layers data frame. By default, ArcGIS makes each of the layers visible. To make a layer not visible, just uncheck the check box located to the left of each layer name in the table of contents. Manipulating Layers An important concept in ArcGIS is the notion of the active data frame. If you have multiple data frames in the table of contents, any operations you invoke will only consider the active data 9

frame. You can make a data frame active by right clicking on the data frame in the table of contents and choosing Activate from the pop-up menu. The active data frame will be in a bold font. Layers are generally made active and accessed one at a time for display manipulations but it is possible to have multiple active layers by clicking and holding the control key down. This may be useful for copy or deleting several layers at once. Active layers are indicated by highlighting in the table of contents. It is also possible to copy and paste layers between different data frames; this skill may help you during course exercises. You can also assign a name to an active layer by double clicking or right clicking on the layer name, making the General tab active, and typing a name in the Layer Name box. This new name will now appear in the table of contents. If multiple layers exist, the order in which layers appear in the table of contents is also important. The layer on the bottom of the stack will be the first layer that is displayed in the view. A polygon layer that sits atop the stack may preclude all other layers from being displayed. You can move layers in the table of contents by clicking on the layer, holding the mouse button down, and dragging it up or down. In the graphic above, Wsheds is the active layer and is at the bottom of the stack, all other layers are being drawn over Wsheds. Let s see what happens when we move Wsheds to the top of the stack. Let s move it back to the bottom of the stack. Wsheds is an unusual name. Let s change the name of the layer as it appears in the table of contents by activating its Properties and typing the name Watersheds in the Layer Name input box and choosing OK. Notice that the name of the layer has changed. 10

When you open multiple layers at the same time into a view, ArcMap will automatically adjust to the full geographic extent of all layers so that you are able to see all areas. This may be helpful in some cases but for today s example, we are really only interested in the northwestern corner of Oregon. ArcMap features a tool bar that allows us to interact with data frames and layers. ArcMap has several options for zooming in and out of the map display area. Let s use the zoom in tool to focus on our study area. Select the zoom in tool by clicking on it with your mouse. Notice how your cursor changes shape when you move it over the map display area? This will happen with some of the tools that you use. Now click and draw a box that covers the watershed areas in the map display area. You can do this by clicking on the upper left hand corner of the areas and dragging to the lower right, releasing the click when you reach the lower right corner. Your new perspective should look similar to the figure below. If you click on the zoom to previous extent button, you will be returned to the previous map extent. 11

Another way to zoom in is to right click on a layer of interest and choose the Zoom to Layer option. This will focus on the spatial extent the layer. Let s use this option to zoom in on the Watersheds layer. Changing a Layer s Display Double-clicking on a layer will open the layer s properties. Choosing the Symbology tab gains you access to change the color, shape, and size of geographic shapes in the map display. It allows you to pick the attribute information you wish to represent your geographic shapes. It also offers you multiple options for scaling the way attribute information is displayed. When you add a layer to a data frame, ArcMap chooses colors for your layers. Let s practice changing the way the Watersheds appears by double clicking on the layer the table of contents. This should open the properties. Let s make the Symbology tab active. Clicking on the colored symbol will open the Symbol Selector. 12

Pick a color with a light shade by single clicking and choosing the OK button. Clicking on Apply will change the color in the map display area. We can also use the Symbology interface to color code a layer based on a variable within the layer s attribute table. Select Categories, then Unique Values from the choices on the right. Use the drop down box by the Value Field line and choose HUC from the list of variables. Next, select the Add All Values button and choose apply. Do you notice any changes in your map display regarding the way the layer is displayed? Let s revert to a single layer color by choosing Features, Single Symbol in the Symbology input and hitting the OK button. Let s follow the same process for the rivers layer so that a nice deep blue represents the rivers. You may want to adjust the width of the lines to make viewing easier. We may also want to change the name as it appears in the Table of contents to Rivers. The pan tool is very useful for moving around in your view. Click on the pan tool to activate it. Place it in the middle of your viewing area and click and drag the mouse. Notice that your viewing area moves as you move the mouse. Releasing the mouse button will place the view. 13

Another very useful tool is the identify tool. We will this and an automatic labeling option under the layer properties menu. Make the identify tool active by clicking on it with your mouse. Change the name of the cities point layer to Cities. Use the identify tool and click on one of the point locations associated with the Cities layer. A table should pop up. This table includes all the data associated with that point location. Notice that you can click on other points and the information in the table will change to reflect the other points. Let s change the symbology of the Cities layer so that it stands out more. Let s experiment with the label tool. Right click on the Cities layer and choose Label Features from the pop up menu. We can turn this feature off by right clicking again and re-checking Label Features. Attribute Data Attribute data are the data associated with layers. It s relatively easy to access this information in ArcMap and we can edit, summarize, and export attribute data. ArcMap will also allow you to import database files from other GIS packages, dbase files, and even from text files. You can also export data into these same formats. You may have multiple tables in a project. You can open a layer s attribute data by: 1. Right clicking on the layer. 2. Choosing Open Attribute Table from the pop up menu. Once attribute data are displayed, they can be easily edited. ArcMap will also allow you to add and delete variables. Character variables must be created as a string type. You can use the field calculator to perform calculations on entire database or on portions of it. Make Watersheds the active layer and open its attribute table using the method described above. Notice that data are displayed for each of the five polygon records contained in the layer. The area measurements are in square international feet. Let s add a new variable that describes the size of each watershed as a percentage of all watersheds. First, select the icon in the upper left hand corner of the attribute table, then choose Add Field. 14

Let s add a new variable by selecting the Add Field option under the edit menu. Enter pct_area in the name box, make sure type is set to Short Integer, enter 4 in the precision box, and choose OK. 15

Before we can calculate an watershed percentage, we need to know the sum of the watershed areas. Right click on the top of the area variable and choose statistics. The number we want is the sum: 71391653888. Let s finish our calculation by right clicking the top of the pct_area variable and selecting the Field Calculator choice. 16

A dialog box should open that is similar to the one above. We need to build an expression in the input box that divides the area of each watershed by the sum of all watershed areas. To get an integer percentage, we ll need to multiply this result by 100. We can sort the attributes by right clicking and using options from the pop up menu. Let s experiment a little with this. You can also select records and see their locations in the map display area. Let s try this option also. We should also check our results by performing a statistics option on the pct_area field; this should sum to 100 or something very close. Notice that you can hold down the control or shift keys and make multiple record selections. You can unselect records by choosing Clear Selection from the option button. 17

Let s clean up our work by making the pct_area field active by right clicking on its top, and choosing Delete Field from the pop up menu. Let s close this table. Let s explore some additional attribute table options by going to the Rivers layer and opening its attribute table. One of the tools we have in the attribute portion is the ability to summarize a variable. Let s test how this works. 1. Find the variable titled PNAME and make it active by right clicking on its top. PNAME is the name of each river in the Rivers layer. 2. From the pop-up menu choose summarize and OK. 3. A summarize dialog box should open up. Direct the output to your gislab1 folder by using the browse button in option 3 of the dialog box. 18

4. Choose OK. Another dialog box will open. Change the Save as type option to dbase table and choose the Save button. We will explore geodatabases in the future but do not want to save anything in this format for now. 5. This should create and add to your ArcMap session (in the Table of Contents) another attribute table that shows the number or arcs, or line segments, that are associated with each unique occurrence of PNAME. 6. You ll find the new table in your table of contents. You need to right click on it and choose Open to get a look at it. 19

If we want more than just a frequency distribution, we ll need to modify what we enter in the summarize box. Let s find out which river is the longest. Close the output table we just created and go back to the attribute table for Rivers (you may need to re-open it from the table of contents). 20

1. Right click on PNAME and choose the summarize tool. 2. Find the variable LENGTH in the list of variables in the dialog box, expand its listing, and check Sum. 3. Use the browse icon in option #3 and send the output to your gislab1 workspace. This workspace should appear underneath the Folder Connections option in the Look in: choices after you choose the browse button associated with option #3. 4. You will probably need to set the Save as type: to dbase table to write successfully. 21

Answer Yes when prompted to add the result table in the map. Always respond with a Yes throughout all class exercises when asked this question. Open the resulting table by right clicking on it and choosing Open. The output table lists each river s record number, name, number of arcs, and total length. The Sort button can help identify the longest or shortest river. 22

Let s close these output tables and return to the ArcMap display area. Let s rename our data frame by double clicking on it in the table of contents and entering the name Watershed Area into the name box. 23

Choose OK to make the change take effect. 24

Eventually, we ll want to create a set of maps of our watersheds and their locations. Rename the state outline layer to Oregon. Let s create a new data frame that will hold the Oregon outline and the watershed polygons. From the Insert menu, choose data frame. Note that a new data frame should be added to your table of contents and should be active (in bold). You should probably switch to List by Drawing Order view in the Table of Contents. Let s right click on the Oregon layer and choose copy from the pop up menu. Right click on the new data frame in the table of contents and choose paste. Let s repeat this process for the Watersheds layer. When finished pasting, remove the Oregon layer from the Watershed Area layer by right clicking on it and choosing remove. Let s clean the title and appearance of the Oregon layer. Let s also rename the new data frame to Watershed Location. 25

Let s activate the Watershed Area data frame by right clicking on it and choosing activate from the pop up menu. Choose the Full Extent button to refresh the display. 26

Save your map document. All work you have done has been saved up to this point. You can reopen this file to get back to where you left off. 27

LAB 1 Application: Calculating Stream Lengths and Watershed Areas. Assignment 1. Please answer the following questions and present your type written answers by the start of your lab during week 2. Be sure to include your name, course number (FE 257), assignment number, and lab day and time (please include both so we can keep track of your assignments) in the upper left-hand corner of the first page. 1A. We worked with several databases during the lab assignment in class. Two of the layers we examined were a watershed and a river coverage from Oregon's coast. Once you complete the lab assignment, you should have the skills to answer a few questions about the layers. Please answer the following (five points): A. What is the relative size percentage by HUC number for the two most southern watersheds? You should create a table with two columns for your results. One column should contain the HUC number for each of you watersheds and the other column should contain the percent size. Each column should have a title. Ex: Example: HUC Percent area B. What are the names of the third shortest and third longest rivers/creeks in the Rivers layer? C. What is the name of the city located farthest to the north? 1B. GIS concepts and definitions were presented during the first lecture and in Chapter 1 of your book. On pages 24-25 of the course text, please answer the following questions: 1.5 List one pioneer and briefly describe their accomplishments (two points) 1.11 List three techniques- you don t need to describe them (three points) Please read chapter 1 for this week, and chapters 2 and 4 (read chapter 4 before chapter 2 to prepare for the week 2 lab) in your text book in preparation for next week. 28