Export Mosaic Dataset Geometry (Data Management)


Creates a feature class showing the footprints, boundary, seamlines or spatial resolutions of a mosaic dataset.


  • When you set Geometry Type to Cell size level, you are exporting the union of items that have the same resolution level. This is useful to quickly see the coverage of your imagery for each cell size level.


ExportMosaicDatasetGeometry(in_mosaic_dataset, out_feature_class, {where_clause}, {geometry_type})
ParameterExplanationData Type

The mosaic dataset that you want to export the geometry from.

Mosaic Layer

Name the feature class you are creating.

Feature Class

An SQL expression to export specific rasters in the mosaic dataset.

SQL Expression

The type of geometry to export.

  • FOOTPRINT Create a feature class showing the footprints of each image.
  • BOUNDARY Create a feature class showing the boundary of the mosaic dataset.
  • SEAMLINE Create a feature class showing the seamlines.
  • LEVEL Create a feature class based on cell size level of features in your mosaic dataset.

Code sample

ExportMosaicDatasetGeometry example 1 (Python window)

This is a Python sample for ExportMosaicDatasetGeometry.

import arcpy
ExportMosaicDatasetGeometry example 2 (stand-alone script)

This is a Python script sample for ExportMosaicDatasetGeometry.

#Export Mosaic Dataset Geometry

import arcpy

arcpy.env.workspace = "c:/workspace"

#Export footprint from a single record in a mosaic dataset
mdname = "exportmd_footprints.gdb/md"
out_FC = "C:/workspace/LANDSAT_footprints"
where_clause = "OBJECTID = 1"
geometry_type = "FOOTPRINT"

     mdname, out_FC, where_clause, geometry_type)

Licensing information

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