Exercise 1: Creating a mosaic dataset

This topic applies to ArcEditor and ArcInfo only.

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup Data Path: C:\arcgis\ArcTutor\Raster\Data Goal: Create a basic mosaic dataset.

In this exercise, you will be creating a mosaic dataset containing GeoTIFF raster dataset files using the geoprocessing framework in ArcMap.

This exercise does not rely on any previous exercises.

Before you begin, it is assumed that you have installed the tutorial at C:\arcgis\ArcTutor\Raster\Data. If not, make the appropriate path changes throughout this tutorial so it works properly for you.

Start ArcMap

  1. Start ArcMap by clicking Start > All Programs > ArcGIS > ArcMap 10.
  2. Click Cancel on the ArcMap - Getting Started window.

    This window may not open if you've previously opted not to show it.


    You will be setting the default map document's geodatabase later in this exercise.

Create a file geodatabase

If you have already created ImageGDB in another exercise, you can skip this section of steps.

  1. Click the Catalog window button Catalog Window on the Standard toolbar.

    This opens the Catalog window.

  2. 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.

  3. Right-click the Raster folder and click New > Folder.
  4. Name the folder Exercises.
  5. Right-click the Exercises folder and click New > File Geodatabase.
  6. 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.

Learn about the default geodatabase

  1. Right-click the ImageGDB geodatabase in the Catalog window and click Make Default Geodatabase.

Create a new mosaic dataset

  1. Right-click ImageGDB in the Catalog window, point to New, then click Mosaic Dataset.

    This opens the Create Mosaic Dataset tool dialog box.

  2. Type Amberg in the Mosaic Dataset Name text box.
  3. Click the Coordinate System browse button Spatial Reference Properties.
  4. Click Select.
  5. Double-click the Projected Coordinate Systems folder, double-click the National Grids folder, double-click the Germany folder, choose Germany Zone 4.prj, then click Add.
  6. Click OK to close the Spatial Reference Properties dialog box.
  7. Click OK on the Create Mosaic Dataset tool dialog box.

    The reporter window opens.

  8. Once the process is complete, click Close.

    The Amberg 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 mosaic layer, which is essentially a special group layer. The top level has the name of the mosaic dataset--Amberg. There are also empty Boundary, Footprint, and Image layers.

Empty mosaic dataset layer

Add rasters to the mosaic dataset

  1. Right-click the Amberg mosaic dataset in the Catalog window and click Add Rasters.

    This opens the Add Rasters To Mosaic Dataset tool.

  2. In the Raster Type list, choose Raster Dataset.
  3. Click the drop-down arrow and click Workspace.
  4. Click the Input browse button.
  5. Navigate to C:\arcgis\ArcTutor\Raster\Data\Amberg_tif and click Add.
  6. Check Update Overviews.
  7. Click OK to run the tool.
  8. 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.

  9. You may need to click the Full Extent button Full Extent to view the mosaic dataset.

Modify the default properties

There are properties that can be set on the mosaic dataset. These properties affect how the mosaicked image will be presented to the user (or client) and how they might interact with it. They can also impact the performance of the server or image service if the mosaic dataset is served.

In these next steps, you will change the compression method for the mosaic dataset and set the allowable mosaic methods. The compression method can affect the transmission speed. It is recommended that you set a compression method to transmit the mosaicked image more quickly than without compression. If you serve the mosaic dataset as an image service, clients can modify this setting to decompress the mosaicked image if they prefer. The mosaic method defines the order in which the rasters are mosaicked together to create the image. You can choose one or more allowable mosaic methods and which one will be the default. The user is able to choose from the methods you select.

  1. Right-click the Amberg mosaic dataset in the Catalog window and click Properties.

    This opens the Mosaic Dataset Properties dialog box.

  2. Click the Defaults tab.
  3. Click the Allowed Compression Methods ellipsis button Ellipsis.
  4. Click the Default Method arrow and click JPEG.
  5. Click OK.
  6. Click the Allowed Mosaic Methods ellipsis button Ellipsis.
  7. Uncheck Closest To Viewpoint and Seamline.

    You are turning off Closest To Viewpoint because this mosaic dataset will not be used in that way. You are turning off Seamline because you are not creating any, so this method cannot be applied.

  8. Click OK.
  9. Click OK to close the Mosaic Dataset Properties dialog box.

Adding metadata

  1. Right-click the Amberg mosaic dataset and click Item Description.
  2. Click the Edit button at the top of the window.
  3. In the Summary text box, type Imagery in Amberg, Germany.
  4. In the Description text box, type A mosaic dataset containing several orthophoto TIFF images of Amberg, Germany.
  5. Click the Save button at the top of the window.
  6. Close the Item Description - Amberg window.

    You have completed creating the mosaic dataset and defining metadata.

Explore the mosaic dataset as a user

  1. Use the tools on the Tools toolbar to pan and zoom around the mosaicked image.
  2. Right-click the Image layer in the table of contents and click Properties.

    The Layer Properties dialog box for the mosaicked image is opened. This is similar to the dialog box for any other raster layer.

  3. Click the Status tab.

    Here you can explore the properties of the mosaicked image, such as the number of rows and columns and the transmitted size.

  4. Note the value for Transmitted Size.
  5. Click the Display tab.

    You can modify the compression method from JPEG, which you set earlier, to something else or change the quality value.

  6. Click the Transmission Compression arrow and click None.
  7. Click Apply.
  8. Click the Status tab.

    The transmitted size has increased, which means a larger mosaicked image is being displayed.

  9. Click the Mosaic tab.
  10. Click the Mosaic Method arrow and click North-West.
  11. Click OK to close the Layer Properties dialog box.
  12. Pan and zoom around your image. Notice that the images are ordering themselves differently due to the changed mosaic method.
  13. Close ArcMap.

The mosaic dataset has been created and is ready to publish as an image service using ArcGIS Server. You can also use the mosaic dataset as a layer within ArcMap or ArcGlobe.

Related Topics