Split Mosaic Dataset Items (Data Management)

License Level:BasicStandardAdvanced

Summary

Splits mosaic dataset items that were merged together using Merge Mosaic Dataset Items. Selections and queries can be used to choose the mosaic dataset items to split apart.

Usage

Syntax

SplitMosaicDatasetItems_management (in_mosaic_dataset, {where_clause})
ParameterExplanationData Type
in_mosaic_dataset

Input mosaic dataset.

Image Service; Mosaic Layer; String
where_clause
(Optional)

You can use SQL to define which mosaic dataset items will be split.

If the query does not contain any previously merged items, the tool will return an error.

SQL Expression

Code Sample

SplitMosaicDatasetItems example 1 (Python window)

This is a Python sample for the SplitMosaicDatasetItems tool.

import arcpy
arcpy.MergeMosaicDatasetItems_management("c:/data/merge_md_items.gdb/md",
                                         "", "Year", "2000")
SplitMosaicDatasetItems example 2 (stand-alone Python script)

This is a Python script sample for the SplitMosaicDatasetItems tool.

#Merge items with items that are newer than year 1999

import arcpy
    
arcpy.MergeMosaicDatasetItems_management(
    "c:/data/merge_md_items.gdb/md", "Year>1999", "", "1000")

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
5/7/2015