Generate Block Adjustment Report (Data Management)

Summary

Generates a report after performing ortho mapping block adjustment to a mosaic dataset. The report is critical in evaluating the quality and accuracy of the ortho mapping products.

Usage

  • If the optional control points table is included, the output report will contain the accuracy assessment of the control points, as well as the accuracy assessment of the block adjustment.

Syntax

arcpy.management.GenerateBlockAdjustmentReport(input_mosaic_dataset, input_solution_table, input_solution_point, output_report, {input_control_point_for_adjustment}, {report_format})
ParameterExplanationData Type
input_mosaic_dataset

The input mosaic dataset path.

Mosaic Dataset; Mosaic Layer
input_solution_table

The associated solution point table after block adjustment.

Table View
input_solution_point

The solution point feature class.

Table View
output_report

The output ortho mapping report file path and name. The supported output format for a website is HTML.

File
input_control_point_for_adjustment
(Optional)

The associated control points table, which may include tie points and ground control points.

Table View
report_format
(Optional)

The output format of the block adjustment report.

  • HTMLAdjustment report is created as an HTML file. This is the default.
  • PDFAdjustment report is created as a PDF file.
String

Code sample

GenerateBlockAdjustmentReport example 1 (Python window)

This is a Python sample for the GenerateBlockAdjustmentReport tool.

import arcpy
mdname = "c:/omproject/adjustedcollection.gdb/droneimgs"
solutiontbl = "c:/omproject/adjustedcollection.gdb/droneimgs_solutiontbl"
solutionpnt = "c:/omproject/adjustedcollection.gdb/droneimgs_solutionpnt"
arcpy.GenerateBlockAdjustmentReport_management(
        mdname, solutiontbl, solutionpnt, "c:/omproject/adjustmentreport.html")
GenerateBlockAdjustmentReport example 2 (stand-alone script)

This is a stand-alone script sample for the GenerateBlockAdjustmentReport tool.

import arcpy
mdname = "c:/omproject/adjustedcollection.gdb/droneimgs"
solutiontbl = "c:/omproject/adjustedcollection.gdb/droneimgs_solutiontbl"
solutionpnt = "c:/omproject/adjustedcollection.gdb/droneimgs_solutionpnt"
controlpnt = "c:/omproject/adjustedcollection.gdb/droneimgs_tiepoints"
arcpy.GenerateBlockAdjustmentReport_management(
        mdname, solutiontbl, solutionpnt, "c:/omproject/adjustmentreport.pdf",
controlpnt, report_format="PDF")

Environments

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics