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.

NoteThis exercise uses the BuildMap1.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 \Program Files\AutoCAD Map 3D 2010\Help\Map 3D Tutorials folder to My Documents.
    NoteThe location of My Documents varies, depending on your operating system. For Microsoft Windows XP, it is usually C:\MyDocuments. For Microsoft Vista, it might be C:\Documents and Settings\Administrator\My Documents\Map 3D Tutorials.
  2. In the BuildMap1.dwg file, the Data Connect window should still be displayed. If it is not, open Display Manager. Click Data Connect 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 in My Documents 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 j-05, j-07, l-05, and l-07 items.

    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.
    • Under Coordinate Systems In Category, click CA-I.
    • Click OK in both dialog boxes, 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 and click Zoom To Extents.

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