Skip to main content

计算几何属性 (数据管理工具)

汇总

向要素的属性字段(表示各要素的空间或几何特性以及位置)添加信息,例如长度或面积以及 x、y、z 坐标和 m 值。

用法

注意:

此工具会修改输入数据。 有关详细信息以及避免意外更改数据的策略,请参阅修改或更新输入数据的工具

  • 长度和面积将以输入要素坐标系的单位进行计算,除非在长度单位面积单位参数中选择了不同的单位。 如果已指定了坐标系参数,则长度和面积将以该坐标系的单位进行计算,除非在长度单位面积单位参数中指定了不同的单位。

    了解有关地理处理工具中长度和面积单位的详细信息

  • 当输入要素具有地理坐标系或基于 Web 墨卡托的投影坐标系时,不支持长度和面积计算。 这些坐标系中的长度和面积计算不准确或无效。 选择测地线长度或测地线面积属性以获得最佳效果。

  • 测地线长度和面积属性将使用保形算法。 此类算法将生成十分精确的结果,这些结果不会因假设输入线或面要素是使用折点之间的测地线弧构造的(这是关于传统测地线长度和面积的假设)而产生偏差。

  • 如果输入要素具有选择内容,则仅所选要素具有计算值;其他所有要素将保留其现有值。

参数

标注 说明 数据类型

输入要素

将使用几何计算进行更新的带有字段的要素。

Feature Layer

几何属性

将在其中计算指定几何属性的字段。

您可以选择现有字段或提供新字段名称。 如果提供了新字段名称,则字段类型将根据写入该字段的值类型确定。 计数属性将写入长整型字段;面积、长度、x、y、z 坐标以及 m 值属性将写入双精度字段;度分秒或 MGRS 等坐标记法将写入文本字段。

除非另有说明,否则面积和长度属性是使用 2D 笛卡尔算法的平面测量值。

值表列:

  • Field (Existing or New)Field in which to calculate a geometry property.

  • PropertyGeometry property to calculate into the target field.

    • AreaAn attribute will be added to store the area of each polygon feature.

    • Area (geodesic)An attribute will be added to store the shape-preserving geodesic area of each polygon feature.

    • Centroid x-coordinateAn attribute will be added to store the centroid x-coordinate of each feature.

    • Centroid y-coordinateAn attribute will be added to store the centroid y-coordinate of each feature.

    • Centroid z-coordinateAn attribute will be added to store the centroid z-coordinate of each feature.

    • Centroid m-valueAn attribute will be added to store the centroid m-value of each feature.

    • Central point x-coordinateAn attribute will be added to store the x-coordinate of a central point inside or on each feature. This point is the same as the centroid if the centroid is inside the feature; otherwise, it is an inner label point.

    • Central point y-coordinateAn attribute will be added to store the y-coordinate of a central point inside or on each feature. This point is the same as the centroid if the centroid is inside the feature; otherwise, it is an inner label point.

    • Central point z-coordinateAn attribute will be added to store the z-coordinate of a central point inside or on each feature. This point is the same as the centroid if the centroid is inside the feature; otherwise, it is an inner label point.

    • Central point m-valueAn attribute will be added to store the m-value of a central point inside or on each feature. This point is the same as the centroid if the centroid is inside the feature; otherwise, it is an inner label point.

    • Number of curvesAn attribute will be added to store the number of curves in each feature. Curves include elliptical arcs, circular arcs, and Bezier curves.

    • Number of holesAn attribute will be added to store the number of interior holes within each polygon feature.

    • Minimum x-coordinateAn attribute will be added to store the minimum x-coordinate of each feature's extent.

    • Minimum y-coordinateAn attribute will be added to store the minimum y-coordinate of each feature's extent.

    • Minimum z-coordinateAn attribute will be added to store the minimum z-coordinate of each feature's extent.

    • Maximum x-coordinateAn attribute will be added to store the maximum x-coordinate of each feature's extent.

    • Maximum y-coordinateAn attribute will be added to store the maximum y-coordinate of each feature's extent.

    • Maximum z-coordinateAn attribute will be added to store the maximum z-coordinate of each feature's extent.

    • LengthAn attribute will be added to store the length of each line feature.

    • Length (geodesic)An attribute will be added to store the shape-preserving geodesic length of each line feature.

    • Length (3D)An attribute will be added to store the 3D length of each line feature.

    • Line bearingAn attribute will be added to store the start-to-end bearing of each line feature. Values range from 0 to 360, with 0 meaning north, 90 east, 180 south, 270 west, and so on.

    • Line start x-coordinateAn attribute will be added to store the x-coordinate of the start point of each line feature.

    • Line start y-coordinateAn attribute will be added to store the y-coordinate of the start point of each line feature.

    • Line start z-coordinateAn attribute will be added to store the z-coordinate of the start point of each line feature.

    • Line start m-valueAn attribute will be added to store the m-value of the start point of each line feature.

    • Line end x-coordinateAn attribute will be added to store the x-coordinate of the end point of each line feature.

    • Line end y-coordinateAn attribute will be added to store the y-coordinate of the end point of each line feature.

    • Line end z-coordinateAn attribute will be added to store the z-coordinate of the end point of each line feature.

    • Line end m-valueAn attribute will be added to store the m-value of the end point of each line feature.

    • Number of partsAn attribute will be added to store the number of parts composing each feature.

    • Number of verticesAn attribute will be added to store the number of points or vertices composing each feature.

    • Perimeter lengthAn attribute will be added to store the length of the perimeter or border of each polygon feature.

    • Perimeter length (geodesic)An attribute will be added to store the shape-preserving geodesic length of the perimeter or border of each polygon feature.

    • Point x-coordinateAn attribute will be added to store the x-coordinate of each point feature.

    • Point y-coordinateAn attribute will be added to store the y-coordinate of each point feature.

    • Point z-coordinateAn attribute will be added to store the z-coordinate of each point feature.

    • Point m-valueAn attribute will be added to store the m-value of each point feature.

    • Point x- and y-coordinate notationAn attribute will be added to store the x- and y-coordinate of each point feature formatted as a specified coordinate notation.

