Handling Raster Data for Hydrologic Applications

Similar documents
How to Create Stream Networks using DEM and TauDEM

HEC-HMS Lab 2 Using Thiessen Polygon and Inverse Distance Weighting

MERGING (MERGE / MOSAIC) GEOSPATIAL DATA

Delineation of Watersheds

In this exercise we will learn how to use the analysis tools in ArcGIS with vector and raster data to further examine potential building sites.

Tutorial 8 Raster Data Analysis

GIS IN ECOLOGY: ANALYZING RASTER DATA

The Geodatabase Working with Spatial Analyst. Calculating Elevation and Slope Values for Forested Roads, Streams, and Stands.

Creating Watersheds from a DEM

Using the Stock Hydrology Tools in ArcGIS

Data Structures & Database Queries in GIS

GIS IN ECOLOGY: ANALYZING RASTER DATA

Task 1: Start ArcMap and add the county boundary data from your downloaded dataset to the data frame.

Automatic Watershed Delineation using ArcSWAT/Arc GIS

WORKING WITH DMTI DIGITAL ELEVATION MODELS (DEM)

Using ArcGIS for Hydrology and Watershed Analysis:

Exercise 4. Watershed and Stream Network Delineation

Exercise 3: GIS data on the World Wide Web

Outcrop suitability analysis of blueschists within the Dry Lakes region of the Condrey Mountain Window, North-central Klamaths, Northern California

v WMS Tutorials GIS Module Importing, displaying, and converting shapefiles Required Components Time minutes

SIE 509 Principles of GIS Exercise 5 An Introduction to Spatial Analysis

Overlay Analysis II: Using Zonal and Extract Tools to Transfer Raster Values in ArcMap

Using a GIS to Calculate Area of Occupancy. Part 1: Creating a Shapefile Grid

caused displacement of ocean water resulting in a massive tsunami. II. Purpose

Determining the Location of the Simav Fault

GEOG4017 Geographical Information Systems Lab 8 Spatial Analysis and Digital Terrain Modeling

Learning Unit Student Guide. Title: Estimating Areas of Suitable Grazing Land Using GPS, GIS, and Remote Sensing

Watershed Analysis of the Blue Ridge Mountains in Northwestern Virginia

Exercise 2: Working with Vector Data in ArcGIS 9.3

Geographical Information Systems

Spatial Data Analysis in Archaeology Anthropology 589b. Kriging Artifact Density Surfaces in ArcGIS

Global Atmospheric Circulation Patterns Analyzing TRMM data Background Objectives: Overview of Tasks must read Turn in Step 1.

Part 1: GIS Data from the Web: Downloading and Projecting Digital Elevation Models (DEM) and BTS Road data

v Prerequisite Tutorials GSSHA WMS Basics Watershed Delineation using DEMs and 2D Grid Generation Time minutes

GEOG 487 Lesson 7: Step-by-Step Activity

Task 1: Open ArcMap and activate the Spatial Analyst extension.

Working with Digital Elevation Models in ArcGIS 8.3

DEMs Downloading and projecting and using Digital Elevation Models (DEM)

Lab 1: Landuse and Hydrology, learning ArcGIS II. MANIPULATING DATA

Exercise 2: Working with Vector Data in ArcGIS 9.3

GIS in Management Planning. Lab 2 Coordinate Systems and Map Projections

Lab 1: Importing Data, Rectification, Datums, Projections, and Coordinate Systems

How might you use visibility to map an ancient civilization's political landscape?

GIS in Water Resources Midterm Exam Fall 2016 There are four questions on this exam. Please do all four. They are not all of equal weight.

ISU GIS CENTER S ARCSDE USER'S GUIDE AND DATA CATALOG

Watershed Modeling Orange County Hydrology Using GIS Data

Geog 210C Spring 2011 Lab 6. Geostatistics in ArcMap

Vector Analysis: Farm Land Suitability Analysis in Groton, MA

GeoWEPP Tutorial Appendix

Today: GEOL 452/552 - GIS for Geoscientists I. Lecture 3 - Chapter 1. GIS vector Data (review) Let s annotate this layer (draw on paper)

CE 365K Exercise 1: GIS Basemap for Design Project Spring 2014 Hydraulic Engineering Design

