Summary
Splits mosaic dataset items that were merged together using Merge Mosaic Dataset Items.
Usage
If the selection or query does not contain any merged items, the tool will return an error message.
When the tool is run, it removes the merged items from the mosaic dataset table then adds all the originally merged items as new rows.
Syntax
arcpy.management.SplitMosaicDatasetItems(in_mosaic_dataset, {where_clause})
Parameter | Explanation | Data Type |
in_mosaic_dataset | The mosaic dataset containing the items to split. | Mosaic Layer |
where_clause (Optional) | An SQL expression to select items to split. If the query does not contain any previously merged items, the tool will return an error. | SQL Expression |
Derived Output
Name | Explanation | Data Type |
out_mosaic_dataset | The updated mosaic dataset. | Mosaic Layer |
Code sample
SplitMosaicDatasetItems example 1 (Python window)
This is a Python sample for the SplitMosaicDatasetItems tool.
import arcpy
arcpy.SplitMosaicDatasetItems_management("c:/data/merge_md_items.gdb/md")
SplitMosaicDatasetItems example 2 (stand-alone script)
This is a Python script sample for the SplitMosaicDatasetItems tool.
#Split mosaic dataset items
import arcpy
arcpy.SplitMosaicDatasetItems_management("c:/data/merge_md_items.gdb/md")
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes