Summary
Applies the geographic adjustments to the mosaic dataset items. This tool uses the solution file from the Compute Block Adjustments tool.
This tool can also reset the geographic adjustments back to the original location.
Usage
This tool can be used to apply adjustments from a 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}, {DEM}, {zoffset}, {control_point_table}, {adjust_footprints})
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 pan-sharpened rasters, specify the scaling factor between the pan-sharpened resolution and the multispectral resolution. | Double |
DEM (Optional) | A DEM to use within the application of the block adjustment. This DEM will only be used if it is a higher resolution than any DEM that may already exist within the mosaic dataset. If this input DEM is used, the geometric function of the mosaic dataset will be updated using this input. | Raster Dataset; Raster Layer; Mosaic Dataset; Mosaic Layer |
zoffset (Optional) | The vertical offset used to adjust the elevation layer within the mosaic dataset's Geometric function. | Double |
control_point_table (Optional) | The input control point table will have the same adjustments applied as the solution table adjustments. | Table View |
adjust_footprints (Optional) | Choose whether to update the footprint geometry using the same transformation that was applied to the image.
| Boolean |
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