Creating Watersheds from a DEM in ArcGIS 9.x

Compilation of GIS data for the Lower Brazos River basin

In order to follow this exercise you need to have completed exercise 1.

HEC-HMS Lab 4 Using Frequency Storms in HEC-HMS

Exercise 12 Spatial Analysis on Antarctica

GIS Semester Project Working With Water Well Data in Irion County, Texas

Learning ArcGIS: Introduction to ArcCatalog 10.1

GIS Workshop UCLS_Fall Forum 2014 Sowmya Selvarajan, PhD TABLE OF CONTENTS

ArcHYDRO: GIS for Water Resources

Spatial Analyst: Multiple Criteria Evaluation Material adapted from FOR 4114 developed by Forestry Associate Professor Steve Prisley

Open ArcToolbox Spatial Analyst Tools Hydrology. This should display the tools shown at the right:

Watershed Delineation

This lab exercise will try to answer these questions using spatial statistics in a geographic information system (GIS) context.

Lab#3: GIS Projections and Coordinate Systems. Start Arcmap and create a data frame for each of the above coordinate systems.

Geo 327G Semester Project. Landslide Suitability Assessment of Olympic National Park, WA. Fall Shane Lewis

Exercise 6: Working with Raster Data in ArcGIS 9.3

GIS Topographic Wetness Index (TWI) Exercise Steps

Outline Anatomy of ArcGIS Metadata Data Types Vector Raster Conversion Adding Data Navigation Symbolization Methods Layer Files Editing Help Files

Welcome to NR502 GIS Applications in Natural Resources. You can take this course for 1 or 2 credits. There is also an option for 3 credits.

Exercise 6: Using Burn Severity Data to Model Erosion Risk

Lab 2: Projecting Geographic Data

Delineation of high landslide risk areas as a result of land cover, slope, and geology in San Mateo County, California

Lab 7: Cell, Neighborhood, and Zonal Statistics

CE 394K/CEE6440 GIS in Water Resources Fall 2018 Final Exam Solution

(THIS IS AN OPTIONAL BUT WORTHWHILE EXERCISE)

Working with Digital Elevation Models and Digital Terrain Models in ArcMap 9

Effects of sea level rise on shallow atolls in the South Pacific

Displaying Latitude & Longitude Data (XY Data) in ArcGIS

11. Kriging. ACE 492 SA - Spatial Analysis Fall 2003

Course overview. Grading and Evaluation. Final project. Where and When? Welcome to REM402 Applied Spatial Analysis in Natural Resources.

Conservation Applications of LiDAR Data

GEOG 3830 Geographic Information Systems

BSEN 6220 GIS LAB #5

Catchment Delineation Workflow

Lab 1: Importing Data, Rectification, Datums, Projections, and Output (Mapping)

Studying Topography, Orographic Rainfall, and Ecosystems (STORE)

Outline. Chapter 1. A history of products. What is ArcGIS? What is GIS? Some GIS applications Introducing the ArcGIS products How does GIS work?

Assessing Point Groundwater Contamination Potential

WindNinja Tutorial 3: Point Initialization

Session Objectives. Learn how to: Bring georeferenced aerial imagery into Civil 3D. Connect to and import GIS data using various tools and techniques.

Lab 5 - Introduction to the Geodatabase

Geography 281 Map Making with GIS Project Eight: Comparing Map Projections

13 Watershed Delineation & Modeling

NR402 GIS Applications in Natural Resources

Trouble-Shooting Coordinate System Problems

Land Cover Data Processing Land cover data source Description and documentation Download Use Use

WHAT MAKES A GOOD GIS LAB EXERCISE? Robert N. Martin

SLR Calculator: Sea Level Rise (SLR) Inundation Surface Calculator Add-in for ArcGIS Desktop & 10.4

Introduction to ArcGIS 10.2

Transcription:

