Skip to main content

栅格比较 (数据管理工具)

汇总

比较两个栅格数据集或镶嵌数据集的属性。

用法

  • 此工具可返回显示比较结果的信息。

  • 参数和属性容差允许比较结果存在指定量的偏差。

  • 在 Python 中使用此工具时,通过返回的 Result 对象(使用索引位置 1)获取比较状态。(result[1])。 此工具未检测到差异时将显示 'true' 值,检测到差异时将显示 'false' 值。

    了解有关在 Python 中使用工具的详细信息

参数

标注 说明 数据类型

输入基础栅格

将与输入测试栅格参数值进行比较的栅格或镶嵌数据集。 此参数值是您已声明为有效的数据。 此基础数据包含正确的内容和信息。

Raster Layer; Mosaic Layer

输入测试栅格

将与输入基础栅格参数值进行比较的栅格或镶嵌数据集。 此参数值是因编辑或编译新信息而进行更改的数据。

Raster Layer; Mosaic Layer

比较类型

(可选)

指定将比较的栅格类型。

  • 栅格数据集将比较两个栅格数据集。

  • 地理数据库栅格数据集将比较地理数据库中的两个栅格数据集。

  • 镶嵌数据集将比较两个镶嵌数据集。

String

忽略选项

(可选)

指定将在比较中被忽略的属性。

  • 波段计数将忽略波段数。

  • 范围将忽略范围。

  • 列和行将忽略列和行数。

  • 像素类型将忽略像素类型。

  • NoData将忽略 NoData 值。

  • 空间参考将忽略空间参考系统。

  • 像素值将忽略像素值。

  • 色彩映射表将忽略色彩映射表。

  • 栅格属性表将忽略属性表。

  • 统计数据将忽略统计数据。

  • 元数据将忽略元数据。

  • 存在金字塔将忽略已有的金字塔。

  • 压缩类型将忽略压缩类型。

  • 数据源类型将忽略数据源类型。

String

继续比较

(可选)

指定在找到输入之间的第一个差异后,是否继续比较。

  • 选中该工具将在找到第一个差异后继续运行。

  • 未选中该工具将在找到第一个差异后停止。 这是默认设置。

Boolean

输出比较文件

(可选)

该输出文件将包含输入之间的所有异同点。 该文件是一个以逗号分隔的文本文件,在 ArcGIS 中可以表的形式对其进行查看和使用。

该输出文件将包含输入之间的所有异同点。 该文件是一个以逗号分隔的文本文件,在 ArcGIS 中可以表的形式对其进行查看和使用。

File

参数容差

(可选)

落在此容差范围内的值视作相同。 可以对所有参数使用相同的容差,也可以向各个参数应用不同的容差。

容差类型可以为值,也可以为分数。

如果容差类型是分数,则每个像素的容差将不同,因为每个像素具有不同的值。 例如,如果容差分数设置为 0.5,则容差计算如下:

  • 如果像素值为 0.2,则容差将为 0.1,因为 0.5 * 0.2 = 0.1。

  • 如果像素值为 3,则容差将为 1.5,因为 0.5 * 3 = 1.5。

值表列:

  • ParameterThere are seven types of parameter tolerances you can adjust.

    • AllThe extents, pixel values, minimums, maximums, means, and standard deviations will be compared to determine if they are equal within the specified tolerance.

    • ExtentIf the difference of the extents is within the tolerance, they will be considered equal.

    • Pixel valuesIf the difference of the pixel values is within the tolerance, they will be considered equal.

    • MinimumIf the difference of the minimum values is within the tolerance, they will be considered equal.

    • MaximumIf the difference of the maximum values is within the tolerance, they will be considered equal.

    • MeanIf the difference of the mean values is within the tolerance, they will be considered equal.

    • Standard deviationIf the difference of the standard deviations is within the tolerance, they will be considered equal.

  • ToleranceSet the tolerance type to a specified value or use that value as a fraction.

  • TypeSet the type of tolerance value for the selected parameter.

    • FractionThe tolerance value will be a fraction of the value specified.

    • ValueThe tolerance value will be the value specified.

Value Table

属性容差

(可选)

在该数值范围内的属性值将被视作相同。 此参数仅适用于数值字段类型。

值表列:

  • FieldThe numeric field that the tolerance will be applied to.

  • ToleranceThe numeric value that determines the range in which attribute values are considered equal. This only applies to numeric field types.

Value Table

忽略字段

(可选)

在比较过程中将被忽略的一个或多个字段。 这些字段的字段定义和表格值将被忽略。

String

输出比较栅格

(可选)

输出栅格包含输入基础栅格输入测试栅格参数值之间的差异。

Raster Dataset

派生输出

标注 说明 数据类型

比较状态

未找到差异时,比较状态将为 'true',找到差异时,比较状态将为 'false'

Boolean

环境

当前工作空间, 临时工作空间

许可信息

  • 基本: 是
  • 标准: 是
  • 高级: 是