Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the HydrologyLab.aprx file.
  2. On the Standard toolbar, click the Insert tab and click New Map.
  3. Click the Map title in the table of contents. Rename the map to Lab2.

 

Projecting vector data

Before downloading any new data, you will further process data from Lab 1 in preparation for this lab.

  1. On the catalog pane, expand Databases and HydrologyLab.gdb file.
  2. Drag the Watersheds feature class into the Map Display.
  3. In the Table of Contents, double-click the Watersheds layer.
  4. In the ‘Layer Properties’ window, click the Source tab and expand Spatial Reference.

    Notice that the layer is in a geographic coordinate system called GCS_North_American_1983. Because the data has a geographic coordinate system, the coordinates are stored in degrees, which indicate the three-dimensional spherical location of the data. Though the data itself is stored in a geographic coordinate system, your computer monitor is flat, so, though no projection has been defined, the data must be displayed in a particular projection. Whenever ArcMap displays data in a geographic coordinate system, it uses a Plate_Carrée projection, where one degree of latitude by one degree of longitude is represented as a square, rather than a curved trapezoid. This projection results in increasing stretching in the east-west direction, the farther north or south from the equator you are mapping.

  5. Close the ‘Layer Properties’ Layer Propertieswindow.

    Working with geographic coordinate systems is fine for creating purely visual maps, as you did in Lab 1 (though the visual distortion can be disorienting and misleading), but in this lab, you will be calculating areas, distances, and overlaps between features. Such calculations require the three-dimensional coordinates to be projected down onto a two-dimensional plane, so that the coordinates are stored in linear units, such as feet or meters, rather than degrees. In order to facilitate measurements of distance and area, you will now project the Watersheds layer into the State Plane Texas South Central projection which is best suited to mapping the greater Houston region.

  6. In the Analysis tab, click Tools.
  7. Under Toolboxes, double-click the Data Management Tools toolbox à toolbox → Projections and Transformations toolset à toolset → Project tool.
  8. For ‘Input Dataset or Feature Class’, use the drop-down menu to select Watersheds layer.

    Note that the input coordinate system is GCS_North_American_1983, as you previously determined and cannot be changed.

    Also notice that the output dataset defaults to your ElevationRainfall geodatabase.

  9. For ‘Output Dataset or Feature Class’, rename “Watersheds_Project” to “WatershedsWatersheds_StatePlane”StatePlane, since that is the name of the projection you will be using.

...

  1. Next to the ‘Output Coordinate System’ box, click the Set Coordinate System button.

...

  1. Double-click Projected Coordinate Systems

...

  1.  → State Plane

...

  1. NAD 1983 (2011) (US Feet).

...

  1. Select NAD 1983 StatePlane Texas S Central FIPS 4204 (US Feet) and click OK.

    Because both the input and output coordinate systems are based on the NAD 1983 geographic coordinate system, no geographic transformation is required.

...


  1. Ensure your ‘Project’ window appears as shown below and click Run.
    Image Modified

...

  1. Close Geoprocessing Pane.

    Now that you have the correctly projected layer, you no longer need the original NAD 1983 layer.

...


  1. Right-click the Watersheds layer and select Remove.

...

  1. Double-click the new Watersheds_StatePlane layer.

    Notice that the layer is now in a projected coordinate system, NAD_1983_StatePlane_Texas_South_Central_FIPS_4204_Feet.

...


  1. Close the

...

  1. Layer Propertieswindow.

    You may have noticed that the visual appearance of the watersheds did not change in your Map Display, even though you projected them. That is because the data frame takes on the projection of the first layer added to it. Since you first added the original

...

  1. unprojected Watersheds

...

  1.  layer into the data frame, which was in NAD 1983, the data frame displays the data in NAD 1983 (or Plate_Carrée). Currently, the

...

  1. projected Watersheds_StatePlane

...

  1.  layer is being projected-on-the-fly back into NAD 1983 for visual purposes, so that the two layers are properly aligned in space.

    Move the cursor around the screen and notice that the coordinates in the bottom right corner of the Map Display are shown in decimal degrees. This is another clue that the data frame is still using a geographic coordinate system; however, you would like the data frame to display data using the local Houston projection.

...


  1. At the top of the Table of Contents, right-click

...

  1.  the Lab 2 map title

...

  1. and click Properties.

...

  1. Click

...

  1.  the Coordinate System tab.

    While you could search for or navigate to the State Plane Texas South Central coordinate system, as you did before, in this case, you know that the same coordinate system is already used by

...

  1. the Watersheds_StatePlane

...

  1.  layer. In such an instance, it is often easier to import the coordinate system from another known layer, especially if you are not familiar with the hierarchy of the coordinate system folders

...


...


  1. On the ‘Coordinate System’ tab toolbar, click the Add Coordinate System button and select

...

  1. Import.
    Image Modified

...

  1. Double-click

...

  1.  the HyrdologyLab

...

  1.  geodatabase.

...

  1. Select

...

  1.  the Watersheds_StatePlane feature class

...

  1. and click Add.

    Notice that the familiar State Plane Texas South Central projection is now listed.

...


  1. Click OK.

    Notice that the watershed boundaries are now more compact in the east-west direction, as expected, because the local projection results in less distortion than the Plate Carrée projection used to represent geographic coordinate systems.

Part 2: Downloading DEM Data

