Exercise 1: Creating a mosaic dataset

This topic applies to ArcGIS for Desktop Standard and ArcGIS for Desktop Advanced only.

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

In this exercise, you will create 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

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

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

    NoteNote:

    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.

Steps:
  1. Click the Catalog button Catalog 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

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

Create a new mosaic dataset

Steps:
  1. Right-click ImageGDB in the Catalog window and click New > 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. Expand Projected Coordinate Systems > National Grids > Germany, choose Germany Zone 4.prj, then click OK.
  5. Click OK on the Create Mosaic Dataset tool dialog box.

    The progress bar displays the status of the running tool.

    Once the process is complete, a pop-up message will appear.

    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

Steps:
  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.

    While the tool is running the mosaic dataset cannot be edited; therefore, lock symbols appear over its layers in the table of contents.

    Locked layer example

    The progress bar displays the status of the running tool.

  8. Once the process is complete, a pop-up message will appear.

    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.
    Mosaic dataset result

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 and how they might interact with it. They can also impact the performance of the server or image service if the mosaic dataset is published.

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

Steps:
  1. Right-click the mosaic dataset in the table of contents and click Remove.

    When editing the properties of a mosaic dataset that is open in the application, not all property changes are updated. You need to remove it and add it back in.

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

    This opens the Mosaic Dataset Properties dialog box.

  3. Click the Defaults tab.
  4. Click the Allowed Compression Methods ellipsis button Ellipsis.
  5. Click the Default Method arrow and click JPEG.
  6. Click OK.
  7. Click the Allowed Mosaic Methods ellipsis button Ellipsis.
  8. 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.

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

Adding metadata

Steps:
  1. In the Catalog window, right-click the Amberg mosaic dataset and click Item Description.
  2. Click the Edit button at the top of the window.
  3. In the Title text box, type Amberg.
  4. In the Tags text box, type orthophotos, Germany, city.
  5. In the Summary text box, type Imagery in Amberg, Germany.
  6. In the Description text box, type A mosaic dataset containing several orthophoto TIFF images of Amberg, Germany.
  7. Click the Save button at the top of the window.
  8. Close the Item Description - Amberg window.

    You have completed creating the mosaic dataset and defining metadata.

Explore the mosaic dataset as a user

Explore the mosaicked image

Steps:
  1. Drag and drop the Amberg mosaic dataset from the Catalog window into the display.
  2. Use the tools on the Tools toolbar to pan and zoom around the mosaicked image.
  3. 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.

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

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

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

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

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

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

Explore the items in the mosaic dataset

Steps:
  1. Click the Select Features By Rectangle button Select Features.
  2. Click the middle of the left side of the mosaicked image.

    You will see a number of footprints selected.

    Selected footprints

  3. In the table of contents, right-click Footprint > Open Attribute Table.
  4. Click Show Selected Records Show Selected Records.
  5. Scroll across the table to the Category field.

    You will see Primary and Overview within the field. The rows with Primary values are the orthophotos you added. The rows with Overview values are the overviews that were generated for the mosaic dataset when you add the orthophotos to the mosaic dataset. The overviews allow you to view the mosaicked image at all scales.

  6. In the table of contents, right-click Footprint > Selection > Reselect Only Primary Rasters.

    You should only see the primary rasters selected in the table.

  7. Close the Table window.
  8. Right-click Footprint > Selection > Add Selected Rasters to Map.
  9. In the Group layer name text box, type Primary.

    Add Selected Rasters to Map dialog box

  10. Click OK.

    The selected items in the mosaic dataset are added to the table of contents as individual layers within the Primary group layer.

    Added layers

  11. Uncheck the Amberg layer, check on the newly added layers, and explore these layers.
  12. Right-click one of the layers contained within the Primary group and click Properties.

    You can see from the tabs that this is still a mosaic dataset layer.

  13. Click the Mosaic tab.

    You can see the Mosaic Method has been changed to Lock Raster and there is a Lock Raster ID number. If you open the properties for the other layer, you will see the Lock Raster ID number is different.

    This is just one example demonstrating how the mosaic dataset can be used as a way to provide a single mosaicked image, while also providing access to the individual items within.

  14. Close ArcMap.

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

Related Topics

9/10/2014