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

Import Mosaic Dataset Geometry

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

Summary

Modifies the geometry for the footprints, boundary, or seamlines in a mosaic dataset to match those in a feature class.

Illustration

Image clipped to footprint

Usage

  • This tool matches the feature in the mosaic dataset with the feature in the feature class based on a common attribute field.

  • The footprint is not always used to clip the image in the mosaic dataset. You can change the Always Clip The Image To Its Footprint property to Yes in the Mosaic Dataset Properties dialog box on the Defaults tab.

  • This tool will not recalculate the extent of the mosaic dataset. To recalculate the extent, you will need to recalculate the feature extent within the Mosaic Dataset Properties window.

Syntax

ImportMosaicDatasetGeometry_management (in_mosaic_dataset, target_featureclass_type, target_join_field, input_featureclass, input_join_field)
ParameterExplanationData Type
in_mosaic_dataset

The mosaic dataset whose geometries you want to edit

Mosaic Layer
target_featureclass_type

The geometry that you want to change.

  • FOOTPRINT —The footprint polygons in the mosaic dataset.
  • SEAMLINE —The seamline polygons in the mosaic dataset.
  • BOUNDARY —The boundary polygon in the mosaic dataset.
String
target_join_field

The field in the mosaic dataset to use as a basis for the join.

Field
input_featureclass

The feature class with the new geometry.

Feature Layer; Raster Catalog Layer
input_join_field

The field in the input feature class to use as a basis for the join.

Field

Code sample

ImportMosaicDatasetGeometry example 1 (Python window)

This is a Python sample for ImportMosaicDatasetGeometry.

import arcpy
arcpy.ImportMosaicDatasetGeometry_management("c:/workspace/fgdb.gdb/md",
                                                   "FOOTPRINT", "OBJECTID",
                                                   "infootprint.shp", "FTID")
ImportMosaicDatasetGeometry example 2 (stand-alone script)

This is a Python script sample for ImportMosaicDatasetGeometry.

##===========================
##Import Mosaic Dataset Geometry
##Usage: ImportMosaicDatasetGeometry_management in_mosaic_dataset FOOTPRINT | SEAMLINE
##                                       | BOUNDARY target_join_field 
##                                       input_featureclass input_join_field 

import arcpy
arcpy.env.workspace = "c:/PrjWorkspace/RasGP"

# Import shape file geometry as Mosaic Dataset Footprints
# Note: Feature class FID starts with 0
arcpy.ImportMosaicDatasetGeometry_management("Geometry.gdb/md",
                                            "FOOTPRINT", "OBJECTID",
                                            "infootprint.shp", "FTID")                                      

# Import GDB feature class as Mosaic Dataset Boundary
arcpy.ImportMosaicDatasetGeometry_management("Geometry.gdb/md", "BOUNDARY",
                                      "OBJECTID", "Geometry.gdb/inboundary",
                                      "OBJECTID")

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

Related topics

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

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