Spring 2013 ArcGIS for Geoscientists GEOL 596 Lab 6: Pulling topographic profiles from DEMs The first step of building cross-sections Pulling topographic profiles from DEMs in ArcGIS can be useful for a variety of purposes beyond just creating cross-sections, but that’s the primary way we will use them. As with everything else we’ve done, there are several steps to this process – here’s a quick overview: 1. Create a new feature class for your cross-section lines, then draw the lines. 2. Open the Spatial Analyst toolbar and interpolate the lines using the DEM. 3. Export the data from the interpolation to Excel. 4. Create a line graph in Excel and export it to Adobe Illustrator. 5. Manipulate the scale and layout of the topo profile in Illustrator and draw the crosssection. I will give you some tips and techniques once you get in to Illustrator as well, but the primary focus of this process is on getting data out of ArcGIS. For this lab, I will also include fewer step-by-step instructions, since you are repeating many of the same things you’ve done before. My goal is for you to start internalizing some of these processes so that you don’t always need the step-by-step instructions. So if you feel like I am providing less detail and you have to remember how to do stuff, your feelings are valid. 1 Spring 2013 ArcGIS for Geoscientists GEOL 596 Pulling topographic profiles It’s possible to pull topographic profiles without creating a new feature class of lines, but doing so allows you to edit the lines once you make them, and will save your lines in another layer that is not only useful but a very common feature of published geologic maps. So you can easily pull topo profiles more quickly if you just want to check it out, but I am going to go through the process to create more “permanent” cross-section profiles, and to create a bunch of them at once. 1. Launch ArcCatalog and create a new line Feature Class called cross_section_lines. You might add attribute fields that allow you to letter or number the lines and add notes. 2. Open your map in ArcMap and add the new feature class. 3. Turn on editing and draw your desired cross-section lines. 4. Select all of the cross-section lines you just drew. 5. Open the toolbox (you can do this in either ArcMap or ArcCatalog). Open 3D Analyst Functional Surface, and double-click on Interpolate Shape. 6. The following dialogue box should open: For the input surface, select your projected DEM. The input feature class is your crosssection lines layer. And then you can name the output feature class and put it somewhere 2 Spring 2013 ArcGIS for Geoscientists GEOL 596 reasonable. This is also going to be a line layer, but the lines will have elevation information associated with them. When you select your input surface, the method will probably automatically change to Bilinear – that’s fine. You can keep the default. Once you have everything you need in there, click OK. 7. This should create a new layer fairly quickly. Add this to your map – it should directly overlay your other cross-section line layer, which you can remove or turn off. Open the 3D Analyst toolbar. 8. Select one of your cross-section lines from the interpolated layer, and click on the Profile graph icon in the 3D Analyst toolbar . You should get something that looks like this. You can do a lot of manipulation of the graph here, but don’t bother. We will do all of the manipulation elsewhere. 9. Right-click on the graph and select Export… 10. In the dialogue box that opens, select the Data tab. 3 Spring 2013 ArcGIS for Geoscientists GEOL 596 You want to export the data in Excel format. This will essentially save a spreadsheet with two columns of data: the first column will be distance along the line, and the second column will be elevation. Once you select Excel as the format, click Save… and save it in a logical place. 11. Open the data in Excel. Select the two columns of data and create a scatter graph that is a line with no marker symbols. 12. In Excel, there are a few things you should adjust to make it easier to mess with in Illustrator. a. Adjust the scale appropriately. If you are making multiple cross-sections, make the scale exactly the same. b. Put the tick-marks inside the box. c. Change the font to something simple like Helvetica or Arial. d. Get rid of all of the extraneous stuff. Don’t worry about the vertical exaggeration or the relative scaling of the axes. 13. Once you have it simplified, right-click in the graph area and select Save As Picture… Then save it as a PDF. Open the PDF in Illustrator to further edit the graph, including adjusting the scale so that it is 1:1 (no vertical exaggeration) or whatever scale is appropriate for your needs. 14. Then you can begin to draw the cross-section. As in Arc, draw all your lines and make sure you are happy with the location of your lines before you worry about coloring the units. Once you are happy with the lines, you can generate the polygons from the lines by using the Divide Objects Below command in the Object Path menu. (This process is a bit different from the way you proceed in Arc. The general idea is that you want to duplicate the lines, make a box the size of your cross-section that you put below your lines, and then use the duplicated lines to divide the box one step at a time. Again, you want to use snapping to make sure that you are snapping all of the edges together.) 4