Handling Raster Data for Hydrologic Applications Prepared by Venkatesh Merwade Lyles School of Civil Engineering, Purdue University vmerwade@purdue.edu January 2018 Objective The objective of this exercise is to learn how to handle raster data in ArcGIS and understand its properties such as data type, coordinate system, horizontal resolution and vertical accuracy in hydrologic applications. Learning outcomes 1) Adding and visualizing raster data in ArcGIS 2) Projecting raster data in ArcGIS 3) Clipping a raster data for a given watershed or area of interest 4) Extracting values from a raster data set for points, lines and polygons 5) Computing vertical accuracy of a Digital Elevation Models Input Data You are provided with one raster dataset, which is the Digital Elevation Model (DEM), and several vector datasets. These data are available on blackboard as lab2.zip inside the lab2 folder. The data are also available at: ftp://ftp.ecn.purdue.edu/vmerwade/download/data/lab2.zip. Unzip the lab2.zip file in your working folder and you will see two sub-folders named ned and vector. The ned folder contains the National Elevation Dataset (raster layer) for a region in Indiana. The vector folder contains four shapefiles named point, Tippecanoe, Wabash and watersheds. You will learn more about these layers during the tutorial. Q1. What is the difference between a shapefile and a feature class in ArcMap. Opening and Saving ArcMap Documents Open ArcMap as a blank new map by going to Programs. Save the ArcMap document as lab2.mxd by going to File Save As.. 1

Make sure you save the document at the same location where you have unzipped the input data. Adding Raster Data to ArcMap Document Add any type of data to an ArcMap document by either going to File Add data or by clicking the Add Data button. Add ned data to the map document. If you are asked whether to build pyramids, select Yes. Q2. What does building pyramids for raster data mean in GIS? Why is it useful? <Use Help in ArcGIS to learn and answer these short questions. This is my recipe for self-learning> Exploring Properties of Raster Data Lets explore the properties of the elevation data. Right click on ned, and select Properties. In the Layer Properties window, select the Source tab. 2

A raster is organized as a matrix of square cells with each cell having a single value. In the case of the elevation data, each cell will have an elevation value to represent the average elevation for that cell. It is very important to know the size of this cell so we know the resolution of a given dataset. This information is typically referred by using multiple names such as grid size, cell size, or horizontal resolution. Cell size (x,y) gives the spatial resolution of the data. Because the ned data is not projected, the cell size that you see here is in angular units (degrees). This is one way to tell whether your data is projected to a coordinate system or not. In geographic coordinates, the data will have x,y cell size in degrees. The size of the matrix (number of rows and columns) and the cell size defines the geographic extent of the dataset. Q3. What do you understand by geographic coordinates and projected coordinates? Some reading is provided on blackboard to understand projection in GIS. Q4. Do you know how to convert arc seconds to meters and vice versa? Find approximate cell size for the arc-seconds you see for the ned dataset. The next key property in a raster dataset is the data type, which is provided as Pixel Type in the layer properties window. The pixel type for the ned dataset is floating point. Q5. What is a floating point data type? What other datatypes can be associated with a raster layer? The extent gives the (x,y) coordinates of the four corners of the raster dataset. Spatial reference gives the information of the geographic/projected coordinate system for the dataset. Finally, the statistics gives some basic statistics of the raster dataset. Projecting Raster Data Assuming you now know the difference between geographic coordinates and projected coordinates, lets assign some projected coordinates to the ned dataset, and explore the changes to the dataset. If you still do not know the difference, you should know it by now. To project any dataset, you will use the Arc Toolbox. Click on the Arc Toolbox. In the Arc Toolbox, select Data Management Tools Projections and Transformations Raster Project Raster 3

In the Project Raster window, select ned for Input Raster. Name the output raster as ned_prj, and save it at the same location where your other information for this lab is stored. For the output coordinate system, click the button next to it, and select Projected Coordinate System UTM NAD 1983 NAD_1983_Zone_16_N. Change the output cell size to 30 for both x and y, leave all the other default options unchanged, and Click OK. Q6. Why did we use NAD 1983 UTM Zone 16 for this data? Answer separately for both NAD 1983 and UTM Zone 16N. Where is the data located within the US? (Hint: Read about UTM zones Find out where the data is located in the US by using some base layers from ArcGIS online) Once ned_prj is added to the map document, open its properties window, and look at the source tab to see what has changed. Q7. What changes do you see in the properties of ned_prj compared to ned? How did the coordinates for your data change after doing the projection? What do you understand by some of the terms such as false easting, false northing, central meridian, etc. associated with the projected spatial reference? Why do you think this is useful? Clipping Raster Data Most often the data we get is in square or rectangular tile (tiles). When we get multiple tiles, we have to mosaic the tiles to create a single raster (this should be done before projecting). In this case, we have a single tile so we do not have to mosaic. Most often 4

