Summary
Applies the geographic adjustments to the mosaic dataset items. This tool uses the solution file from the Compute Adjustments tool.
This tool can also reset the geographic adjustments back to the original location.
Usage
This tool can be used to apply the adjustments from the solution file or reset the geographic alignment back to its original state.
Syntax
ApplyBlockAdjustment_management (in_mosaic_dataset, adjustment_operation, {input_solution_table}, {pan_to_ms_scaling_factor})
Parameter | Explanation | Data Type |
in_mosaic_dataset | The input mosaic dataset to adjust. | Mosaic Dataset ; Mosaic Layer |
adjustment_operation | Choose whether you want to adjust the mosaic dataset using the solution table, or if you want to reset the mosaic dataset so there are no adjustments applied.
| String |
input_solution_table (Optional) | Specify a solution table to use when adjusting your mosaic dataset; this is the output from the Compute Block Adjustments tool. | Table View |
pan_to_ms_scaling_factor (Optional) | If your mosaic dataset contains pansharpened rasters, specify the scaling factor between the pansharpened resolution and the multispectral resolution. | Double |
Code sample
ApplyBlockAdjustment example 1 (Python window)
This is a Python sample for the ApplyBlockAdjustment tool.
import arcpy
arcpy.ApplyBlockAdjustment_management(
"c:/BD/BD.gdb/redQB", "ADJUST",
"c:/BD/BD.gdb/redQB_sol", 0.25)
ApplyBlockAdjustment example 2 (stand-alone script)
This is a Python script sample for the ApplyBlockAdjustment tool.
#apply block adjustment
import arcpy
arcpy.env.workspace = "c:/workspace"
#Apply the block ajustment
mdName = "BD.gdb/redlandsQB"
out_solutionTable = "BD.gdb/redlandsQB_solution"
arcpy.ApplyBlockAdjustment_management(mdName, "ADJUST",
out_solutionTable, 0.25)
Environments
Licensing information
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes