ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Export Mosaic Dataset Geometry

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

Summary

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

Usage

  • When you set Geometry Type to 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.

Syntax

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

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

Mosaic Layer
out_feature_class

Name the feature class you are creating.

Feature Class
where_clause
(Optional)

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

SQL Expression
geometry_type
(Optional)

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.
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

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal