Mosaic Dataset To Mobile Mosaic Dataset (Data Management)


Converts a mosaic dataset into a mobile mosaic dataset compatible with ArcGIS Runtime SDK. A mobile mosaic dataset resides in a mobile geodatabase.


  • When converting to a mobile mosaic dataset, you have the option to apply raster functions that are associated with the mosaic dataset by checking Convert Rasters (convert_rasters='ALWAYS' in Python). Leaving Convert Rasters unchecked will only convert the source data.

Syntax, out_mobile_gdb, mosaic_dataset_name, {where_clause}, {selection_feature}, {out_data_folder}, {convert_rasters}, {out_name_prefix}, {format}, {compression_method}, {compression_quality})
ParameterExplanationData Type

The mosaic dataset to be converted to a mobile mosaic dataset.

Mosaic Dataset; Mosaic Layer

The geodatabase where the converted mosaic dataset will be created.


The name of the mobile mosaic dataset to be created.


An SQL expression to select specific items to add to the mobile mosaic dataset.

SQL Expression

The mosaic dataset items to be included in the output based on the extent of another image or feature class. Items that lay along the defined extent will be included in the mosaic dataset. They will not be clipped.

  • MAXOF—The maximum extent of all inputs will be used.
  • MINOF—The minimum area common to all inputs will be used.
  • DISPLAY—The extent is equal to the visible display.
  • Layer name—The extent of the specified layer will be used.
  • Extent object—The extent of the specified object will be used.
  • Space delimited string of coordinates—The extent of the specified string will be used. Coordinates are expressed in the order of x-min, y-min, x-max, y-max.

If specified, the tool will create a copy of the source data in this folder. If convert_rasters='ALWAYS', any raster functions associated with the mosaic dataset are processed before creating the copy.


Applies the raster functions associated with the input mosaic dataset before creating the mobile mosaic dataset. If you have raster functions that are not supported by ArcGIS Runtime SDK, the tool will return the appropriate error message.

  • AS_REQUIREDDo not convert raster items with functions that are not supported by ArcGIS Runtime SDK. This is the default.
  • ALWAYSApply the raster function chain and save the output as converted raster items.

Appends a prefix to each item, which is copied or converted into the output data folder.


The format for the rasters written to the output data folder.

  • TIFFTIFF format
  • PNGPNG format
  • JPEGJPEG format
  • JP2JPEG2000 format

The method of compression for transmitting the mosaicked image from the computer to the display (or from the server to the client).

  • NONENo compression will be used.
  • JPEGCompresses up to 8:1 and is suitable for backdrops.
  • LZWCompresses approximately 2:1. Suitable for analysis.
  • RLELossless compression. Suitable for categorical datasets.

A value from 0 to 100. A higher number means better image quality but less compression. This value only applies when JPEG or JP2 is specified as the compression method.


Derived Output

NameExplanationData Type

The updated mosaic dataset.

Mosaic Dataset

Code sample

MosaicDatasetToMobileMosaicDataset example (Python window)

This is a Python sample for the MosaicDatasetToMobileMosaicDataset tool.

import arcpy

	“somemd”, “ProductName == ‘Landsat8’”, 
	“ALWAYS”, “TIFF”, “JPEG”, “75”)


Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes