Versions Compared

Key

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

...

  1. Click Imagery.zip above to download the tutorial data.
  2. Open the Downloads folder.
  3. Right-click Imagery.zip and select Extract All....
  4. In the 'Extract Compressed (Zipped) Folders' window, accept the default location into the Downloads folder and click Extract.
  5. Drag the unzipped Geoprocessing folder onto your Desktop.
  6. Close all windows.

Geoprocessing in ArcGIS Pro

Opening an Existing Project

Setting Up a Reference Map

  1. On the Desktopdouble-click the Imagery folder.
  2. Double-click the Imagery.aprx project file to open the project in ArcGIS Pro.

 

Setting Up a Map Document

You will begin by opening ArcMap and creating a new map document.

  1. On the desktop, double-click the ArcMap 10.5 icon.
  2. In the ‘ArcMap – Getting Started’ window, ensure that My Templates and the Blank Map template are selected.

At the bottom of the window, notice the default geodatabase for this map is currently set to C:\Users\gistrain\Documents\ArcGIS\Default.gdb. The default geodatabase should be set to the geodatabase that will contain most of the data for the particular map document you are working on. In this case, you will want to use the geodatabase in your ImageryTutorialData folder.

  1. Next to the ‘Default geodatabase for this map:’ box, click the Browse button.

 

  1. In the ‘Default Geodatabase’ window, click the Connect To Folder button.

 

  1. In the ‘Connect To Folder’ window, select the ImageryTutorialData folder located on the Desktop.

Ensure that the ImageryTutorialData folder is highlighted in blue and not the RiceCampusData.gdb geodatabase that appears inside it. You never want to connect directly to a geodatabase, as doing so will prevent you from being able to access any of the data contained inside of it.

  1. For ‘Folder:’, verify that either the ImageryTutorialData folder or the C:\Users\gistrain\Desktop\ImageryTutorialData filepath is listed and click OK.
  2. In the ‘Default Geodatabase’ window, select the RiceCampusData.gdb geodatabase and click Add.
  3. Ensure the ‘Default geodatabase for this map:’ box says “C:\Users\gistrain\Desktop\ImageryTutorialData \RiceCampusData.gdb” and click OK.

At this point, it is a good idea to save your map document and to continue saving regularly.

  1. On the Standard toolbar, click the Save button.

 

  1. In the ‘Save As’ window, use the ‘Save in:’ drop-down box to select the ImageryTutorialData folder.

You will save the map document here, directly inside the ImageryTutorialData folder, but NOT within the RiceCampusData geodatabase.

  1. For ‘File name:’, type “RiceCampus” and click Save.

Remember that, in order for your GIS project to open properly on other computers, you must tell the map document to store relative pathnames to its data sources and take your entire project folder containing all of your data and your map document with you.

  1. Click the File menu and select Map Document Properties….
  2. Towards the bottom of the ‘Map Document Properties’ window, click the checkbox to ‘Store relative pathnames to data sources’ and click OK.
  3. On the Standard toolbar, click Save again to store this setting in your map document.
  4. On the Standard toolbar, click the Add Data button to open the ‘Add Data’ window.

 

  1. .
  2. In the Catalog pane on the right, expand the Databases folder.
  3. Expand the Imagery.gdb geodatabase.
  4. Click the buildings feature class to select it
  5. Double-click the RiceCampusData geodatabase.
  6. Click the buildings feature class.
  7. Hold downShift and click the streets feature class to select all four feature classes in the geodatabase.
  8. Right-click the streets feature class and selectAdd To New Map.With

Ensure that all four feature classes

...

(streets, sidewalks, parking, buildings) appear in the Contents pane on the left. If you are missing any layers, drag them from the Catalog pane on the right directly into the Map view. The layers of the Rice campus should look familiar. If desired, update the symbology of each of the layers to a color of your choice by right-clicking on the color patch beneath each layer name and selecting a color. For example, you might choose to make the parking and streets layers two shades of gray, the sidewalks layer tan, and the

...

buildings layer red.

