Export Mosaic Dataset Geometry (Data Management)

License Level:BasicStandardAdvanced

Summary

Exports feature classes for the footprint, boundary, seamline, or resolution levels of a mosaic dataset.

Usage

Syntax

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

The input mosaic dataset.

Mosaic Dataset; Mosaic Layer
out_feature_class

The output feature class.

Feature Class
where_clause
(Optional)

Define an SQL query if you want to export a subset. For more information on SQL syntax see the help topic SQL reference for query expressions used in ArcGIS.

If no query is specified, all mosaic dataset item geometry will be exported.

SQL Expression
geometry_type
(Optional)

Choose which type of geometry to export. The default is FOOTPRINT.

  • FOOTPRINTExport the geometry of footprints.
  • BOUNDARYExport the geometry of boundary.
  • SEAMLINEExport the geometry of seamlines.
  • LEVELExport the geometry of the resolution levels. Each resolution level is the union of the footprints that are of the same pixel resolution.
String

Code Sample

ExportMosaicDatasetGeometry example 1 (Python window)

This is a Python sample for ExportMosaicDatasetGeometry.

import arcpy
arcpy.ExportMosaicDatasetGeometry_management(
     "c:/workspace/exportmd.gdb/md",
     "c:/workspace/exportmd.gdb/footprint_export",
     "OBJECTID = 1", "FOOTPRINT")
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"

arcpy.ExportMosaicDatasetGeometry_management(
     mdname, out_FC, where_clause, geometry_type)

Environments

This tool does not use any geoprocessing environments

Licensing Information

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