...

  1. In a web browser, go to https://viewer.nationalmap.gov/basic/.

    First you will select the data products you are interested in viewing and downloading.

  2. On the left side bar, check the Elevation Products (3DEP) section to expand it.
  3. Within the Product Search Filter, check 1/3 arc-second DEM for the subcategory and select ArcGrid for the File Format.
  4. On the left side bar, scroll below the Elevation Products section and check the Hydrography (NHDPlus HR, NHD, WBD) section to expand it.
  5. Within the Product Search Filter, select National Hydrography Dataset (NHD) for the subcategory, select HU-8 Subbasin for the Data Extent and select FileGDB10.1 for the File Format.

    Now you constrain your downloads to your area of interest.

  6. In the search bar just above the map on the right, type “Houston” Houstonand click Go.

    After zooming into Houston, you can see the blue boundaries of the individual subbasins and each subbasin is labeled with its HUC-8 number on the map.
    Image Modified

...

  1. Near the center of the map, click within Subbasin 12040104 to select it.
    Image Modified
    Notice that just above the map, your search is now constrained to Polygon: huc8 12040104.

  2. At the top of the left side bar, click Find Products.
  3. Under Available Products, to the right of Elevation Products (3DEP), click results.

...



  1. You are now provided with a listing of all the DEM tiles covering the area of Subbasin 12040104.
    Image Modified

...

...

  1. In turn, click Download for USGS NED n30w096, n30w095, and n31w096.
    Image Modified

...

  1. Navigate

...

  1.  to the location where the three zipped folders have been downloaded.

...

  1. Select

...

  1.  and copy all three zipped folders.

...

  1. Using Windows Explorer, navigate

...

  1.  to your HydrologyLab folder.

...

  1. Paste all three zipped folders directly inside

...

  1. your HydrologyLab folder. Do NOT paste them inside the .gdb

...

  1.  geodatabase.

...

  1. Select all three zipped folders.

...

  1. Right-click any of the three selected folders

...

  1. and select 7-Zip

...

  1.  → Extract to “*\”, which will create one unzipped folder for the contents of each zipped folder.

...

  1. Return

...

  1.  to ArcGIS Pro.

    Since you just added new files to your folder, you will need to refresh it in order for them to appear in ArcCatalog.

...


  1. Click

...

  1.  the Project tab on the Catalog pane.

...

  1. Right-click

...

  1.  your HydrologyLab folder

...

  1. and select Refresh.

...

  1. Expand n30w095 and the other folders to preview their contents.

    Each raster file with a name such

...

  1. as grdn30w095_

...

  1. 13 corresponds to a 1x1 degree tile. The file name contains “grd” for grid, followed by the latitude and longitude of the top left corner of the tile.

...

Ading raster data in ArcMap

  1. Drag the grdn30w095_13 raster into the Map Display.

    You will be asked if you would like to create pyramids. Pyramids cache the raster at multiple reduced resolutions, resulting in an increased file size, but better rendering performance in your Map Display. It is normally a good idea to create pyramids, but since you will be processing the corresponding rasters into a new file in the next step, you will not create pyramids at this time.

  2. Repeat Steps 1 and 2 with the grdn30w096_13 and grdn31w096_13 rasters.

    Notice that the 1x1 degree tiles appear as angled rectangles, because they are being displayed in the State Plane Texas South Central projection. If the data frame were still in the NAD 1983 geographic coordinate system, the tiles would look like squares. Now you will look up the native coordinate system of the raster files.

  3. In the Table of Contents, double-click the grdn31w096_13 layer.

    Under the Source tab, scroll down and notice the spatial reference is listed as GCS_North_American_1983. Since this coordinate system is not the same one currently used by the data frame, the raster layer is being projected-on-the-fly into the State Plane Texas South Central projection.

Mosaicking raster files

The edges where the three tiles meet are currently visible, because the minimum and maximum elevation is different in each raster, causing the same value to be represented with a different shade of gray in each raster. To solve that visual problem and also simplify future processing steps, you will mosaic the three rasters into a single raster.

Before creating a mosaic, you will need to look up a few pieces of information from the original rasters. Scroll back to the top of the ‘Layer Properties’ window. Notice that there is 1 band, meaning that each pixel only stores a single value. Aerial imagery has 3 bands to store the 3 RGB values. The format is listed as GRID, which stands for an Esri Grid, which is a raster file format native to Esri software. The pixel type and depth is 32-bit floating point.

  1. Close the ‘Layer Properties’ Layer Propertieswindow.
  2. Open Tools. Click Toolboxes on the geoprocessing pane.
  3. In the Data Management Tools toolbox, click the Raster toolset à toolset → Raster Dataset toolset à toolset → Mosaic to New Raster tool.
  4. For ‘Input Rasters’, select the three 1x1 degree raster layers.
  5. For ‘Output Location’, click the Browse button.
  6. Select the Lab1 geodatabase and click Add.
  7. For ‘Raster Dataset Name with Extension’, type “DEMMosaic” DEMMosaic.
  8. Use the ‘Pixel Type’ drop-down menu to select 32 bit float, since that was the same type stored in the original rasters.
  9. For ‘Number of Bands’, type “1” 1. (The text appears on the right side of the field.)

...

  1. Ensure your ‘Mosaic To New Raster’ appears as shown below and click Run.
    Image Modified
    The mosaic may take a couple minutes to process. When it is complete, notice there are no longer visual seams between the tiles in the mosaicked raster. Now that you have a single mosaic, you no longer need the three originals tiles.

...


  1. Remove all three original raster files from the Table of Contents.

Projecting raster files

Now you need to project your mosaic into the State Plane Texas South Central projection, so that you can properly calculate spatial statistics based on the data it contains.

...