even with or without mosaicing, the spatial extent of a DEM or any other dataset is greater than our area of interest. In such case, to avoid the additional computational burden from extra data, we clip the data to match our area of interest. We call this process as clipping or intersection. Using the Add Data button, browse to the vector folder and add Tippecanoe.shp to the map document. This shapefile gives you the boundary of the Tippecanoe County. Q8. What is the coordinate system of Tippecanoe boundary shapefile? How did you find this out? Project the Tippecanoe shapefile to the same coordinate system as ned_prj. For projecting ned, you used Raster Project Raster in ArcToolbox. In this case, you will use Projections and Transformations Project. Remember Tippecanoe boundary is a vector feature layer and ned is a raster layer. Name the projected feature as tipp_prj.shp to save it as shapefile in the same vector folder. We are interested in getting the elevation data just for the Tippecanoe County. First we will clip the DEM to match with the county boundary. To clip ned_prj, you will be using the Arc Toolbox. Go to Data Management Tools Raster Raster Processing Clip. In the Clip window, select ned_prj as the input and tipp_prj.shp for the output extent. Check the box for using input features for clipping the geometry. Name the output raster as ned_tipp, and click OK. 5

Q9. What is the maximum, minimum and average elevation in the Tippecanoe County? (Hint: look at properties) Extracting values from a raster data set for points, lines and polygons Most often, hydrologists are interested in extracting information for a given location or area from a raster. To extract information at one or multiple points, you can use Arc Toolbox. Add points.shp to your map document from the data folder. Again check if this dataset is projected. If not, go ahead and project it to match with other projected datasets. Name the new point shapfile as point_prj.shp. The point shapefile contains the location of Lafayette and West Lafayette in the Tippecanoe County in the form of points. Open the attribute table of points and look at its attributes. We would like to know the elevation at these points. One way to do this is use the identifier button, and click on one of the points. Initially you may only see the attributes of the point shapefile, and not the elevation. Change the settings of the identify window to see the information for all layers (shown below) and hit the identify button again. You will then see the elevation at this point next to ned_tipp in the identify window as shown below. 6

This is a manual way of extracting information for a point from a raster. When you have multiple points, it is tedious to click on each point to get the elevation from the underlying DEM.A better way is to use the ArcToolbox. In Arc Toolbox, select Spatial Analyst Tools Extraction Extract Values to Points. In the next window, provide the point_prj.shp as input features, ned_tipp as input raster and save the output features in points_z.shp. Click OK. After the process is complete, points_z.shp will be added to the map document. Open the attribute table of points_z.shp. You will see the extracted values in a field named RASTERVALU. Q10. What is the elevation of points corresponding to Lafayette and West Lafayette in the DEM? (Note: remember these values are in meter) What you just did was extracting elevation for points. In hydrologic applications, elevations also play role in defining the profile of river bed, river cross-sections, river 7

banks and other lateral features. Most lines are 2D, and when you associate elevations with a 2D line, it becomes a 3D line. Add Wabash.shp from the vector folder to your map document. This shapefile describes a short reach of the Wabash river going through Tippecanoe County. Is Wabash.shp projected? Open the attribute table for Wabash.shp to look at its shape attribute. It should say polyline. We will now convert the Wabash 2D line into a 3D line. This can be accomplished by using the interpolate shape tool. In the Arc Toolbox, select 3D Analyst Tools Functional Surface Interpolate Shape. Use ned_tipp as the input surface, Wabash.shp as input features, and name the output features as Wabash_z.shp. Leave the other default options unchanged, and click OK After the process is complete, you will see a new shapefile Wabash_z.shp added to the map document. Open the attribute table of Wabash_z.shp, and look at its shape field. How is it different compared to the shape field in Wabash.shp? Q11. What is the difference between a simple shape (point,polyline, polygon) and a shape with MZ attributes? Select the line from Wabash_z.shp, and use the profile graph tool in 3D analyst (Make sure 3D Analyst Tooblar is added and the 3D Analyst extension is enabled) to see that the elevations from the DEM are not transferred to the line in Wabash_z.shp to create the river profile (3D line). 8