Value Table

长度单位

(可选)

指定将用于计算长度的单位。

  • 千米长度单位将为千米。

  • 长度单位将为米。

  • 法定英里长度单位将为法定英里。

  • 国际海里长度单位将为国际海里。

  • 国际码长度单位将为国际码。

  • 国际英尺长度单位将为国际英尺。

  • 美国测量英里长度单位将为美国测量英里。

  • 美国测量海里长度单位将为美国测量海里。

  • 美国测量码长度单位将为美国测量码。

  • 美国测量英尺长度单位将为美国测量英尺。

String

面积单位

(可选)

指定将用于计算面积的单位。

  • 平方千米面积单位将为平方千米。

  • 公顷面积单位将为公顷。

  • 平方米面积单位将为平方米。

  • 法定平方英里面积单位将为法定平方英里。

  • 国际平方海里面积单位将为国际平方海里。

  • 国际英亩面积单位将为国际英亩。

  • 国际平方码面积单位将为国际平方码。

  • 国际平方英尺面积单位将为国际平方英尺。

  • 美国测量平方英里面积单位将为美国测量平方英里。

  • 美国测量平方海里面积单位将为美国测量平方海里。

  • 美国测量英亩面积单位将为美国测量英亩。

  • 美国测量平方码面积单位将为美国测量平方码。

  • 美国测量平方英尺面积单位将为美国测量平方英尺。

String

坐标系

(可选)

将在计算坐标、长度和面积时使用的坐标系。 默认使用输入要素的坐标系。

Coordinate System

坐标格式

(可选)

指定在计算 x 和 y 坐标时使用的坐标格式。 默认情况下,将使用与输入要素的空间参考单位匹配的坐标格式。

需要在文本字段中计算几种坐标格式,包括度分秒、度十进制分等。

  • 与输入相同将在坐标格式化中使用输入要素的空间参考单位。 这是默认设置。

  • 十进制度坐标格式将为十进制度。

  • 度分秒 (DDD° MM' SSS.ss" <N|S|E|W>)坐标格式将为结尾带有主方向分量的度分秒 (DDD° MM' SSS.ss" &lt;N|S|E|W>)。

  • 度分秒 (<N|S|E|W> DDD° MM' SSS.ss")坐标格式将为开头带有主方向分量的度分秒 (&lt;N|S|E|W> DDD° MM' SSS.ss")。

  • 度分秒 (<+|-> DDD° MM' SSS.ss")坐标格式将为开头带有正或负方向分量的度分秒 (&lt;+|-> DDD° MM' SSS.ss")。

  • 度分秒 (<+|-> DDD.MMSSSss)坐标格式将为开头带有正或负方向分量的打包为单个值的度分秒 (&lt;+|-> DDD.MMSSSss)。

  • 度十进制分 (DDD° MM.mmm' <N|S|E|W>)坐标格式将为结尾带有主方向分量的十进制度分 (DDD° MM.mmm' <N|S|E|W>)。

  • 度十进制分 (<N|S|E|W> DDD° MM.mmm')坐标格式将为开头带有主方向分量的十进制度分 (<N|S|E|W> DDD° MM.mmm')。

  • 度十进制分 (<+|-> DDD° MM.mmm')坐标格式将为开头带有正或负方向分量的十进制度分 (<+|-> DDD° MM.mmm')。

  • GARS(全球区域参考系统)坐标格式将为全球区域参考系统。 全球区域参考系统以纬度和经度为基础,将世界分为并细分为像元。

  • GEOREF(世界地理参考系)坐标格式将为世界地理参考系。 世界地理参考系统是基于纬度和经度的地理系统,但使用更简单和更灵活的符号。

  • MGRS(军事格网参考系)坐标格式将为军事格网参考系。

  • USNG(美国国家格网)坐标格式将为美国国家格网。

  • UTM(通用横轴墨卡托投影)坐标格式将为通用横轴墨卡托投影坐标系。

  • UTM(无空格)坐标格式将为通用横轴墨卡托投影坐标系(不含空格)。

String

派生输出

标注 说明 数据类型

更新的要素

更新后的输入要素。

Feature Layer

环境

输出坐标系, 地理变换, 当前工作空间

许可信息

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