Remove Depth Map (Reality Mapping)

Available with Advanced license.

Available for an ArcGIS organization with the ArcGIS Reality license.

Summary

Removes the depth map from a mosaic dataset. Other than the depth map removal, the tool will not update the mosaic dataset.

Depth maps are created by running the Compute Depth Map tool.

Usage

  • The input mosaic dataset is an adjusted mosaic dataset that has been augmented using the Compute Depth Map tool.

    Note:

    A depth map file (.dm) is created for each input image item comprising the adjusted mosaic dataset. The depth map file is created in the same directory as the source imagery files comprising the original adjusted mosaic dataset.

  • Specify the .dm file to remove using an SQL query.

Parameters

LabelExplanationData Type
Input Mosaic Dataset

The mosaic dataset that will have the depth map removed.

Mosaic Dataset; Mosaic Layer
Query Definition
(Optional)

An SQL expression that will be used to select items in the mosaic dataset depth map to be removed. If not specified, all depth map content in the source raster’s folder will be removed.

SQL Expression

Derived Output

LabelExplanationData Type
Output Mosaic Dataset

The updated adjusted mosaic dataset. The depth map content associated with source rasters will be deleted.

Mosaic Dataset; Mosaic Layer

arcpy.rm.RemoveDepthMap(in_mosaic_dataset, {where_clause})
NameExplanationData Type
in_mosaic_dataset

The mosaic dataset that will have the depth map removed.

Mosaic Dataset; Mosaic Layer
where_clause
(Optional)

An SQL expression that will be used to select items in the mosaic dataset depth map to be removed. If not specified, all depth map content in the source raster’s folder will be removed.

SQL Expression

Derived Output

NameExplanationData Type
out_mosaic_dataset

The updated adjusted mosaic dataset. The depth map content associated with source rasters will be deleted.

Mosaic Dataset; Mosaic Layer

Code sample

RemoveDepthMap example 1 (stand-alone script)

This example removes the depth map content from the mosaic dataset.

# Tool in Reality Mapping toolbox 

# Import system modules 

import arcpy

# Execute 

arcpy.rm.RemoveDepthMap(in_mosaic_dataset= r"C:\CDM.gdb\YVWD", where_clause="OBJECTID >2")
RemoveDepthMap example 2 (Python window)

This example removes the depth map content from the mosaic dataset.

# Tool in Reality Mapping toolbox 

# Import system modules 

import arcpy 

# Define input parameters. All depth map content will be removed if not specified in where_clause. 

in_mosaic_dataset= r"C:\CDM_RM.gdb\YVWD" 

# Execute 

arcpy.rm.RemoveDepthMap(in_mosaic_dataset)

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Requires ArcGIS Reality for ArcGIS Pro
  • Advanced: Yes

Related topics