ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Split Mosaic Dataset Items

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

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

SplitMosaicDatasetItems_management (in_mosaic_dataset, {where_clause})
ParameterExplanationData Type
in_mosaic_dataset

The mosaic dataset containing the items to split.

Image Service; Mosaic Layer; String
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

NameExplanationData Type
out_mosaic_dataset

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.

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics

  • An overview of the Raster toolset
  • Environment settings for raster data
  • Merge Rasters function

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal