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.
- If
you have not already done so, copy the \Program Files\AutoCAD Map 3D 2009\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 may be C:\Documents and Settings\Administrator\My Documents\Map 3D Tutorials.
- 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.
- Under Data Connections By Provider, select Add Raster Image Or Surface Connection.
- Click the folder button next to Source File Or Folder.
- 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.
- Click Connect to add the folder as a data source.
- Under Add
Data To Map, select the 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.
If your folder contains multiple images, select the ones you want.
- 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 dialog box.
- Select Combine Into One Layer, so you can style the raster images as a single item in Display Manager.
- Enter a name for the layer, for example, ReddingRasterImages.
- Click Add To Map.
- Close the Data Connect dialog box.
- 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.