Exercise 3: Creating and using a mosaic dataset with an altering viewpoint
This topic applies to ArcEditor and ArcInfo only.
To create a mosaic dataset that can take advantage of the Viewpoint mosaicking method, you need to have multiple raster datasets that overlap a particular area of interest, taken at multiple points of view. In this case, there are eight overlapping raster datasets in the area of interest.
This exercise does not rely on any previous exercises.
Start ArcMap
- Start ArcMap by clicking Start > All Programs > ArcGIS > ArcMap 10.
-
Click Cancel on the ArcMap - Getting Started window.
This window may not open if you've previously opted not to show it.
Note:You will be setting the default map document's geodatabase later in this exercise.
Create a file geodatabase
If you have already created the ImageGDB in another exercise, you can skip this section of steps.
-
Click the Catalog window button on the Standard toolbar.
This opens the Catalog window.
-
In the Location text box, type C:\arcgis\ArcTutor\Raster and press ENTER.
This location is added to the Catalog tree under the Folders Connection heading.
If your tutorial data was installed in a different location, alter the path according to your installation location.
- Right-click the Raster folder and click New > Folder.
- Name the folder Exercises.
- Right-click the Exercises folder and click New > File Geodatabase.
- Rename the new file geodatabase ImageGDB.
Set the default geodatabase
Each map document has a default geodatabase, which is the home location for the spatial content of your map. This location is used for adding datasets and saving resulting datasets created by various editing and geoprocessing operations.
- Right-click the ImageGDB geodatabase in the Catalog window and click Make Default Geodatabase.
Create a new mosaic dataset
-
Right-click the ImageGDB in the Catalog window, point to New, then click Mosaic Dataset.
This opens the Create Mosaic Dataset tool.
- Type Viewpoint for the Mosaic Dataset Name.
- Click the Coordinate System browse button .
- Click Select.
- Double-click the Projected Coordinate Systems folder, double-click the National Grids folder, then select Germany Zone 4.prj and click OK.
- Click OK to close the Spatial Reference Properties dialog box.
-
Click OK on the Create Mosaic Dataset tool window.
The reporter window opens.
-
Once the process is complete, click Close.
The Viewpoint mosaic dataset is created in the geodatabase and added to the ArcMap table of contents. This is an empty mosaic dataset. You will be adding raster datasets to it in the next steps.
When the mosaic dataset is added to the table of contents, it is added as a group layer. The top level has the name of the mosaic dataset—Viewpoint. There are also empty Boundary, Footprint, and Image layers.
Add rasters to the mosaic dataset
- Click the Catalog tab to expand the window.
- Right-click the Viewpoint mosaic dataset and click Add Rasters.
- The Raster Type should be Raster Dataset.
- Click the drop-down arrow and click Workspace.
- Click the Input browse button.
- Navigate to C:\arcgis\ArcTutor\Raster\Data\Amberg_tif and click Add.
- Check Update Overviews.
- Click OK to run the tool.
-
Once the process is complete, click Close.
The raster datasets are added to the mosaic dataset. The footprints are created for each raster dataset, and the boundary is generated for the entire mosaic dataset. The overviews are then generated for the entire mosaic dataset.
- You may need to click the Full Extent button to view the mosaic dataset.
Set the mosaic methods
- Right-click the Viewpoint mosaic dataset and click Properties.
- Click the Defaults tab.
-
Click the Allowed Mosaic Methods ellipse button .
This opens the Configure Allow List dialog box.
- Uncheck Seamline.
- Verify that Closest To Viewpoint is checked.
This is the mosaic method that will be used to view the multiple viewpoints in your mosaic dataset.
- Click the Default Method drop-down arrow and click Closest To Viewpoint.
By setting this as the default, the user of the mosaic dataset does not have to change the properties so they can use the Closest To Viewpoint mosaic method.
- Click OK to close the Configure Allow List.
- Click OK to close the Mosaic Dataset Properties dialog box.
Set the mosaic method in the Image
The default mosaic method change is not reflected in the Image. You can either remove the mosaic dataset from the map document and re-add it, or you can modify the properties of the Image layer. In the steps below, you will edit the Image layer properties.
- Expand the Viewpoint layer in the table of contents.
- Right-click Image and click Properties.
- Click the Mosaic tab.
- Click the Mosaic Method drop-down arrow and click Closest To Viewpoint.
- Click OK to close the Layer Properties dialog box.
Add the Viewpoint tool
- Click Customize on the main menu and click Customize Mode.
- Click the Commands tab.
- Scroll through the Categories list and click Image Server.
- Drag the Viewpoint button and drop it onto a toolbar.
- Click Close on the Customize dialog box.
Explore the different view points
- Click the Viewpoint button you added.
This opens the dockable Viewpoint window. You can move this window around your display to an appropriate location.
- Zoom in to an area in the mosaicked image that appears to have lots of overlapping raster datasets. You will need to zoom in to a scale of approximately 1:1100.
- Click one of the arrow buttons on the Viewpoint window and click Apply.
- Continue clicking the arrow buttons and Apply to see the different viewpoints.
You may want to pan around the image to test this functionality in different areas using different overlapping images.
You have now learned how to create a mosaic dataset to use the Closest To Viewpoint mosaic method and how to modify the properties of a mosaic dataset to use the Closest To Viewpoint mosaic method. You have also learned how to access the Viewpoint window.