Exercise 5: Add a raster image

Photographs and other images formed of pixels are called raster images, while images formed of lines and arcs are called vector images. Bring in an aerial photograph to display behind the objects in your map. Real-world elements in the raster image line up with the geometry in your map and make it easier for the viewer to get a visual orientation.

Note: This exercise uses the build_map1.dwg map you created and modified in the previous exercises.

To add a raster image

  1. If you have not already done so, copy the tutorial sample files to your local drive.
  2. In the build_map1.dwg file, the Data Connect window should still be displayed. If it is not, in Display Manager , click DataConnect To Data.
  3. Under Data Connections By Provider, select Add Raster Image Or Surface Connection.
  4. Click the folder button next to Source File Or Folder.
  5. Navigate to the folder where you copied the sample files. Find the folder containing the JPEG 2000 raster files (originally called JP2K), and select it. Click OK.
  6. Click Connect to add the folder as a data source.
  7. Under Add Data To Map, select the top check box (JP2) to select all the images in the folder.

    The folder contains multiple JPEG 2000 files, each of which covers a small area of the city of Redding. Since there are multiple items and you might not want all of them, they are not selected automatically.

    If your folder contains multiple images, select the ones you want.

  8. Set the coordinate systems for the images.
    • Click Edit Coordinate Systems.
    • In the Global Coordinate System dialog box, click in the blank field in the row labeled “Default” and click Edit.
    • For Category, select USA, California.
    • In the search box, enter CA-I.
    • Select the CA-I coordinate system and click Select.
    • Click OK in the Edit Spatial Contexts dialog box to return to the Data Connect window.

      All the images now show CA-I as their coordinate systems.

  9. Select Combine Into One Layer, so you can style the raster images as a single item in Display Manager.
  10. Enter a name for the layer, for example, ReddingRasterImages.
  11. Click Add To Map.

To see the results

  1. Close the Data Connect window.
  2. Right-click the new raster layer in Display Manager and click Zoom To Extents.

To continue this tutorial, go to Exercise 6: Display the raster image behind other features.