The profile graph tool will plot the elevation profile of the just created Wabash_z line as shown below. You can follow the same procedure (using Interpolate Shape tool) to convert points, lines and polygons into surfaces. Q12. What is the difference between extract values for points and interpolate shape tool for point features? You know how to extract values from a surface to a line or a point. In the case of polygons, hydrologists are generally interested in computing average properties for different variables such as watershed slope, average watershed elevation, and average curve number. This task can be accomplished by using the zonal statistics tool. Add watersheds.shp to your map document. Is this layer projected? What we are going to do now is to compute average elevation for each feature in the watershed layer by using a DEM. In the Arc toolbox, select Spatial Analyst Tools Zonal Zonal Statistics as Table. 9

Input watersheds.shp for input features. Zone field is the field that has some sort of unique identifier for each polygon so that you can use this identifier to link the computed values to the polygons in the input features. In this case, HU_NAME is unique for each polygon. The input raster is ned_prj, and save the output table as watershed_statistics in your working folder. In the statistics type box, you can pick the statistic that you are interested in, or you can compute them all. In this case, we will compute all. Click OK. Q13. The data table that you just created is not linked to the shapefile. Link this table to the shapefile, and create a map that shows different colors for all watershed based on the average elevation. <Hint: use the Join property of the watersheds layer to join the watersheds features with the watersheds_statistics table. Use HU_NAME as the common identifier>. What is the average elevation of the following watersheds: Indian Creek, Buck Creek and Sugar Creek-Little Sugar Creek in Tippecanoe County? Computing vertical accuracy of digital elevation models A digital elevation model gives elevation values for each cell. While a finer resolution (small cell size) DEM is desirable, it is more important to have a DEM that is also accurate. That means the elevation that you get for each cell is closer to the ground truth as much as possible. This property is generally referred to as vertical accuracy. If a DEM has a vertical accuracy of 0.5m, the average difference between the DEM and the actual topography is around 0.5m. The more data you have for actual topography, the more confidence you have on the vertical accuracy. In this exercise, you will only learn the process of calculating the vertical accuracy by using the two points we have for Lafayette and West Lafayette in the points shapefile. 10

The process is relatively straightforward. You need to have points where you have observed ground elevations. In our case, that information is stored in the ELEVATION field in the point feature class. Next, you need to extract the elevation values from the DEM for these locations. This is already done when you created the point_z shapefile. All you need to do is compute the root mean square error (RMSE) between the two data series, and this will give you the vertical accuracy of the DEM. Q14. What is the vertical accuracy of ned_tipp by using the data in points.shp? Homework 2 (Due on January 24; Data and instructions are on blackboard) Part 1 Answer to all 14 questions in this tutorial. The map below shows the watershed boundary for Cedar Creek in Indiana. This watershed overlaps with three counties as shown in the map. The DEM tiles for this area are provided to you on blackboard under HW2 folder. v Q12. Create a DEM for Cedar Creek and show it on a map with legend, scale and north arrow. (you will have to mosaic, project and clip the DEM before you can answer this question. When you project the DEM use a cell size of 30m) Q13. What is the minimum, maximum and average elevation for Cedar Creek in meters? Q14. What is the average elevation of all the sub-basins (provided on blackboard) in Cedar Creek? Create a table to show the basin number and its average elevation in meters. Q16. Create a map of Cedar Creek sub-basins showing a distinct color for the average elevation in each sub-basin. Include legend in your map. Q15. What is the vertical accuracy of the DEM for the Cedar Creek? The points with observed elevations are provided on the blackboard. 11

Part 2 1) Download the DEM/DEM tiles for your project area (watershed boundaries are provided on blackboard). Instructions downloading DEM are provided on blackboard. You will download one arc-second ned in ArcGrid or Grid format. 2) Create a DEM for your watershed and show it on a map with legend, scale and north arrow. (you will have to mosaic, project and clip the DEM before you can to answer this question. When you project the DEM use a cell size of 30m) 3) What is the minimum, maximum and average elevation for your project watershed in meters? 12