Now you will add in a JPEG file depicting an aerial view of campus. This image is just like any other image file you are familiar with and does not contain any sort of spatial reference.

  1. Again, on the Standard toolbar, click the Add Data button.
  2. In the ‘Add Data’ window, click the Up One Level button to return to your ImageryTutorialData folder.

 

  1. In the Catalog pane, expand the Folders folder.
  2. Expand the Imagery folder.
  3. Right-click the Select the aerial.jpg raster image and click Add.  (Do not double-click the aerial file to add.) select Add to Current Map.
  4. When asked if you’d like to build pyramids, click Yes.
  5. When a window appears alerting you that the aerial image does not have a spatial reference, click OK.
  6. In the Table of Contents, right-click the streets layer and select Zoom to Layer.
  7. In the Table of Contents, right-click the aerial layer and select Zoom to Layer.

...

Occasionally, you will come across an undefined data layer for which you cannot locate complete metadata telling you the coordinate system and projection for the data. In other cases, you may wish to make use of raster data that never had a coordinate system in the first place, such as this aerial photograph or a scanned historical planning map. Whenever the spatial reference for a layer is unknown or non-existent, you must georeference the layer by lining it up visually with other layers that have a known projection.

Georeferencing Imagery

Since the aerial photograph never had a coordinate system associated with it, you will need to georeference it based on the other campus layers using control points.  Control points are recognizable points in both layers that occur in the same geographic location.

  1. On the ribbon, click the Imagery tab.
  2. Click the Customize menu and select Toolbars > Georeferencing the Georeference button to open the Georeference tab.

Before you can begin to align the aerial image with the other layers, you will need to be able to see them all in the same view.

  1. RightIn the Contents pane on the left, right-click the streets layer and select Zoom to Layer.
  2. In the Georeferencing toolbar, click the Georeferencing drop-down menu and select the Fit to Display button.

The full extent of the image now appears behind the current layers.  It is always good to zoom in to the approximate extent of the image before using the Fit to Display command.  Notice that while both layers are now visible, they are not yet aligned.

...

  1. On the Georeferencing toolbar, click the Add Control Points button.  Your cursor will change to crosshairs.

 

...

  1. Click on the southwest corner of the upper deck of the stadium in the aerial layer.

 

2

1

...

  1. With a line linking to the first point you clicked on, click on the southwest corner of the upper deck of the stadium on the buildings layer.

...

  1. Visually, identify Fondren Library in both the aerial layer and the buildings layer.
  2. On the Tools toolbar, click the Zoom In button.

...

 

  1. In the center of campus, click and drag a box around Fondren Library in both layers to zoom into the area in which you will add your second control point.

...

  1. In the Georeferencing toolbar, click the Add Control Points button.
  2. Hold down the Spacebar to temporarily override snapping, so that you can accurately click on the southwest corner of Fondren Library in the aerial layer, without being forced to snap to the vector layers.

 

2

...

 

  1. Release the Spacebar to reactivate snapping and, with a line linking to the first point you clicked on, click on the southwest corner Fondren Library on the buildings layer.

...

  1. In the Georeferencing toolbar, click the Add Control Points button.

 

  1. Hold down the Spacebar and click on the northwest corner of Martel College in the aerial layer.

 

1

...

 

  1. Release the Spacebar and, with a line linking to the first point you clicked on, click on the northwest corner Martel College on the buildings layer.
  2. In the Table of Contents, right-click the streets layer and select Zoom to Layer to return to the full extent of the image.

...

  1. On the Georeferencing Toolbar, click the View Link Table button.

 

...

This table lists all the control points you have added. The residual, in the final column of the table, is a measure of how distorted the image has become. A lower residual indicates that the georeferenced image has less distortion from the original image. It not necessary to obtain a residual of zero, as this is difficult unless both layers are from the same source or were already in the same coordinate system.

...

  1. On the Standard toolbar, click the Save button.
  2. Close ArcMap.
  3. On the desktop, double-click the ImageryTutorialData folder.

...

Before beginning this tutorial, there was only one aerial file: aerial.jpg. During the tutorial, you generated the three additional files. The JGWX file contains the spatial referencing information that you just created. Because this new file has been created, the image will now line up spatially whenever you add it into a new data frame. In other words, you only need to georeference a layer once.

...